Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 17:16:52 +0000



Intraday Chart Bar Period - Gap Fill (colour)

View Count: 589

[2022-10-20 04:01:04]
User629461 - Posts: 184
I'm using a HLC chart and would like to set the gap fill itself to a different colour to the rest of the bar.
Is this possible, or is there a Study which allows this to be done?
Thanks
[2022-10-20 14:12:49]
John - SC Support - Posts: 37827
Sorry, but we are not understanding what it is exactly that you want to do. Can you give us an image showing what you want?
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-10-20 22:43:48]
User629461 - Posts: 184
See attached mock-up example with gap fill in a different colour.
imagePicture1.png / V - Attached On 2022-10-20 22:42:59 UTC - Size: 286.59 KB - 134 views
[2022-10-21 16:55:52]
John - SC Support - Posts: 37827
The only way we can think to do this would be to use a second chart that does not have the Gap Fill on it, then use the Color Bar Based On Alert Condition to find the gap by using the following alert condition:
= ABS(O - C[-1]) > .1

Where you can adjust the .1 value to avoid small changes in open and close that are not full gaps.

Then use the Study/Price Overlay to overlay the coloring to the chart with the gap and it will color the actual gap filling bars.

Refer to the following for the Color Bar Based on Alert Condition:
Color Bar Based on Alert Condition

Refer to the following for the Study/Price Overlay:
Study/Price Overlay Study

And refer to the following for how to write alerts:
Study/Chart Alerts And Scanning: Alert Condition Formula Format
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2022-10-21 16:56:06

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

Login

Login Page - Create Account