Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 14:59:35 +0000



Post From: Coloring bars if they are between two particular subgraphs

[2020-12-20 16:18:48]
jeden8l - Posts: 48
Hello. Im a beginner trying to create a study alert.

I need to change the color of the bar if price (C) is between two subgraphs.
Color Bar Based On Alert Condition study will be used for further development, the [In:14= 0 or 1] will define the bars that can be used to search for buy or sell signal, but first of all I have to define the alert formula.
Example of the subgraphs canal is below, I have 6 canals, 12 subgraphs on the chart all together.

http://www.sierrachart.com/image.php?Image=1608480637965.png

I'm assuming this can be done in two ways:
1. If (C) is below ID4.SG7 and above ID:5.SG7
2. Change bar color if (C) crosses ID:4.SG7, ID:5.SG7 etc. for all 12 subgraphs.

I just need an alert formula please if anyone may help me.