When doing a walkforward backtest on historical data, I want to use my strategy to determine the contract sizes to trade.
The contract size should be determined by the cumulative profits during the TEST period of the walkforward optimisation however, the cumulative profit is also being calculated during the OPTIMISATION period of the walkforward simulation.
Is there any way I can calculate contract size during the TEST period of walkforward
optimation only?
I guess I'm looking for a strategy command such as "Performance.RealtimeTrades.Currency" for the TEST period only.
Any suggestions?

Comment