Login Page - Create Account

Support Board


Date/Time: Sun, 22 Nov 2026 19:08:35 +0000



Post From: Only partial position exit on Buy/Sell Exit Signal from Spreadsheet for Trading

[2026-10-24 18:35:02]
User512353 - Posts: 198
I need to come back to this again.
I thought that the problem was solved when setting
v2:J70=1, v2:J71=<blank>

Documentation says:

Exit Order Quantity (write-only) [v1:J83, v2:J71]
[...]
If the cell is empty or 0 during a Buy Exit or Sell Exit, then the quantity is determined by the automated trading logic and the end result is that the Trade Position for the Symbol and Trade Account the automated trading system is for will be flattened.


This does not always work:
In the attached screenshot you can see a case where 6 short positions were active (this was a simulation run at speed=2, calculate at every tick/trade).
One position exited via a child stop order (the first exit at the red candle before the candle with the absolute low).
The Sell Exit trigger was set on the 4th candle after the candle with the absolute low, as seen by the small red right arrow at the low of that candle.
The exit execution was then on the next candle, but only for 1 position.
The rest of the positions was exited via child stop orders or reversal.

Do I still have a wrong setup?
Or is this a bug in SC, that not all positions are flattened?
Date Time Of Last Edit: 2026-10-24 18:47:16
imageScreenshot From 2026-10-24 18-16-25.png / V - Attached On 2026-10-24 18:22:27 UTC - Size: 12.71 KB - 31 views