Login Page - Create Account

Support Board


Date/Time: Mon, 16 Sep 2024 19:17:15 +0000



Post From: Error with Sim Lock & Orders being executed

[2024-07-22 07:24:51]
User431178 - Posts: 503
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)