Experts: SyncChart
I had slave charts constantly twitching, to the last position or to the required offset.
Fixed it with this:
if(ChartPeriod(id)!=tf){ChartSetSymbolPeriod(id,ChartSymbol(id),tf);}
Fixed it with this:
if(ChartPeriod(id)!=tf){ChartSetSymbolPeriod(id,ChartSymbol(id),tf);}
elibrarius:
I had slave charts constantly jerking to the last position or to the required offset.
Fixed it with this:
if(ChartPeriod(id)!=tf){ChartSetSymbolPeriod(id,ChartSymbol(id),tf);}
line number?
I had slave charts constantly jerking to the last position or to the required offset.
Fixed it with this:
if(ChartPeriod(id)!=tf){ChartSetSymbolPeriod(id,ChartSymbol(id),tf);}
Forum on trading, automated trading systems and testing trading strategies
Questions from beginners MQL5 MT5 MetaTrader 5
fxsaber, 2017.10.19 21:13
// MQL4&5-code
// Synchronisation of all charts by right time
SyncChart:
Author: o_O