Login Page - Create Account

Support Board


Date/Time: Wed, 14 May 2025 18:36:44 +0000



Post From: Error with Sim Lock & Orders being executed

[2024-07-22 07:24:51]
User431178 - Posts: 679
The code is running as I can see the messages in the message log.
Ok, so the logic is working correctly, but sc.FlattenPosition does not do anything.

So do you have these settings enabled?
Note that the second one is particular to the chart.

Trade Menu: Auto Trading Enabled - Global (Trade menu)
Trade Menu: Auto Trading Enabled - Chart (Trade menu)