Coding help - page 692

 
Pava:
oh...therumbledone!
You mean "The Renaming One" :)
 
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 both

thanks in advance 

could you update it: https://www.mql5.com/en/forum/175037/page87

it have all timeframe 

thanks

 

 
bilbao:

could you update it: https://www.mql5.com/en/forum/175037/page87

it have all timeframe 

thanks

 

Here you go

 
mladen:

Here you go

thanks a lot great man
 

Mladen

I'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;                      }

 

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

 
traderduke:

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 

 
bilbao:

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)
 
mladen:
It can not be done (it does not depend on mql code, but on metatrader terminal)
thanks a lot
Reason: