[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: entry on current bar



PureBytes Links

Trading Reference Links

Try this:

inputs TickDist(1);
vars: MarketTicks ( TickDist * MinMove / PriceScale);
Buy  next bar at Close + MarketTicks stop;
Sell next bar at Close - MarketTicks stop;

Bob Fulks


At 04:10 PM 2/8/2006, Jeremy Lyell wrote:
>Hi,
>
>Any help for this cut & paste (non-)programmer would be very gratefully
>appreciated, please : I am attempting to create a very simple strategy that
>enters long or short x ticks from the close of the previous bar, so in
>English Language it would be "If on current bar price reaches x ticks from
>close of previous bar, then buy or sell ...". I understand that Easy
>Language expects to generate orders at the close of the current bar, so I am
>endeavouring to get around this.
>
>This is how far I've got, the verification process stops at "stop" !