Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 14:59:43 +0000



Post From: Color last X bars

[2021-04-27 14:47:53]
Sawtooth - Posts: 4173
Try this:

Add the Color Bar Based On Alert Condition study, and use a formula like this on the Alerts tab, and Hide this study:
=C[10]
This will find the last 10 bars, inclusive of the current bar. Edit as needed.

Add another instance of the color bar study, with a formula like this on its Alerts tab:
=ID1.SG1=0
where the other color bar study is ID1. Edit as needed.

You might need to also add the Chart Recalculation - Periodic study:
- Set the recalc time to 1 second.

See post #10 here:
Hide currently forming candle
Date Time Of Last Edit: 2021-04-27 15:01:20