Gamestudio Links
Zorro Links
Newest Posts
FXCM => AVA Trade Plugin???
by JeyKey II. 11/25/26 19:57
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
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
6 registered members (Martin_HH, JeyKey II, AndrewAMD, EW_bytes, Grant, Quad), 8,092 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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: 138
S
SBGuy Offline
Member
SBGuy  Offline
Member
S

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