New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
bollinger band width fn code is written wrong
The distance between two points in 3d space is always positive, hence it can not be calculated without using absolute value, unless you screwed up and wrote the code wrong, which is what they did. In trying to display the bbWidth of the bull bear spread: !AAIIBULL-!AAIIBEAR said chart is formed from bad data. Two questions. Since neither of the givens: !AAIIBULL or !AAIIBEAR are below -100, if I can shift these parameters up, +100 units, then the bbWidth will be properly displayed. Does someone know how to do this, or is there some other kludge that would work? Second question, since Talia at Stockcharts help, who responded to my question by kindly directing me here, made no note of any intent to write a work order to get the code fixed, so it works properly, it would be propitious if someone here knew how to do this, or knew someone to get it done. Absolute value functions in perl or c are not hard to work with, it merely needs to be inserted in the code so that it works properly.