Calculate distance between two moving averages
-
I need a way or an indicator that could calculate the distance between tmoving averages. For example if the MA 6
Crosses MA50 then how much will the mouth of two moving averages opens in pips. -
You can not create an indicator, < or > tells you if MAs are apart, you can adjust + or - x.xx pips to wait until they are spread enough
-
@Mrezab You can also store the value of both MA on different variables and do the math.
-
Can you put an example of how to to do this? @jstap @l-andorrà Im currently trying to calculate the distance between two moving averages in pips or points
-
@thugwig You can do it this way:

In this example the fast MA is above the slow one. You will need another variable for the other way round and then change the operands' values.