Buy = Cross ( C , MA( Close, 30 ) );

  ----- Original Message ----- 
  From: MarkK 
  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



  

Reply via email to