Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by jcl. 02/12/26 14:05
MarginCost discrepancy?
by jcl. 02/12/26 14:02
Hedge on FXCM, 4 or 5?
by qin. 02/11/26 14:12
CMC MT4 CFD vs FX Active - what's better?
by mayarik. 02/11/26 11:00
print a "still alive" log
by qin. 02/10/26 12:16
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 7,787 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon, mayarik
19198 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: 48
Q
qin Offline OP
Newbie
qin  Offline OP
Newbie
Q

Joined: Jan 2023
Posts: 48
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: 48
Q
qin Offline OP
Newbie
qin  Offline OP
Newbie
Q

Joined: Jan 2023
Posts: 48
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: 934
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 934
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