Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 18:18:13 +0000



color bar based on open and close within prior bar range

View Count: 742

[2022-06-04 16:14:49]
User36082 - Posts: 4
Is there a study that will color a bar or identify bars based on the open and close of the current bar being within the prior bar's range?
[2022-06-05 12:32:12]
Sawtooth - Posts: 4173
Is there a study that will color a bar or identify bars based on the open and close of the current bar being within the prior bar's range?
Use the Color Bar Based On Alert Condition study, with this formula on its Alerts tab:
=AND(MAX(O,C)<H[-1],MIN(O,C)>L[-1])

Study/Chart Alerts And Scanning: Available Main Price Graph Identifiers/Variables
Study/Chart Alerts And Scanning: Referencing Data Other Than on the Last Bar/Column In the Chart
[2022-06-05 15:18:01]
Sierra Chart Engineering - Posts: 104368
Thank you for the information at post #2.

Here is the documentation for Color Bar Based on Alert Condition:
Color Bar Based on Alert Condition
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2022-06-05 15:18:33

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

Login

Login Page - Create Account