Gamestudio Links
Zorro Links
Newest Posts
Windows permission issues
by HellThunder
Yesterday at 21:51
by Dalla
Yesterday at 20:42
Position Close not possible
by MatPed
Yesterday at 18:49
Options trading questions
by Zheka
Yesterday at 17:36
Published Gamestudio Games?
by jumpman
Yesterday at 08:05
New Zorro version 1.88
by DdlV
09/24/18 20:32
Possible to extend assetHistory with own source?
by jcl
09/24/18 16:32
AUM Magazine
Latest Screens
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Who's Online
15 registered (Jason_Rogers, alibaba, dmac, AndrewAMD, HellThunder, StefanS, Dalla, jumpman, 3 invisible), 504 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
cepturion, Mon3y, vincitytaymo, just, XJohnny_Hoffmann
18057 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

Registered: 05/27/18
Posts: 49
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)