Opening trades when starting a strategy

Posted By: blaub4r

Opening trades when starting a strategy - 03/09/14 21:46

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?
Posted By: dusktrader

Re: Opening trades when starting a strategy - 03/10/14 00:38

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();
© 2024 lite-C Forums