I see some strategies (hedging, arbitrage) that close all trades from many pairs in same time. so how to backtest with many symbols in same time to strategies with many pairs combine?
voidOnTick()
{
string symbol = _Symbol;
if (symbol == "EURUSD")
{
// Execute your strategy for EURUSD// ...
}
elseif (symbol == "GBPUSD")
{
// Execute your strategy for GBPUSD// ...
}
// Add more cases for other currency pairs
}
I see some strategies (hedging, arbitrage) that close all trades from many pairs in same time.
so how to backtest with many symbols in same time to strategies with many pairs combine?
tks so much