Need some help using SetBacktestMode( backtestRegularRaw2Multi ).
Please have a look at below sample code :
SetBacktestMode( backtestRegularRaw2Multi );
SetPositionSize( 20, spsShares);
Buy = High>Ref(High,-1) AND Low<Ref(Low,-1);
Sell = Ref(Close, 0);
SetPositionSize( 40, spsShares);
Buy = High>Ref(High,-1) AND Low>Ref(Low,-1);
Sell = Ref(Close, 0);
After Backtesting, I can see the results only for
SetPositionSize( 40, spsShares);
Buy = High>Ref(High,-1) AND Low>Ref(Low,-1);
Sell = Ref(Close, 0);
Can someone pls guide me as to what needs to be done to get results of both the 20 and 40 Setpositionsize codes?
Thanks in Advance