Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 09:59:22 +0000



Post From: How can I highlight or make an alert or whatever would work to note the C[-50]

[2020-05-27 03:05:35]
Sawtooth - Posts: 4173
Using the Color Bar Based On Alert Condition study, you can color the 50th previous bar with this formula:
=OR(C[49]=0,C[50])=0
This includes the current bar in the count of 50 bars.

To exclude the current bar and only count the 50 previous bars, use this instead:
=OR(C[50]=0,C[51])=0