SlopeTest0. The only strategy that seems to work. In this strategy I draw the up arrow if slope is > 0, the down arrow is drawn when slope < 0. This works, as price movement changes from down trending to up trending the arrows change accordingly.
SlopeTest1 This does not work. In this strategy the up arrow is to draw when slope is > .1. The down arrow should draw when slope is < -.1. Unfortunately the arrow never changes from the down arrow regardles of the direction of the slope indicated by the line I'm drawing.
SlopeTest2 Does not work and produces the same result as SlopeTest1. This strategy differs from SlopeTest1 in that I created a separate set of conditions to draw a white diamond if the slope is >= -.1 and also <= .1.
My understanding of slope is that +1 would equal a +45 degree angle, -1 would equal a -45 degree angle. Therefore a fraction of 1, say .5 should equal 22.5 degrees, .1 approxamitely equal to 4.5 degrees. Same for negative slope only negative numbers. Is this not true? As my line goes from downward sloping to upward sloping why do my decimal thresholds of .1 or -.1 not reflect this cahnge?
Thanks
Comment