here is the all the amibroker backtest settings. Some settings can not be set using AFL.
// Initialize the trading parameters
//EnableRotationalTrading();
BuyPrice = SellPrice = ShortPrice = CoverPrice = Open;
SetTradeDelays( 1, 1, 1, 1 );
//SetFormulaName( "TEST" );
SetOption(...