Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 09:42:24 +0000



[Programming Help] - How to use Color Bar Based On Alert Condition with Study Subgraph Is Above Or Below 0?

View Count: 576

[2020-02-19 08:29:48]
User509345 - Posts: 44
I want to create a condition with Color Bar Based On Alert Condition.
I use up/down volume different bars,I want to created formula IDx[-1].SGx<0, but it's wrong.
Study/Chart Alerts And Scanning
10.Color Bar Formula To Color Bars Based On Whether Study Subgraph Is Above Or Below 0: These formulas need to be used on the Color Bar Based on Alert Condition study. You need two instances of this study. This formula assumes that the study we are referencing has an ID of 1 and we are referring to the first Subgraph of that study. Simple Alert Condition Formulas: =ID1.SG1 > 0, =ID1.SG1 < 0.
Thank you.
[2020-02-21 12:28:59]
Ackin - Posts: 1865
See the attached picture
imagecolorbar AB.png / V - Attached On 2020-02-21 12:28:50 UTC - Size: 152.26 KB - 193 views
[2020-02-22 13:07:59]
User509345 - Posts: 44
Thanks, I know ID.SGx<0, but ID[-1].SGx<0, it's wrong.
I have highlighted ID.SGx>0 and ID.SGx<0 combine vwap.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account