Aiuto per la codifica - pagina 692

 
Pava:
oh... therumbledone!
Vuoi dire "Il rinominatore" :)
 
bilbao:

signor mladen:

quando eseguo due volte questo indicatore per h1 e m15 per mostrare la candela su m5 mostra solo lo sfondo per h1

potresti sistemarlo per mostrarli entrambi?

grazie in anticipo

Potresti aggiornarlo:https://www.mql5.com/en/forum/175037/page87

ha tutti i timeframe

grazie

 
bilbao:

potresti aggiornarlo:https://www.mql5.com/en/forum/175037/page87

ha tutti i timeframe

grazie

Qui si va

 
mladen:

Ecco a voi

grazie mille grande uomo
 

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

Sto cercando di impostare un diff nel Med per rallentare le linee;

line228 double diffums = (ma2[i]-ma3[i]); //med-slow
linr229 double diffdms = (ma3[i]-ma2[i]); //slow - med

ma non vogliono calcolare, Aiuto

grazie


Ray

 
traderduke:

mladen

Sto cercando di impostare un diff nel Med per rallentare le linee;

line228 double diffums = (ma2[i]-ma3[i]); //med-slow
linr229 double diffdms = (ma3[i]-ma2[i]); //slow - med

ma non vogliono calcolare, Aiuto

grazie


Ray

Ray

Prova ora

 

signor mladen:

potresti introdurre un indicatore per fare più zoom out sul grafico

su mt4 possiamo solo 5x zoom out

potrebbe introdurre un indicatore per avere più zoom out sul grafico?

grazie in anticipo

 
bilbao:

signor mladen:

potresti introdurre un indicatore per fare più zoom out sul grafico

su mt4 possiamo solo 5x zoom out

potrebbe introdurre un indicatore per avere più zoom out sul grafico?

grazie in anticipo

Non si può fare (non dipende dal codice mql, ma dal terminale metatrader)
 
mladen:
Non si può fare (non dipende dal codice mql, ma dal terminale metatrader)
grazie mille