Login Page - Create Account

Support Board


Date/Time: Tue, 23 Apr 2024 15:30:48 +0000



[User Discussion] - Background Highlighted for All Bars Beyond Last 20

View Count: 636

[2019-03-24 03:27:05]
absorrel4 - Posts: 92
I would like to keep the background clear (i.e., no highlight) for the most current 20 bars and then highlight the background (gray) for all the bars beyond the most recent 20 (i.e., bars 21, 22, 23, etc. backward from the current bar). I tried using the Bar Numbering study, but I can not figure out how to make it work for what I want. How can I accomplish this? Thanks...
[2019-03-24 05:14:55]
Sawtooth - Posts: 3976
You can do it with the Spreadsheet Study study:
Put this formula in K3:
=AND(ROW()>22,B3=B3)
and set the Draw Style to Background.
[2019-03-24 15:35:03]
absorrel4 - Posts: 92
Nice Trick...works great...thanks...

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account