Gamestudio Links
Zorro Links
Newest Posts
TradeVars not working with pending trades
by jcl
2 seconds ago
Creating a Directory
by txesmi
Yesterday at 10:15
Multi asset correlation
by jcl
Yesterday at 09:57
Help in analysis...
Yesterday at 09:13
Strange problem with a global int
by jcl
Yesterday at 08:48
New Zorro version 2.03
by jcl
Yesterday at 08:28
not using profit targets during strategy development
by laz
Yesterday at 00:23
AUM Magazine
Latest Screens
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Who's Online
6 registered (kvm, 20BN, Dalla, AndrewAMD, 2 invisible), 581 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
Pelin27, Aziz, lucianopneto, j45p41, Max_Ahn
18173 Registered Users
Topic Options
Rate This Topic
#473358 - 07/01/18 10:35 trades closed today
matty019 Offline

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

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

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

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

#473617 - 07/27/18 10:37 Re: trades closed today [Re: SBGuy]
matty019 Offline

Registered: 11/18/17
Posts: 4
Loc: nsw


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

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