I am currently developing an Expert Advisor that performs arbitration between two symbols: WINV24 and INDV24 (Brazilian Assets). I run my backtests with WINV24 as main symbol and it works fine for receiving tick data. However, when trying to access INDV24 tick data during the backtest, all values of this symbol appear as zero (bid, ask, last, etc.).
Here's what I've checked and tried so far:
Data Availability: I have ensured that historical data for both symbols is available on my platform. I can load and scroll through graphs from WINV24 and INDV24.
Symbol Activation: In my EA, I am using SymbolSelect("INDV24", true) to activate the symbol during initialization.
Tick data access: In the OnTick() function, I try to retrieve the tick data for INDV24 using SymbolInfoTick(), but the values returned are all zeros.
Backtest Settings: I ran the backtest in "Every Tick" and "Real Ticks" modes, but the result is the same – no valid tick data for INDV24.
Does anyone have experience running multi-symbol backtests like this? Could there be something I'm missing in the configuration, or is there a specific way to ensure both symbols provide correct tick data during a backtest?
Any ideas or suggestions would be greatly appreciated. Thanks in advance!
Here's what I've checked and tried so far:
Data Availability: I have ensured that historical data for both symbols is available on my platform. I can load and scroll through graphs from WINV24 and INDV24.
Symbol Activation: In my EA, I am using SymbolSelect("INDV24", true) to activate the symbol during initialization.
Tick data access: In the OnTick() function, I try to retrieve the tick data for INDV24 using SymbolInfoTick(), but the values returned are all zeros.
Backtest Settings: I ran the backtest in "Every Tick" and "Real Ticks" modes, but the result is the same – no valid tick data for INDV24.
Does anyone have experience running multi-symbol backtests like this? Could there be something I'm missing in the configuration, or is there a specific way to ensure both symbols provide correct tick data during a backtest?
Any ideas or suggestions would be greatly appreciated. Thanks in advance!