RE: [amibroker] I need help in coding a buy after 2 consec close above a particular ma

2006-04-23 Thread Thomas Z.
Hi   average = MA(C,10); Buy = BarsSince(C2; Plot(average,"Average",7,1); Plot(C,"C",colorBlue,styleBar); PlotShapes(Buy*shapeUpArrow,colorLime,0,L,-12);   Regards - - - - - - - - - - - - - - - - - - - - Thomas www.tradingbasis.com [EMAIL PROTECTED] - - - - - - - - - - - - - -

Re: [amibroker] I need help in coding a buy after 2 consec close above a particular ma

2006-04-23 Thread Mark H
Buy = Ref(Cross(C, MA(...)), -1) and C > MA(...); - Original Message - From: Traders Online To: amibroker@yahoogroups.com Sent: Sunday, April 23, 2006 10:49 AM Subject: [amibroker] I need help in coding a buy after 2 consec close above a particular ma Hi