Login Page - Create Account

Support Board


Date/Time: Fri, 14 Mar 2025 22:42:47 +0000



[Programming Help] - ACSIL: Flatten all positions

View Count: 468

[2022-06-30 20:06:26]
ycomp - Posts: 321
How do you flatten all positions using code?

I could loop all positions and check which are open using GetPositionByIndex()

The part I got stuck at is how do you set the current position? All the flatten methods seem to work only on the current position.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account