Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 07:42:50 +0000



Post From: Alert Code Requests

[2014-04-10 13:37:12]
Sawtooth - Posts: 4120
=OR(CROSSOVER(SG1,100),CROSSOVER(SG1,-100))
Yes, that works.

This works also, with the advantage that the alert follows the line value settings:
=OR(CROSSOVER(SG1,SG3),CROSSOVER(SG1,SG4))

For further reference:
For a visual test of an alert formula, add the Color Bar Based On Alert Condition study and put the formula in its Alerts tab, adding the ID# of the referenced study:
=OR(CROSSOVER(ID3.SG1,ID3.SG3),CROSSOVER(ID3.SG1,ID3.SG4))
where ID3 is the CCI study.
Price bars will color at every alert TRUE.