Moving Average - page 37 1...303132333435363738394041424344...156 New comment kawase 2008.08.14 23:33 #361 Thank you ! Forexcashman. It's perfect! Sergey Golubev 2008.08.15 06:35 #362 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. fxbs 2008.08.28 01:42 #363 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 Files: ma_ribbon1.gif 10 kb ma_ribbon.gif 11 kb ma_ribbon.mq4 3 kb ma_ribbon_filled.mq4 3 kb Multi Timeframe Indicators Heikin Ashi (better formula) Signal after candle close fxbs 2008.08.28 01:51 #364 parabolic MA, bands ParMA BB - MQL4 Code Base Files: parma_bb.mq4 7 kb par_ma.gif 14 kb par_ma_lsma_ema_psar.gif 13 kb [Deleted] 2008.08.28 06:21 #365 Always amazing stuff. You're a genius of imagination. Thanks. FerruFx JOERODEO 2008.08.30 08:28 #366 Thanks Tq. I appreciate this forum much. fxbs 2008.09.01 04:48 #367 separation between MAs in Points Files: ma_separation_p.mq4 2 kb ma_3ma_separation_p.mq4 3 kb ma_sep.gif 18 kb fxbs 2008.09.02 03:57 #368 MA_AngleZeroSigMAm.mq4 - uses ratio instead of m-factor for JPY Files: ma_anglezerosigmam.mq4 7 kb ma_angle_zero_m.gif 13 kb newmont 2008.09.02 07:19 #369 Is Macd This ma seperation indicator is basicly the macd signal line. Files: ray_142.gif 15 kb fxbs 2008.09.02 07:48 #370 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; Coding help Metastock to MT4 Metatrader 5 coding questions 1...303132333435363738394041424344...156 New comment
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;