You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Thank you ! Forexcashman.
It's perfect!
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.
ma_ribbon, Mladen
https://www.mql5.com/en/forum/178821
amazing...
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;
}
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
parabolic MA, bands ParMA BB - MQL4 Code Base
Always amazing stuff. You're a genius of imagination.
Thanks.
FerruFx
Thanks
Tq. I appreciate this forum much.
separation between MAs in Points
MA_AngleZeroSigMAm.mq4 - uses ratio instead of m-factor for JPY
Is Macd
This ma seperation indicator is basicly the macd signal line.
sure,- distance between 2 MAs is macd; (though in pips,main line), but people did it for this very reason - so i post it here as is (bit different perspective)
IND=(iMA(NULL,0,MAPeriod1,0,Mode1,Price1,i)-iMA(NULL,0,MAPeriod2,0,Mode2,Price2,i))*1/Point;