Login Page - Create Account

Support Board


Date/Time: Tue, 04 Feb 2025 20:08:14 +0000



Post From: Trading System Based on Alert Condition

[2020-02-03 19:12:43]
User190501 - Posts: 96
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.