Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 19:40:16 +0000



Entry a trade placing the Stop level when clicking the DOM

View Count: 422

[2023-03-29 17:59:30]
User573977 - Posts: 8
Hey guys
I would like to enter a trade by clicking the DOM, but instead of placing the entry level when I click, I would like to place the Stop Loss when clicking the DOM, and let the soft to place the entry and take profit levels from the stop level I gave it.
Is there a way to do this?
Thanks in advance.
[2023-03-29 19:34:46]
John - SC Support - Posts: 36350
You would have to create a custom study to do this. Refer to the information here:
Automated Trading From an Advanced Custom Study
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-04-03 10:59:48]
User573977 - Posts: 8
Thanks for your response John.
I believe that drawing a parallel line to the horizontal one in the crosshair to visualize where the Stop Loss is going to be placed it would help.
Is there a way to add a parallel line to the existing crosshair in order to have a preview of where the SL level is going to be before we place the order, while we move the mouse?
[2023-04-03 11:21:58]
Sierra_Chart Engineering - Posts: 17206
No, this is not supported.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-04-03 12:12:59]
User573977 - Posts: 8
Is it possible to do it via a study?
[2023-04-03 16:39:16]
John - SC Support - Posts: 36350
It could be done by taking the Y position of the mouse and then updating data to draw a horizontal line at the position above/below where that Y position exists. Refer to the following:
ACSIL Interface Members - Variables and Arrays: sc.ActiveToolYValue
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-04-03 20:26:57]
User573977 - Posts: 8
Well, it has a little delay, but it works.
Here you go, the study.
Private File
imageApr-03-2023 17-25-33.gif / V - Attached On 2023-04-03 20:26:40 UTC - Size: 161.22 KB - 111 views
[2023-04-04 16:42:24]
John - SC Support - Posts: 36350
If you do not already have it set, make sure you have the option for sc.UpdateAlways set to True for your study. Refer to the following:
ACSIL Interface Members - Variables and Arrays: sc.UpdateAlways
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