How to get the Angle of Moving Average line
-
I want to put some conditions an the basis of Moving Average line Angle like if Angle is greater than 25 degree then only it will be having a trend and if less then no trade or some other condition.
For this I need to determine the Angle of it. Slope I can get easily by comparing 2-3 consecutive candle MA but I want to know the angle of its slope. how to Do it.
Please some experts help me. JSTEP and ANDORA also please loog into it. Thanks in advance I really Appreciate all the support you give here.
-
Moving averages are not straight lines. That angle should be measured as a derivative tangent on each point. Do you mean that, maybe?
-
@l-andorrà Yes Kind Of.
Example: Comparing the Values for two Candles suppose at Candle ID 2 the MA price = 101, at Candle ID 1 (Last Closed) the MA Price is 98.
Now I want the Angle between 101 price Horizontal line(virtual) and 101 joining with 98 one. As this Joining line will be like a descending trendline and Joining to 101 Horizontal line so I want to know the Angle between these two MA Prices. I hope I am Clear. There is a tool in trading View to Measure the Trend Angle. How I can do it somehow here, Please guide.Thanks Again for replying me