displaying distance between current Price and 20SMA
I am looking for an indicator displaying distance (in Pips) between current Price and 20SMA.
Do not you know it?
If there is not it but it is easy,would you build it?
Here ya go.
Thank you ! Forexcashman.
MADistance is on
- this post: good indicator by Hiachiever writing the distance between MA and price on the chart. The settings are adjustable.
- And same indicator with alert is on this post.
- Latest version with audio and or pop-alert is on this post.
Tq. I appreciate this forum much.
neat isn't it? all code is:
buffer1 = iMA(NULL,0,MA1Period,0,MA1Method,MA1Price,i);
buffer2 = iMA(NULL,0,MA2Period,0,MA2Method,MA2Price,i);
if (buffer3 == buffer1)
buffer3 = buffer2;
buffer4 = buffer1;
buffer3 = buffer1;
buffer4 = buffer2;
and MA_ribbon_filled code:
[PHP] for(i=limit; i>=0; i--)
parabolic MA, bands ParMA BB - MQL4 Code Base
Always amazing stuff. You're a genius of imagination.
separation between MAs in Points
MA_AngleZeroSigMAm.mq4 - uses ratio instead of m-factor for JPY