Moving Average - page 37

kawase
8
kawase  

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?

Thank you:-)

Forexcashman
26
Forexcashman  
kawase:
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?

Thank you:-)

Here ya go.

kawase
8
kawase  

Thank you ! Forexcashman.

It's perfect!

Sergey Golubev
Moderator
113445
Sergey Golubev  
kawase:
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?

Thank you:-)

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.

JOERODEO
53
JOERODEO  

Thanks

Tq. I appreciate this forum much.

fxbs
3203
fxbs  

ma_ribbon, Mladen

https://www.mql5.com/en/forum/178821

amazing...

neat isn't it? all code is:

for(i=limit; i>=0; i--)

{

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;

}

else

{

buffer3 = buffer1;

buffer4 = buffer2;

}

}

return(0);[/PHP]

and MA_ribbon_filled code:

[PHP] for(i=limit; i>=0; i--)

{

buffer1 = iMA(NULL,0,MA1Period,0,MA1Method,MA1Price,i);

buffer2 = iMA(NULL,0,MA2Period,0,MA2Method,MA2Price,i);

buffer3 = buffer1;

buffer4 = buffer2;

}

return(0);

that's all

fxbs
3203
fxbs  

parabolic MA, bands ParMA BB - MQL4 Code Base

Files:
Eric Venturi-Bloxs
1064
Eric Venturi-Bloxs  

Always amazing stuff. You're a genius of imagination.

Thanks.

FerruFx

fxbs
3203
fxbs  

separation between MAs in Points

fxbs
3203
fxbs  

MA_AngleZeroSigMAm.mq4 - uses ratio instead of m-factor for JPY