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
5 registered members (clonman, TipmyPip, Niels, dBc, 1 invisible), 18,961 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
trades closed today #473358
07/01/18 08:35
07/01/18 08:35
Joined: Nov 2017
Posts: 4
nsw
M
matty019 Offline OP
Guest
matty019  Offline OP
Guest
M

Joined: Nov 2017
Posts: 4
nsw
Anyone know how i can restrict my staregy to only open 1 trade per day ?

Re: trades closed today [Re: matty019] #473469
07/10/18 17:27
07/10/18 17:27
Joined: May 2018
Posts: 136
S
SBGuy Offline
Member
SBGuy  Offline
Member
S

Joined: May 2018
Posts: 136
If you BarPeriod is 1440, then only 1 trade can be generated per day, usually.

If you have a shorter BarPeriod, perhaps you can check the various trade stats for trade or no trade in the current bar.

http://zorro-project.com/manual/en/winloss.htm

Or you can use a global variable with the date of the last trade, if today=lasttradedate, then don't enter another trade.

Re: trades closed today [Re: SBGuy] #473617
07/27/18 08:37
07/27/18 08:37
Joined: Nov 2017
Posts: 4
nsw
M
matty019 Offline OP
Guest
matty019  Offline OP
Guest
M

Joined: Nov 2017
Posts: 4
nsw
thanks


Moderated by  Petra 

Gamestudio download | 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