How to code slope in a MA

To add comments, please log in or register
alan
6
alan  

I would like to code slope of a moving average. i.e. enter a trade when a moving average is greater that 40 degrees.


Can any one show me how to code this task?



Thanks In Advance,

ajone92

Rashid Umarov
Admin
16957
Rashid Umarov  
How you will measure slop of moving average if scale of chart will be changed? I think it is a bad idea.
okwh
1643
okwh  

most time, you do not need slope, only need a delte for a period of time.

if you need slope, reference to :


'How to get the angle of a moving average?'

To add comments, please log in or register