Login Page - Create Account

Support Board


Date/Time: Wed, 15 Jan 2025 19:45:33 +0000



Color Bar Alert Condition

View Count: 1527

[2017-09-14 15:04:20]
User26753 - Posts: 43
I try to mark the bar when there is a difference of X pips between the Exponential Moving Average ans the price. for example i would like to mark the bars when tehre is a difference between the price and the 32 EMA (for example ID4). How can I programm the color bar alert condition?
[2017-09-14 22:09:05]
Sawtooth - Posts: 4153
Try this formula on the Alerts tab of the Color Bar Based On Alert Condition study:
=ABS(C-ID4.SG1)>TICKSIZE*3

This will color the price bars when the Close price is greater than 3 ticks on either side of the EMA.

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

Login

Login Page - Create Account