Login Page - Create Account

Support Board


Date/Time: Tue, 16 Apr 2024 09:35:27 +0000



Trading study needs position long or short

View Count: 443

[2021-05-11 10:25:13]
User968625 - Posts: 256
Hello,

First, I am trying to use the study "Trading System based on alert condition" but I need to know what to use to determine if my current trade/position is long or short and profitable or not. The study will need to be only activated to add to an existing profitable position when a certain condition is met so I have to find a way to make the study assess that (if I am long or short and profitable or not)

second, quick quetion, can you have multiple of this study on the same chart (long and short)

Thank you
[2021-05-12 13:43:18]
John - SC Support - Posts: 30870
You could use the Trading: Position Quantity study to know if you are long or short by checking if the value is positive or negative. Refer to the following:
Trading Information Windows: Trade Data Studies

You can have multiple versions of the study, but you will need to be careful about how they are setup, as they are going to be making changes to the same symbol. In other words, be very careful with your Alert Condition to ensure that it is not possible for both to activate if you do not want them to. There is no built-in method to do this, you would have to find a way to do it based on how you are setting up your alerts.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-05-12 14:27:50]
User968625 - Posts: 256
Thank you, John, I understand your warning and appreciate your input. I also can see how I can use the Position Q'ty to work

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

Login

Login Page - Create Account