Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 927 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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: 15
Chennai
M
monarch Offline OP
Newbie
monarch  Offline OP
Newbie
M

Joined: Jan 2021
Posts: 15
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: 15
Chennai
M
monarch Offline OP
Newbie
monarch  Offline OP
Newbie
M

Joined: Jan 2021
Posts: 15
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: 784
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 784
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