Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (dBc, clonman, TipmyPip), 18,816 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

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