Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 23:58:31 +0000



Post From: Error with Sim Lock & Orders being executed

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