Gamestudio Links
Zorro Links
Newest Posts
webGL
by Ice2642. 11/17/25 21:27
Camera always moves upwards?
by NeoDumont. 11/17/25 09:56
Future of ZorroHFT
by TipmyPip. 11/16/25 13:52
COT Download with Quandl does not work
by Petra. 11/15/25 09:35
Training with the R bridge does not work
by Petra. 11/15/25 09:31
Zorro 2.70
by jcl. 11/15/25 08:43
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (SkinnyApe, TipmyPip), 7,662 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
SkinnyApe, tritom, sheliepaley, Blueguy, blobplayintennis
19179 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