Thank you works like a charm now
Mark From: [email protected] [mailto:[email protected]] On Behalf Of Anthony Faragasso Sent: Thursday, March 25, 2010 8:28 AM To: [email protected] Subject: Re: [amibroker] Help please with simple formula below Buy = Cross ( C , MA( Close, 30 ) ); ----- Original Message ----- From: MarkK <mailto:[email protected]> To: [email protected] Sent: Thursday, March 25, 2010 8:15 AM Subject: [amibroker] Help please with simple formula below I know this must be simple yet I cannot figure it out Can someone let me know what I am doing wrong with this simple coding? I want to show a buy then close price is above the 30ma line Thank you Buy = Cross ( MA( Close, 30 ), (C>30) ); Filter=Buy==1; AddTextColumn(FullName(),"------------Name------------",1.0); AddColumn( Buy, "Buy", 1.2 ); Mark
