Multi Timeframe Indicators - page 754

 
registrac:
Could you please add Interpolate option in to this indicator or show me where i have to add code like this.

if (timeFrame <= Period() || y==iBarShift(NULL,timeFrame,Time)) continue;

if (!Interpolate) continue;

datetime time = iTime(NULL,timeFrame,y);

for(int n = 1; i+n = time; n++) continue;

for(int k = 1; k < n; k++)

rsi = rsi + (rsi - rsi)*k/n;

It should be pasted at the same place where you found that part of code originally

 

macd2_v1.mq4 ¿Me puede hacer una nrp de este v1 indicador MACD2? Gracias

Files:
macd2_v1.mq4  6 kb
 
jolugarpe:
macd2_v1.mq4 ¿Me puede hacer una nrp de este v1 indicador MACD2? Gracias

jolugarpe

Do you have a non-decompiled source code?

If yes post that

 

Mr M

can you turn this into MTF

Thanks

Files:
 

Actually i got this code example from Averages or Nonlag mtf , then modified little and have suceeded few times to add interpolation for my indicators.(i am copy and paste codeman).

Tried to add 2 different places put doesnt work

rsi = iCustom(NULL,timeFrame,indicatorFileName,"",RsiPeriod,AMAPeriod,AMAPrice,Nfast,Nslow,PriceFilter,PriceFilterMode,0,y);

slope = iCustom(NULL,timeFrame,indicatorFileName,"",RsiPeriod,AMAPeriod,AMAPrice,Nfast,Nslow,PriceFilter,PriceFilterMode,3,y);

rsida = EMPTY_VALUE;

rsidb = EMPTY_VALUE;

if (timeFrame <= Period() || y==iBarShift(NULL,timeFrame,Time)) continue;

if (!Interpolate) continue;

datetime time = iTime(NULL,timeFrame,y);

for(int n = 1; i+n = time; n++) continue;

for(int k = 1; k < n; k++)

rsi = rsi + (rsi - rsi)*k/n;

if (slope==-1) PlotPoint(i,rsida,rsidb,rsi);

}

return(0);

}

}

rsi = iRSIOnArray(kAMAbuffer,0,RsiPeriod,i);

rsida = EMPTY_VALUE;

rsidb = EMPTY_VALUE;

slope = slope;

if (timeFrame <= Period() || y==iBarShift(NULL,timeFrame,Time)) continue;

if (!Interpolate) continue;

datetime time = iTime(NULL,timeFrame,y);

for(int n = 1; i+n = time; n++) continue;

for(int k = 1; k < n; k++)

rsi = rsi + (rsi - rsi)*k/n;

if (rsi>rsi) slope = 1;

if (rsi<rsi) slope = -1;

if (slope==-1) PlotPoint(i,rsida,rsidb,rsi);

}

return(0);
 
rkhan1:
Mr M

can you turn this into MTF

Thanks

rkhan1

I would avoid that indicator

There are a couple of codding issues that can lead to serious wrong calculation (like this part Nb_Periods*Multiplier in lines 73 and 74)

 

Multi time frame centered TMA - new mql compatible : tma_centered_mtf_nmc.mq4

Files:
 

aquí está el código fuente no descompiled

Files:
macd2_v1.ex4  8 kb
 
jolugarpe:
aquí está el código fuente no descompiled

jolugarpe

No puedo cambiar los archivos ex4. Necesito archivo mt4 original para que puedo cambiarlo (no el decompiled mq4)

 

Guys...this is English speaking forum...we are not in Los Angeles!...

Reason: