Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (degenerate_762, Nymphodora), 1,012 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 7 1 2 3 4 5 6 7
Re: Precise AssetMarketStart/End [Re: Zheka] #485514
03/18/22 18:06
03/18/22 18:06
Joined: Jul 2017
Posts: 783
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 783
At trades allowed outside market hours with BR_ASSET. They shouldn't be.

Re: Precise AssetMarketStart/End [Re: Zheka] #485521
03/19/22 11:00
03/19/22 11:00
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
The manual is your friend! wink

" BR_ASSET - Don't shift data series on intraday bars that end at or after AssetMarketEnd and before AssetMarketStart in the asset time zone (AssetMarketZone). This prevents updating indicators or generating trade signals outside market hours. Start and end time and zone can be individually set in the asset list. This flag must be set before calling asset. "

Maybe you meant BR_LEISURE?

https://zorro-project.com/manual/en/barmode.htm

Re: Precise AssetMarketStart/End [Re: Zheka] #485522
03/19/22 11:07
03/19/22 11:07
Joined: Jul 2017
Posts: 783
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 783
Quote
This prevents updating indicators or generating trade signals
What's meant by "generating trade signals"?

If BR_LEISURE also works with AssetMarketStart/End then state this in the manual and provide explicit guidance.

Last edited by Zheka; 03/19/22 11:15.
Re: Precise AssetMarketStart/End [Re: Zheka] #485523
03/19/22 11:09
03/19/22 11:09
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
I suppose indicators cannot generate trade signals when they are not updated.

Re: Precise AssetMarketStart/End [Re: Zheka] #485524
03/19/22 11:24
03/19/22 11:24
Joined: Jul 2017
Posts: 783
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 783
It is perfectly possible if a 'signal' is generated from another asset with different/wider AssetMarketStart/End.

Re: Precise AssetMarketStart/End [Re: Zheka] #485527
03/19/22 12:04
03/19/22 12:04
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
I suppose that the not generating trade signals then happens with that different/wider AssetMarketStart/End.

Re: Precise AssetMarketStart/End [Re: Zheka] #485528
03/19/22 13:40
03/19/22 13:40
Joined: Jul 2017
Posts: 783
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 783
If BR_ASSET is not blocking trades - then just remove that misleading part of the sentence from the manual.

Is BR_LEISURE supposed to work with AssetMarketStart/End ?

Re: Precise AssetMarketStart/End [Re: Zheka] #485529
03/19/22 14:28
03/19/22 14:28
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
I dont write the manual but I think it is always updated when someone on the forum does not understand something in the manual. It also answers your question:

"BR_LEISURE Don't enter or manage trades between EndMarket and StartMarket, at holidays, and between EndWeek and StartWeek in the bar time zone (BarZone)."

https://zorro-project.com/manual/en/date.htm

EndMarket and Startmarket are predefined variables, you can set them in your script and can of course also set them to Assetmarketstart etc. Hope this answers your question.


Re: Precise AssetMarketStart/End [Re: Zheka] #485530
03/19/22 15:07
03/19/22 15:07
Joined: Jul 2017
Posts: 783
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 783
The problem with setting Start/EndMarket=AssetMarketStart/End is that - currently - StartMarket cannot be bigger than EndMarket, while AssetMarketStart can - which is THE setting for FX/futures on Globex (1800-1700ET).

May I suggest that EndMarket/StartMarket are deprecated altogether in favor of the more "modern" approach with AssetMarketStart/End??

Re: Precise AssetMarketStart/End [Re: Zheka] #485531
03/19/22 16:09
03/19/22 16:09
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
I don't think they are deprecated. They are global while assetmarket are asset-local. I also dont think that StartMarket cannot be bigger than EndMarket. I have just tested it and at least with my version I can set any time for startmarket and endmarket.

Page 2 of 7 1 2 3 4 5 6 7

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1