Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 04:18:45 +0000



Post From: Color bar based on alert

[2018-10-15 18:52:58]
User750920 - Posts: 274
I am new to Sierra Chart but I wanted to do something with the Color Bar on Alert Condition Study and user @sstfrederik helped me out a lot. Based on their help I think I was able to do what you want. So here is the what I did. Add the Study Color Bar based On Alert Condition. You will have to add 2 instances for the study (one for the Close Top 25% and one for Close Bottom 25%.

After you add the study you can in the Settings and Input Change the Short Name so you can recognize which color bar is which. In the Subgraphs Tab set the Draw Style to Color bar and set the color to what you want.
In the Alerts Tab for the Close in the Top 25% write this. =C>=((H-L)*.75+L)
In the Alerts Tab for the Close in the Bottom 25% write this =C<=(H-(H-L)*.75)

It seemed to work for me. Hope it helps and I got it correct.