Login Page - Create Account

Support Board


Date/Time: Thu, 28 Mar 2024 10:56:02 +0000



[Programming Help] - Bar time duration study

View Count: 1512

[2019-03-19 17:34:24]
trader1 - Posts: 128
Is it possible to filer out bars before a certain time on the bar time duration study without setting the chart start time to that time?
Thanks.
[2019-03-19 18:17:09]
Sierra Chart Engineering - Posts: 104368
No this is not supported. You would have to modify that study.
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
[2019-03-19 19:48:45]
Sawtooth - Posts: 3952
You could also do it with the Spreadsheet Formula study:

Use a formula like this:
=IF(AND(BARTIME>TIMEVALUE("09:30:00"),BARTIME<TIMEVALUE("16:00:00")),ID1.SG1,0)
where ID1 is the Bar Time Duration study.

Set the Chart Region to the same as the Bar Time Duration study, then Hide the Bar Time Duration study.
[2019-03-28 17:40:27]
trader1 - Posts: 128
Hey tomgilb,
This seems to be working great!
I really appreciate it.

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

Login

Login Page - Create Account