Login Page - Create Account

Support Board


Date/Time: Mon, 12 May 2025 00:40:47 +0000



Post From: Request for simple "Alert code"

[2016-05-25 13:42:58]
Sawtooth - Posts: 4214
Try this:

Add two instances of the Color Bar Based On Alert Condition study, one for each color/direction.
Use these formulas on the Alerts tab of the respective study:
Two consecutive up closes:
=AND(C>C[-1],C[-1]>C[-2])
Two consecutive down closes:
=AND(C<C[-1],C[-1]<C[-2])

Choose your Draw Style and color.