Pls, any body can change it in Afl formula  or made new codemy queries and any 
sollution coz once stock made made high or close according to my queries and 
from next day it will come again in result


my query 1.Closed or made intraday high below 1-5% from RECENT previous 
rallie'S top
2. closed or made high above Recent  previous ralliy's TOP
3 .Closed or made intraday high ABOVE 1-5% from previous rallies 
topThanksDharmendra Kalal
--- On Sat, 9/4/10, Keith McCombs <[email protected]> wrote:

From: Keith McCombs <[email protected]>
Subject: Re: [amibroker] AFl required
To: [email protected]
Date: Saturday, September 4, 2010, 9:58 PM















 
 



  


    
      
      
      



Silon --

You must be precise in how you define Recent and Top.  For example:

recent = 14; // this is maximum of 14 bars, including this one. You
pick the number.

top = HHV(Close, recent); // you might prefer High or Avg instead of
Close

top = ref(top, -1); // we don't want to include today's close,
but 14 previous days



percent = 0.01;  // you pick number between -0.05 and 0.05

// -0.05<=percent<0 for your system 1

// percent = 0 for your system 2

// 0<percent<=0.05 for your system 3



system = High >= top * (1 + percent);  // or use Close instead of
High



Hope this helps.

-- Keith







1. c

On 9/4/2010 01:32, silon sama wrote:
 

  
  
  
    
      
        

        Dear All,
        

        
        Any Body Can Help Me in Coding of 3 AFLS-pls find attachment 

        
        

        
        

        
        1.Closed or made intraday high below 1-5% from RECENT
previous rallie'S top
        

        
        2. closed or made high above Recent  previous ralliy's TOP
        

        
        3 .Closed or made intraday high ABOVE 1-5% from previous
rallies top
        

        
        Yours Thankfully 
        Silon 
        

        
        

        
        

        
        

        
        

        
        

  
        
           
        
        
      
    
  
  

  
  







    
     

    
    


 



  











      

Reply via email to