I am trying to use the slope of a moving average in my indicator, but it is not clear to me what the slope method actually returns.
When I print the result of " Math.Atan(Slope(T31, 10, 0)) * 180 / Math.PI ", it shows about 3.4466, which according to the formula it should be decimal degrees, but on the chart it looks like over the last 10 bars, the slope is steeper than 45 deg, so my question is: what is 3.4466, as it can't possibly be decimal degrees?
What I am trying to achieve is determining when the moving average has been rising for a certain number or periods.
Thank you

Comment