That looks like it would be quite a job.  None of my business of course but now 
that you got my curiousity up....why would you want to write it as a loop? 
Thanks!

Steve
  ----- Original Message ----- 
  From: iceboundbug 
  To: [email protected] 
  Sent: Tuesday, July 01, 2008 8:45 PM
  Subject: [amibroker] Help to convert afl statement to a loop


  Hello all,

  Could someone help me to write the following two afl statements using two 
separate loops please.

  Thanks in advance.



  x =      Sum(  MA(C-O,3)  ,3)     -      Ref(  Sum(   MA(C-O,3)   ,3) ,  -1)  
  >0       ;



  y =    MA(C-O, 5)    >   (-1)*MA(C-O, 7)      ;











   

Reply via email to