Login Page - Create Account

Support Board


Date/Time: Fri, 18 Apr 2025 06:33:01 +0000



Automatic position size detection for stops

View Count: 70

[2025-03-27 17:57:06]
User224223 - Posts: 3
Hi all,

Tried looking for answers to this but can't seem to find any.

I use preset templates for attached orders (particularly stops) and send them after I build my position using "send attached orders by position". The templates need you to define the stop quantities in advance. My sizing varies and so I end up having to modify the quantities after sending the order. Is there a way to have SC use the current open position size for the attached orders?

Hope I explained that clearly.

Thanks.
[2025-03-27 18:15:16]
John - SC Support - Posts: 39353
There is not a built-in way to do this. You would have to create a custom study to do what you want. Refer to the following:
Automated Trading From an Advanced Custom Study

https://www.sierrachart.com/index.php?page=doc/SierraChartStudyAndSystemProgrammers.php
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account