I learned something new with rotational trading. The following is from the documentation under EnableRotationalTrading.
“The rotational trading mode uses “buy price” and “buy delay” from the Settings | Trade page as trade price and delay for both entries and exits (long and short)”
This means that we should NOT have code like the following in the AFL or even in any INCLUDE files used by the AFL. Rather, the Trade prices and delays must be addressed in Settings only.
BuyPrice = SellPrice = ShortPrice = CoverPrice = Open;
SetTradeDelays( 0, 0, 0, 0 );
The lines of code (above) can ONLY be used in non-rotational AFLs.
So, I have learned something yet again.