The Batch creation is easy to use, but I have one problem! I want to run a backtest on my trades and it has to be done using number of bars as the Range and the number of bars is a variable and change all the time.
Currently I am using OLE and the old Automatic Analysis and in OLE I can set the Range using these two lines:
if ( RangeMode == 1 ) AA.RangeN = Nz( StaticVarGet( "~BacktestPeriods" ) );
But now I want to switch to the new Analysis and the only problem I have is how to set the variable bar Range? Any option for that?