Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 14:22:02 +0000



Hide bars during time period

View Count: 126

[2024-08-19 19:12:23]
Trading Gone Bad - Posts: 7
Is there a way to hide bars during specified time periods? I've used the session times to remove all bars between 16:00:00 - 06:59:59, however I also want to exclude 12:00:00 - 12:59:59. Is there a way to do this?

Thank you.
[2024-08-20 13:38:29]
John - SC Support - Posts: 36238
There is not a way to have that time period not show up in the chart, but you could use the "Color Bar Based On Alert Condition" study to color the bars the same as the background so the bars themselves do not appear on the chart. You would have to set your alert condition for the study to be the hours you want to color, so the condition would look like the following:
=AND(BARTIME >= TIME(12, 00, 00), BARTIME < TIME(12, 59, 59))
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account