Gamestudio Links
Zorro Links
Newest Posts
New Zorro version 1.83
by jcl
Today at 16:24
Unfreed in -diag
by 3run
Today at 10:30
About STRING* and char
by 20BN
Today at 09:40
I need help
by evangelos
Today at 02:37
Draw stuff from other thread
by Superku
Yesterday at 22:00
Optimize Stop with multi Asset strategy
by Dalla
Yesterday at 21:48
cloth ?
by 3run
Yesterday at 20:48
AUM Magazine
Latest Screens
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Forgotten Tales - Demo version
RPG PARTY
Who's Online
17 registered (FirasTaji, AndrewAMD, Cerve, 3run, easyX, alibaba, jenGs, 4 invisible), 483 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
FirasTaji, zentrader, Fenry, DJ_Algo, tang
18005 Registered Users
Topic Options
Rate This Topic
#473358 - 07/01/18 10:35 trades closed today
matty019 Offline
Guest

Registered: 11/18/17
Posts: 2
Loc: nsw
Anyone know how i can restrict my staregy to only open 1 trade per day ?

Top
#473469 - 07/10/18 19:27 Re: trades closed today [Re: matty019]
SBGuy Offline
Newbie

Registered: 05/27/18
Posts: 35
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.

Top



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

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