Gamestudio Links
Zorro Links
Newest Posts
Removing outliers from files
by AndrewAMD. 12/02/26 15:26
SGT_FW
by Aku_Aku. 11/30/26 08:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Quad), 7,096 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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: 938
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 938
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: 788
Z
Zheka Offline
User
Zheka  Offline
User
Z

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