Login Page - Create Account

Support Board


Date/Time: Mon, 13 May 2024 07:38:44 +0000



Post From: AutoTradeManagement question

[2014-12-16 22:38:53]
onnb - Posts: 661
Can I safely set the auto trade management properties outside the set defaults block?

sc.AllowMultipleEntriesInSameDirection = 0;
sc.SupportReversals = 0;
sc.AllowOnlyOneTradePerBar = 1;
sc.SupportAttachedOrdersForTrading = 0;
sc.AllowEntryWithWorkingOrders = 0;
sc.MaintainTradeStatisticsAndTradesData = 1;
sc.SendOrdersToTradeService = !sc.GlobalTradeSimulationIsOn;
sc.CancelAllOrdersOnEntriesAndReversals = 1;
sc.AllowOppositeEntryWithOpposingPositionOrOrders = 1;