Gamestudio Links
Zorro Links
Newest Posts
Hedge on FXCM, 4 or 5?
by Martin_HH. 02/16/26 16:09
Camera always moves upwards?
by clonman. 02/16/26 11:44
Zorro version 3.0 prerelease!
by jcl. 02/12/26 14:05
MarginCost discrepancy?
by jcl. 02/12/26 14:02
CMC MT4 CFD vs FX Active - what's better?
by mayarik. 02/11/26 11:00
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (AndrewAMD, TipmyPip, 1 invisible), 9,012 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon, mayarik
19198 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Setting BarZone to Indian Standard Time(IST; +530) #485146
01/27/22 14:29
01/27/22 14:29
Joined: Jan 2021
Posts: 21
Chennai
M
monarch Offline OP
Newbie
monarch  Offline OP
Newbie
M

Joined: Jan 2021
Posts: 21
Chennai
Hello -
Just setting up my Zorro. I'd like to set BarZone to Indian Standard Time(IST; +530). From the code and header files available on Zorro folder, it looks like BarZone is an integer variable. Is there a workaround available to achieve this?
Thanks

Re: Setting BarZone to Indian Standard Time(IST; +530) [Re: monarch] #485151
01/28/22 14:09
01/28/22 14:09
Joined: Sep 2003
Posts: 934
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 934
If India has no daylight saving I would use no bar zone at all, but add 330 minutes on the returns of time/date functions.

Re: Setting BarZone to Indian Standard Time(IST; +530) [Re: monarch] #485185
02/01/22 17:09
02/01/22 17:09
Joined: Jan 2021
Posts: 21
Chennai
M
monarch Offline OP
Newbie
monarch  Offline OP
Newbie
M

Joined: Jan 2021
Posts: 21
Chennai
Hi Spirit - India doesn't have day light savings time. I tried setting the BarOffset to 330, but there is a restriction that the BarOffset needs to be less than the BarZone. Which means I cannot test anything under 51/2 hours. I think I'll ask the support team as I'm still under support period.

Thanks for the information though.

Last edited by monarch; 02/01/22 17:41.
Re: Setting BarZone to Indian Standard Time(IST; +530) [Re: monarch] #485187
02/01/22 18:55
02/01/22 18:55
Joined: Jul 2017
Posts: 787
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 787
BarOffset needs to be less than the BarPeriod, not BarZone.

Try BarZone=5; BarOffset=30; + experiment w AssetMarketZone/AssetMarketStart/End


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1