Hello, Run this on All Stocks, All Quotations
// Advancers / Decliners AddToComposite(C>Ref(C,-1),"~Advances","X"); AddToComposite(C<Ref(C,-1),"~Declines","X"); AddToComposite(C==Ref(C,-1),"~NoChange","X") Buy = Sell = 0; Cheers Prashanth ----- Original Message ----- From: Vinay Garg To: [email protected] Sent: Wednesday, October 03, 2007 8:55 PM Subject: [amibroker] Afl for Advancing and Declining issues Hi Folks I have recently got the Standard Edition of Amibroker and starting out to learn programming. TO start with how do I plot the ADv-Decline line? If I have all the EOD data of a market, how can I know the advancing and decling issues. Is there an afl to do this? Please help Thanks in advance Vinay
