Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 08:51:33 +0000



BARTIME function problem

View Count: 1009

[2014-08-17 07:14:08]
vrunrun - Posts: 53
Hi SC,

I've the following formula in the Color Bar Based on Alert Condition study.

=and(BARTIME >= ((9*60+15)/(24*60)), BARTIME <= ((9*60+45)/(24*60)), C>O, C[-1]>O[-1], C[-2]>O[-2], H[0]>H[-1], H[-1]>H[-2])

Referring to the attached, note the results as shown in magenta bar was incorrect because the previous 2 bars are before 9:00 am. For the chart settings, I've used session times with evening session disabled.

Pls investigate and revert. Thks.


Private File
[2014-08-17 08:41:10]
Sierra Chart Engineering - Posts: 104368
We need you to provide a very simple example using only BARTIME. The formula must not contain anything else.

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
[2014-08-17 10:59:51]
vrunrun - Posts: 53
Hi SC,

Pls disregard this post as problem was resolved with nothing wrong in BARTIME function.

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

Login

Login Page - Create Account