Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 21:39:03 +0000



[User Discussion] - Daily Price Change Alert

View Count: 766

[2016-09-13 15:25:41]
georgereyna - Posts: 2
I've been ripping my hair out trying to figure out a formula to indicate a daily price change alert. I want to create color backgrounds for when the Daily Price Change / DChg changes by let's say 50 points. How would I create this alert? I would assume that a formula that reads: C>C[-1] is getting warm but I need for my alert to read changes of larger than 50 points. Thanks!

- BTW I wasn't able to do it with using the Daily OHLC study either (referencing one day back), I still run into the same issues.
Date Time Of Last Edit: 2016-09-13 15:33:18
[2016-09-13 15:46:38]
Sawtooth - Posts: 3992
When comparing the current price to yesterday's close, =C>C[-1] would only work on a Daily chart.

To reference the Daily OHLC study, the formula would look like this:
=C>ID1.SG4
where ID1 is the Daily OHLC study, and Reference Days Back is 1.

To get an alert when the difference is >50 points:
=ID1.SG4-C>50

To get an alert when the difference is >50 ticks:
=ID1.SG4-C>TICKSIZE*50
Date Time Of Last Edit: 2016-09-13 16:09:12
[2016-09-13 16:02:28]
georgereyna - Posts: 2
that's exactly what i was looking for, thank you so much- it worked :)

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

Login

Login Page - Create Account