Sell=(*Buy*+5) *OR* (*Buy*-5); ps: it is better touse % than points. On Fri, Jun 11, 2010 at 11:58 AM, Prabu <[email protected]> wrote:
> > > Hi, > > I'm new to amibroker. > Please help me with this.. > > I'm testing it with a simple Ema crossover system. It buy on ema-crossover > and Sell if price goes above or below 5 points from the buy price. > > I'm able to write the Buy condition. But i'm not able to write the sell > condition. I'm confused whether I can write it as Sell condition or should i > write it with ApplyStop's .. please help me. > > e1 = EMA(C, 14); > e2 = EMA(C, 5); > > Buy = Cross(e2, e1); > Sell = (.. confused here .. ) > > Thanks > Prabu > > >
