this can be done like:

buy = Cross(A1,A2) AND barssince(Cross(A1,A3)) <= 2;

rgds,Ed



  ----- Original Message ----- 
  From: rijnaars 
  To: [email protected] 
  Sent: Monday, October 06, 2008 8:08 AM
  Subject: [amibroker] Help on conditional Buy signals


  I want to use some conditions in a buy cross signal but i do not know 
  how to add it.

  For instance :

  i have a buy signal buy = Cross(A1,A2)AND Cross(A1,A3)

  so in this case A1 crosses both A2 and A3
  now i like to have a signal as well when the second cross is made 
  within 2 days after the first cross how do i make this condition?



   

Reply via email to