Gary: It would be nice if you could add an arc tangent function to QP2, so we could find the degrees of angles for changes in price over time. Price change divided by the number of days would give the tangent, but with an arc tangent function we could convert this to degrees. Metastock has the atan function: atan(data array, data array). The data arrays would be the opposite and adjacent sides of the triangle -- for example, the change in price and the number of days.
It's easy enough to create formulas that convert radians into degrees, but not so easy with sin, cos and tan. Maybe C++ sin, cos and tan functions could be incorporated into QP2.
I wonder, too, whether peak and trough functions could eventually be added to QP2. Those functions are based on the Zig Zag indicator -- and that, too, would make a nice addition.
All these things relate to trendlines -- their angles, and the points they're drawn on.
Anyway, that's my wish list for trigometric functions and trendlines.
Brooke |