Login Page - Create Account

Support Board


Date/Time: Sat, 15 May 2021 11:07:21 +0000



[User Discussion] - this will be EZPZ for somebody....subgraph line changes 20-30pts than previous bar

[2021-04-07 04:50:29]
CTAYLZ - Posts: 9 | Ending Date: 2021-05-03 [Expired]
I'm trying to do a color bar based on alert condition formula....
cant find any examples to lead me there....
HOW DO I create an alert when a study subgraph line, changes a certain number of points?
lets say the stochastic %k, (for example)...made a sharp 30 point move from 10 to 45 on the next bar?
I dont want, crosses 70 or 30 ...i want an alert when there's a large change vs. the previous bar
I need to reference X number of points within 0 to 100 limits...
appreciate any help...thank you
[2021-04-07 13:54:31]
tomgilb - Posts: 2869 | Ending Date: 2021-10-14
Try a formula like this on the Alerts tab of the Color Bar Based On Alert Condition study:
=ABS(ID5.SG1-ID5.SG1[-1])>30
where ID5 is the Stochastic Slow study, and SG1 is its %K.
This formula will color the bar when the %K changes more than 30 in either direction.

If you want a separate coloring/alert for each direction, use two instances of the color bar study, with formulas like these:
Up:
=ID5.SG1-ID5.SG1[-1]>30
Down:
=ID5.SG1[-1]-ID5.SG1>30
[2021-04-07 17:27:35]
CTAYLZ - Posts: 9 | Ending Date: 2021-05-03 [Expired]
THANKS TOM!!

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

Login

Login Page - Create Account