I have a problem that I'd like some advice:
In my auto strategy I didn't specify the order quantity, I just use
EnterLong();
ExitLong();
EnterShort();
ExitShort();
And on strategy option tab I leave "Set Order Quantity" to "by Strategy". Not very wise, I know. Backtesting always has one order in any position. Live forward testing mostly has one order too, but sometimes it has two or three orders generated randomly I'm yet to see a pattern.
All my orders have the same entry and exit rules. I'd like to know what is the best way to control the order quantity, in strategy coding or strategy option tab? I don't mind manually modify the order quantity when needed.
Thank you for your input.
Comment