Hey there,
Unfortunately this is failing to compile with the latest MT5 version.
I'm not sure how to resolve the issues.
Hey there,
Unfortunately this is failing to compile with the latest MT5 version.
I'm not sure how to resolve the issues.
Try this:
//--------------------------------------------------------------------
for(bar=first; bar<rates_total && !IsStopped(); bar++)
{
price=PriceSeries(IPC,bar,open,low,high,close);
fatl=FTL.FATLSeries(0,prev_calculated,rates_total,price,bar,false);
//xfatl=XMA1.XMASeries(min_rates_1,prev_calculated,rates_total,XMA_Method1,XPhase1,XLength1,fatl,bar,false);
xfatl=XMA1.XMASeries(min_rates_1,prev_calculated,rates_total,0,XPhase1,XLength1,fatl,bar,false);
satl=STL.SATLSeries(0,prev_calculated,rates_total,price,bar,false);
//xsatl=XMA2.XMASeries(min_rates_2,prev_calculated,rates_total,XMA_Method2,XPhase2,XLength2,satl,bar,false);
xsatl=XMA2.XMASeries(min_rates_2,prev_calculated,rates_total,0,XPhase2,XLength2,satl,bar,false);
macd=xfatl-xsatl;
//sign=XMA3.XMASeries(min_rates_5,prev_calculated,rates_total,XMA_Method3,XPhase3,XLength3,macd,bar,false);
sign=XMA3.XMASeries(min_rates_5,prev_calculated,rates_total,0,XPhase3,XLength3,macd,bar,false);
IndBuffer[bar]=macd;
UpBuffer[bar]=macd;
DnBuffer[bar]=sign;
}
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
XFatlXSatlMACD:
The MACD histogram, based on the FATL and SATL digital filters with color indication of trends.
Author: Nikolay Kositsin