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).
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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
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
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);
}
}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);Mr M
can you turn this into MTF
Thanksrkhan1
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
aquí está el código fuente no descompiled
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!...