Gamestudio Links
Zorro Links
Newest Posts
Wolfram Mathematica with Zorro
by TipmyPip. 07/30/26 02:07
ZorroGPT
by TipmyPip. 07/30/26 00:36
Fun Arcade Car Physics (nfs style)
by rayp. 07/25/26 00:35
What are you working on?
by rayp. 07/24/26 22:58
Z9 getting Error 058
by madpower2000. 07/22/26 14:01
New Zorro version 3.11
by jcl. 07/21/26 13:42
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, Quad), 20,115 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Ephraim, Student_64151
19223 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
bar time, right side open or close? #489060
01/02/26 02:15
01/02/26 02:15
Joined: Jan 2023
Posts: 53
Q
qin Offline OP
Junior Member
qin  Offline OP
Junior Member
Q

Joined: Jan 2023
Posts: 53
I am confused about which side of the bar time is open?
The description in the manual seems to be contradictory.
At section: BarPeriod
For instance, a 10-minute bar ending at 12:00 contains all ticks with timestamps from 11:50:00.000 until 11:59:59.999.
Which means the bar time is right side opened(not includ 12:00:00).

At section: Bars, Ticks, Candles. Glossary of Terms.
A 1-hour bar ending at 12:00 contains all ticks with timestamps greater than 11:00:00 and less or equal to 12:00:00.
Which means the bar time is right side closed(include 12:00:00).

Last edited by qin; 01/03/26 03:54.
Re: bar time, right side open or close? [Re: qin] #489064
01/03/26 07:42
01/03/26 07:42
Joined: Jan 2023
Posts: 53
Q
qin Offline OP
Junior Member
qin  Offline OP
Junior Member
Q

Joined: Jan 2023
Posts: 53
I test, it is right closed

Re: bar time, right side open or close? [Re: qin] #489065
01/03/26 08:10
01/03/26 08:10
Joined: Sep 2003
Posts: 938
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 938
If you mean with 'right' the close of the bar, then you are right that the close is right. laugh


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1