account.getUseOfLeverage(); seems to return much higher values onTick in LIVE or DEMO running than in the Historical Tester - using the same code, same 24hrs of Ticks, same starting Balance/Equity, same account settings, etc.
But if the submitOrder timing is different due to Indicator value differences then that might explain the UOL% differences, maybe.
I guess I'm going to have to write Log of all data used to make every decision, then compare all the 3 different environments' data.
There is obviously something going on I don't understand ....