Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 20:09:27 +0000



[User Discussion] - Trading System Based on Alert Condition

View Count: 434

[2020-02-03 19:12:43]
User190501 - Posts: 92
Hi Support.

Kindly send me the few code lines to update the subject study such that:

Entry order can be a stop order or a stop limit order instead of a market order with the ability to set the entry price above/below the high/low of the alert bar.
Add a stop loss for that order at x ticks below the low or above the high of the alert bar.
For example:
Alert is for a buy order.
So user selects the buy stop order
Stop order entry level : X ticks above the high of alert bar.
Stop loss : -X ticks below the low of the alert bar.

If not filled and new alert is true, cancel the past buy stop orders, etc.

I know this would be done by few code lines changes in the NewOrder section, and would appreciate if you can provide these updates...

Thanks a lot in advance for your help.
[2020-02-04 18:07:15]
User190501 - Posts: 92
Kindly inform how to modify the study for such requests.

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

Login

Login Page - Create Account