I agree with you that most of the time it is pilot error. I am getting sell arrows where there is no crossing of the ema (c,34) in fact the price is very far away from the ema.
thank you for your help Dennis --- In [email protected], "sebastiandanconia" <[EMAIL PROTECTED]> wrote: > > Nope. Whenever that's happened to me it's invariably been > pilor-error, I've gotten exactly what I asked for even if it wasn't > what I really wanted.:) > > Just guessing from the code you posted if you're getting multiple > arrows when you only expect to see one you haven't defined the > condition specifically enough. I'd say you're getting EVERY cross > instead of just the one you're looking for. > > The "Exrem" function might help, or something like this: > > Sell=Cross(EMA(C,34),C) AND ref(Cross(EMA(C,34),C),-1)==0; > > > Luck, > > Sebastian > Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For other support material please check also: http://www.amibroker.com/support.html Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/amibroker/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
