Forum

Multi symbol expert advisor change result depending on symbol selected in backtesting setting

Hi everyone, like the title I have this weird problem The onInit function is the following. The symbols are stored in the input variable Symbols separated by ",". I have some array for checking new bar in different timefrimes (such as TimeLastCheckTickProcessed) for each symbol and then I have an

Indicator not synchronized with expert advisor in 1 minute ohlc

Hi, i have the following system: An indicator working on M15 period acting only when a new bar is created, using a system similar to the one below bool isNewBar() { static datetime PeriodLastBarOpenTime; datetime CurrentBarOpenTime = iTime ( Symbol (), Period (), 0 ); if