Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (AndrewAMD, monk12, TipmyPip, Quad, aliswee), 1,029 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 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 Offline
Member
SBGuy  Offline
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