Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 01/22/26 12:25
MRC.c and WFO
by 11honza11. 01/22/26 10:33
Buy A8 Pro Version
by Spirit. 01/21/26 21:37
Bar missing bug?
by jcl. 01/19/26 10:47
400 free seamless texture pack downl. here !
by NeoDumont. 01/18/26 19:09
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (TipmyPip, Angerbeer, qin, 1 invisible), 9,869 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Castromangos, Quantum, stephensdeborah, promfast, joe_kane
19193 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Opening trades when starting a strategy #438196
03/09/14 21:46
03/09/14 21:46
Joined: Nov 2012
Posts: 126
B
blaub4r Offline OP
Member
blaub4r  Offline OP
Member
B

Joined: Nov 2012
Posts: 126
I want to open a set of trades when I start the strategy.
The idea was using if(is(INITRUN)) but this does not seem to work.

Any ideas?

Re: Opening trades when starting a strategy [Re: blaub4r] #438198
03/10/14 00:38
03/10/14 00:38
Joined: Jul 2013
Posts: 522
D
dusktrader Offline
User
dusktrader  Offline
User
D

Joined: Jul 2013
Posts: 522
I don't think you can do that, because (I think) during INITRUN, Zorro is still pacing through the LookBack.

Probably what you want is something like this:
if (Bar==LookBack) enterLong();


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1