Version 1.2 2025.01.13
Update v1.2
This is a multi-symbol ea, and the fix I just made concerns how the ea works in the strategy tester, if there was no data for a symbol, but there was data on the symbol the ea was placed on , sometimes the tester would place trades every 5 minute bar for the symbol that had no data.
Lets say a stock like TSLA did'nt trade on a public bank holiday or close of an exchange in the USA, but we had the ea placed on the USDJPY whee that market was open. In the strategy tester it would plce trades every 5 minutes on TSLA, even though the market was closed (no TSLA dat)

This fix makes no difference to live trading - as those TSLA stock CFD trades would be void since market would be closed.

What this means is that we now have lower drawdowns than before, so that is good.
EA backtests are as good as before or better .

I added an extra condition to the onBar or newBar function :

if(gBarTime==iTime(SymbolArray[SymbolLoop], _Period,0))

//that means forex m5 chart bar (ea is placed) must be the same timestamp as stock cfd chart.
Version 1.1 2024.09.02
Update:
- Changed 1 line of code, more efficient code, some people with slow CPUs, were only getting 1 symbol in the back test.
- Should also get faster back test .

Fixed