Login Page - Create Account

Support Board


Date/Time: Thu, 08 May 2025 05:02:19 +0000



Post From: Automatically Place OCO Buy Stop Sell Stop Order When Price Expansion Tool Level Breached

[2024-11-25 14:02:26]
Rich_B - Posts: 34
Hi

I have drawn several levels on my charts using the Price Expansion tool. Currently, when the price reaches one of these levels, I manually right click on the chart and use the shortcut menu to place a OCO Buy Stop Sell Stop order at both sides of the level approximately 10 pips away each side. I would like to automate this process so I can backtest the strategy over a long time period. Is this possible without going down the ASCIL route? I have done plenty of automation in the past using the 'Trading System Based On Alert Condition' study, but this is usually done by referencing other studies, not lines drawn by a tool. Also, it is usually a simple market order execution, not a Buy Stop Sell Stop bracket around a level.

Any assistance much appreciated.

Thank you