Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 08:56:50 +0000



Post From: AUTO TRADE USING ALERT CONDITIION

[2024-03-28 14:40:06]
John - SC Support - Posts: 36238
The best way to do this would be to use the "Color Bar Based on Alert Condition" study. You would enter your formula for the Alert and then set the following for the Inputs:
- Output when Condition True: Use Input Data
- Input Data: High
- Draw Extension Lines at Color Bar Value

Then in the Subgraph tab set the "Draw Style" for the "Color Bar" subgraph to be "Ignore".

This will give you the line you want at the high starting where the condition was true and then stopping when there is an intersection.

You would have to repeat the above with another copy of the "Color Bar Based on Alert Condition" study for the Low.

Refer to the following:
Color Bar Based on Alert Condition

Chart Studies: Ignore (ACSIL: DRAWSTYLE_IGNORE)
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing