Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Quad), 755 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 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: 134
S
SBGuy Online
Member
SBGuy  Online
Member
S

Joined: May 2018
Posts: 134
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 | 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