Whats your setup?
For example you can do this
Buy = C < ref(LLV(c, 20), -1) if LLV(c, 20) is your setup
Have you tried looked into the library?


________________________________

        From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of bernardedmond01
        Sent: Wednesday, 21 March 2007 1:44 PM
        To: [email protected]
        Subject: [amibroker] Buying on a retrace
        
        

        Could anyone provided simple AFL for buying on a retrace?
        I have used a buy delay of e.g. 5 which sometimes provides the 
        opportunity to buy lower and I've also coded the setup price 
        using "Valuewhen" so you buy once price is below, say, the low of
the 
        setup. Anybody use simple code which achieves the purpose?
        Thanks in advance.
        
        

         


Send instant messages to your online friends http://au.messenger.yahoo.com 

Reply via email to