That's the right idea, but not quite the right implementation. You will need to adjust for redundant Buy signals (using ExRemSpan), and use the BuyPrice for the bar of the Buy (using Ref).
Try something like the following (untested) snippet of code: Sell = Cross(Slow, Fast) OR (Ref(ExRemSpan(Buy, 15), -15) AND Close < Ref(BuyPrice, -15)); Mike --- In [email protected], Gariki <chetan.abm...@...> wrote: > > > use: Sell = Cross(slow, fast) or ( BarsSince(Buy) == 15 AND (Close < > BuyPrice) ); > > -- > Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ >
