Coding help - page 692 1...685686687688689690691692693694695696697698699...792 New comment Mladen Rakic 2016.10.13 23:10 #6911 Pava: oh...therumbledone! You mean "The Renaming One" :) ALI 2016.10.13 23:32 #6912 bilbao: mr mladen:when i run twice this indicator for h1 and m15 to show candle on m5 it only show background for h1 could you fix it to show boththanks in advance could you update it: https://www.mql5.com/en/forum/175037/page87it have all timeframe thanks Mladen Rakic 2016.10.13 23:42 #6913 bilbao: could you update it: https://www.mql5.com/en/forum/175037/page87it have all timeframe thanks Here you go Files: period_seperator_new nmc.mq4 4 kb ALI 2016.10.13 23:47 #6914 mladen: Here you go thanks a lot great man traderduke 2016.10.14 06:42 #6915 MladenI'm trying to use a point diff between Med ma2 & slow ma3 but the calc isn't working. Any ideas ? ray{ int y = iBarShift(NULL,timeFrame,Time[i]); int x = iBarShift(NULL,timeFrame,Time[i+shift]); ma1[i] = iCustom(NULL,timeFrame,indicatorFileName,"calculateValue",FasterMA,0,FasterMode,FasterPrice,MediumMA,0,MediumMode,MediumPrice,SlowerMA,0,SlowerMode,SlowerPrice,showMAs,alertsOn,alertsOnCurrent,alertsOnFastCrossMiddle,alertsOnFastCrossSlow,alertsOnMiddleCrossSlow,alertsMessage,alertsSound,alertsNotify,alertsEmail,showarrows_ms,showarrows_fs,showarrows_fm,6,y); ma2[i] = iCustom(NULL,timeFrame,indicatorFileName,"calculateValue",FasterMA,0,FasterMode,FasterPrice,MediumMA,0,MediumMode,MediumPrice,SlowerMA,0,SlowerMode,SlowerPrice,showMAs,alertsOn,alertsOnCurrent,alertsOnFastCrossMiddle,alertsOnFastCrossSlow,alertsOnMiddleCrossSlow,alertsMessage,alertsSound,alertsNotify,alertsEmail,showarrows_ms,showarrows_fs,showarrows_fm,7,y); ma3[i] = iCustom(NULL,timeFrame,indicatorFileName,"calculateValue",FasterMA,0,FasterMode,FasterPrice,MediumMA,0,MediumMode,MediumPrice,SlowerMA,0,SlowerMode,SlowerPrice,showMAs,alertsOn,alertsOnCurrent,alertsOnFastCrossMiddle,alertsOnFastCrossSlow,alertsOnMiddleCrossSlow,alertsMessage,alertsSound,alertsNotify,alertsEmail,showarrows_ms,showarrows_fs,showarrows_fm,8,y); CrossfmUp[i] = EMPTY_VALUE; CrossfmDn[i] = EMPTY_VALUE; CrossfsUp[i] = EMPTY_VALUE; CrossfsDn[i] = EMPTY_VALUE; CrossmsUp[i] = EMPTY_VALUE; CrossmsDn[i] = EMPTY_VALUE; trendfm[i] = trendfm[i+1]; trendfs[i] = trendfs[i+1]; trendms[i] = trendms[i+1]; if (x!=y) { double diffums = (ma2[i]-ma3[i]); //med-slow double diffdms = (ma3[i]-ma2[i]); //slow - med if (ma1[i]>ma2[i]) trendfm[i] = 1; if (ma1[i]<ma2[i]) trendfm[i] = -1; if (ma1[i]>ma3[i]) trendfs[i] = 1; if (ma1[i]<ma3[i]) trendfs[i] = -1; if (ma2[i]>ma3[i] && diffums > diff_Levelms) trendms[i] = 1; if (ma2[i]<ma3[i] && diffdms > diff_Levelms) trendms[i] = -1; double range = iATR(NULL,0,15,i); if (alertsOnFastCrossMiddle && trendfm[i]!=trendfm[i+1]) if (trendfm[i] == 1) CrossfmUp[i] = MathMin(ma1[i],ma2[i])-range*arrowsFMGap; else CrossfmDn[i] = MathMax(ma1[i],ma2[i])+range*arrowsFMGap; if (alertsOnFastCrossSlow && trendfs[i]!=trendfs[i+1]) if (trendfs[i] == 1) CrossfsUp[i] = MathMin(ma1[i],ma3[i])-range*arrowsFSGap; else CrossfsDn[i] = MathMax(ma1[i],ma3[i])+range*arrowsFSGap; if (alertsOnMiddleCrossSlow && trendms[i]!=trendms[i+1]) if (trendms[i] == 1) CrossmsUp[i] = MathMin(ma2[i],ma3[i])-range*arrowsMSGap; else CrossmsDn[i] = MathMax(ma2[i],ma3[i])+range*arrowsMSGap; } traderduke 2016.10.14 07:21 #6916 mladenI'm trying to set up a diff in the Med to slow lines; line228 double diffums = (ma2[i]-ma3[i]); //med-slow linr229 double diffdms = (ma3[i]-ma2[i]); //slow - med but they won't calculate, HelpThank youRay Files: RK-3 MA Cross with diff alert mtf 3.03.mq4 18 kb Elite indicators :) [ARCHIVE]Any rookie question, so Moving Average Mladen Rakic 2016.10.14 09:39 #6917 traderduke: mladenI'm trying to set up a diff in the Med to slow lines; line228 double diffums = (ma2[i]-ma3[i]); //med-slow linr229 double diffdms = (ma3[i]-ma2[i]); //slow - med but they won't calculate, HelpThank youRay RayTry it out now Files: RK-3 MA Cross with diff alert mtf 3.03.mq4 18 kb ALI 2016.10.14 10:39 #6918 mr mladen:could you introduce a indicator to do more zoom out on charton mt4 we can only 5x zoom outcould introduce a indicator to having more zoom out on chart?thanks in advance Mladen Rakic 2016.10.14 10:42 #6919 bilbao: mr mladen:could you introduce a indicator to do more zoom out on charton mt4 we can only 5x zoom outcould introduce a indicator to having more zoom out on chart?thanks in advance It can not be done (it does not depend on mql code, but on metatrader terminal) ALI 2016.10.14 11:15 #6920 mladen: It can not be done (it does not depend on mql code, but on metatrader terminal) thanks a lot 1...685686687688689690691692693694695696697698699...792 New comment
oh...therumbledone!
mr mladen:
when i run twice this indicator for h1 and m15 to show candle on m5 it only show background for h1
could you fix it to show both
thanks in advance
could you update it: https://www.mql5.com/en/forum/175037/page87
it have all timeframe
thanks
could you update it: https://www.mql5.com/en/forum/175037/page87
it have all timeframe
thanks
Here you go
Here you go
mladen
I'm trying to set up a diff in the Med to slow lines;
line228 double diffums = (ma2[i]-ma3[i]); //med-slow
linr229 double diffdms = (ma3[i]-ma2[i]); //slow - med
but they won't calculate, Help
Thank you
Ray
mladen
I'm trying to set up a diff in the Med to slow lines;
line228 double diffums = (ma2[i]-ma3[i]); //med-slow
linr229 double diffdms = (ma3[i]-ma2[i]); //slow - med
but they won't calculate, Help
Thank you
Ray
Ray
Try it out now
mr mladen:
could you introduce a indicator to do more zoom out on chart
on mt4 we can only 5x zoom out
could introduce a indicator to having more zoom out on chart?
thanks in advance
mr mladen:
could you introduce a indicator to do more zoom out on chart
on mt4 we can only 5x zoom out
could introduce a indicator to having more zoom out on chart?
thanks in advance
It can not be done (it does not depend on mql code, but on metatrader terminal)