Support Board
Date/Time: Sun, 30 Nov 2025 21:20:01 +0000
FlattenAndCancelAllOrders does not work in trade simulation mode
View Count: 1200
| [2014-06-21 19:10:53] |
| @sstfrederik - Posts: 410 |
|
FlattenAndCancelAllOrders in ACSIl is not working in TSM. Have an ACSIL script where it is called but not executed and also have a ACS button where it is not executed. In live mode it works fine, but when id want to backtest it fails. Any leads? Thanks. |
| [2014-06-21 20:07:45] |
| |
|
Make sure that sc.SendOrdersToTradeService is set to FALSE. Otherwise, it will get ignored when in Trade Simulation Mode. This is a recent change.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
| [2014-06-22 15:10:12] |
| @sstfrederik - Posts: 410 |
|
thanks. that solved it. if (sc.GlobalTradeSimulationIsOn == 1) { SendOrdersToService.SetYesNo(false); } |
To post a message in this thread, you need to log in with your Sierra Chart account:
