Canada
Posts: 12 since Feb 2011
|
I was wondering if someone could help me writing a strategy in EL. It’s fairly straightforward (no bells and whistles).
Basically what I need is this.
When I press Ctrl 0 a buy order will be placed 1 tick above the current bars high (the one that is currently unfolding) and place a stop 10 ticks down form that price.
When I press Ctrl 1 a buy order will be placed 1 tick above the high of the bar 1 bar ago and place a stop 10 ticks down form that price.
When I press Ctrl 2 a buy order will be placed 1 tick above the high of the bar 2 bars ago and place a stop 10 ticks down form that price.
When I press Ctrl 3 a buy order will be placed 1 tick above the high of the bar 3 bars ago and place a stop 10 ticks down form that price.
When I press Alt 0 a sell order will be placed 1 tick below the current bars low (the one that is currently unfolding) and place a stop 10 ticks up form that price.
When I press Alt 1 a sell order will be placed 1 tick below the low of the bar 1 bar ago and place a stop 10 ticks up form that price. Etc.
Any help would be appreciated.
|