Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by clonman. 11/13/25 14:04
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
Training with the R bridge does not work
by frutza. 11/05/25 00:46
Zorro 2.70
by opm. 10/24/25 03:44
Alpaca Plugin v1.4.0
by TipmyPip. 10/20/25 18:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 21,112 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sheliepaley, Blueguy, blobplayintennis, someone2, NotEBspark
19177 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