Login Page - Create Account

Support Board


Date/Time: Sat, 07 Mar 2026 07:16:31 +0000



Add order blocking rules

View Count: 90

[2026-01-18 16:04:16]
User286306 - Posts: 1
Hello,
Before purchasing a subscription, I need to know if I can implement the following programs with Sierra Chart:

- Inability to place any new order if a pending transaction is not profitable.

- Inability to place an order if it is not in the direction of a trend defined by the price position relative to moving averages.

- Inability to place an order if it is not between 0 and 5 ticks after the high of the last closed candlestick.

- Inability to place an order for more than a predefined number of contracts (X).

We tried to implement these programs but were unsuccessful. If it's feasible, I need to be put in touch with a Sierra Chart specialist coder.
As you can read, I am not seeking to automate the taking of positions, which will remain manual; I am seeking to prohibit taking positions if predefined rules are not respected.


Thank you for your help.
[2026-01-19 19:47:25]
John - SC Support - Posts: 44982
You can control all of this.

Given that you want a Manual trade and a lock out if the conditions are not right, you would probably want your program to enable "Trading Locked" when the conditions are not right. Refer to the following:
ACSIL Interface Members - Functions: sc.SetTradingLockState()

A list of potential programmers is at the following link:
https://www.sierrachart.com/index.php?page=doc/SierraChartStudyAndSystemProgrammers.php
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