Login Page - Create Account

Support Board


Date/Time: Tue, 21 May 2024 10:00:31 +0000



Post From: Color Bar indicator for comparison of Main/Study Divergence only

[2016-01-09 21:56:36]
Sawtooth - Posts: 4002
Try this in the Alerts tab of the Color Bar Based On Alert Condition study:
=OR(AND(C>O,ID2.SG4<ID2.SG1),AND(C<O,ID2.SG4>ID2.SG1))
where ID2 is the Cumulative Delta study.
This is an indication of green/red or red/green occurrences.

Try this for the alternative, based on the disparate slope of the close of both:
=OR(AND(C>C[-1],ID2.SG4<ID2.SG4[-1]),AND(C<C[-1],ID2.SG4>ID2.SG4[-1]))

The former formula does not deal with dojis, and the latter does not deal with zero slopes. Formulas for these are more involved.
Date Time Of Last Edit: 2016-01-10 01:53:03