High Volume Scanner AFL code

Scanning for High Volume Stocks is interest of everyone. But scanning stocks manually from the 1600 stocks is literally time consuming and it is one of the primary requirements of Mr.Brahma Navaluri one of the regular reader of marketcalls.The one way is to write the simple afl exploration code to reduce the time of scanning high volume stocks. Let see the conditions require to write the afl code.

1)Current day volume should be 10 times greater than the previous day volume
2)Also Volume should be greater than 1,00,000 inorder to filter low volume stocks
3)One can vary the number of times a stock should be greater than the previous days
and the minimum amount of volume to be scanned

Here are the Filter conditions that has been converted into the afl code:

Filter = V > 10*Ref(V,-1) AND V>100000;
AddColumn(V, “Volume“, 1);

Where Ref(V,1) denotes previous day volume

Now save the simple High Volume Exploration scanner as a .afl file under the directory c:program filesamibrokerformulascustomHigh Volume Exploration.afl

Goto->Amibroker->Analysis->Automatic Analysis and select All Symbols and n=1. The value of n is choose as one just to find out the recent High Volume Stocks among the list of 1600 nse stocks as shown below

Result of the High Volume AFL stocks that run based on the above contions as on 13th August 2010 data


Note :The Post is intended for learning and information sharing purpose only. And dont consider this post as a buy or sell recommendation

Related Readings and Observations

  • EMAavg – Amibroker AFL code Here is the EMAavg afl code designed with the combination of Multiple EMA's and modified Fisher Transform.Code is open source, free to distribute, and sharing recommended. Code currently […]
  • Optimized Ichimoku AFL code to catch Early Buy or Sell Signals Ichimoku Cloud Charts along with Buy or Sell Signal are shown for Nifty Daily Charts. Little Bit Optimisation has been done to reduce noise and to catch Earlier Signals in any kind of […]
  • NMA Swing Explorer I had added few more codes to the NMA Buy or Sell Signal to make it exploration possible. The purpose of the Exploration is to identify the stop loss of any kind of trade at the given time.
  • Start Scanning Stocks using Amibroker Exploration Now all you need to do is you have to find the list of stocks that had recently made 5/20 EMA crossover from the bunch of NSE Stock pack and also you have to scan the stocks with price […]


  1. says

    I dont need to re-emphaise d utility of ur blog posts as i already said so in my prev comments :)
    I too like working with different codes n tweaks. But currently,I am stuck wid a prob i thot i wud refer u. Currently, i m using Open Source SW for pooling data from yahoo into AB. But since Yahoo doesnt seem to provide futures data,i tried working my way through ODIN into AB. oDIN does make data (temp?) files,but i stil cant make my way thru to AB. I did try working DDE using excels or smthg but cant fit d jigsaw puzzles which some *sponsored* SW can…looking forward to ur inputs on d same

  2. men says

    Dear Mr. Rajandran,
    Could you please write an afl which would give the hi and low for a period that we choose like weekly, monthly and yearly if also possible.
    Also afl for gann 45 degrees lines would be of great help.
    Thanks and God bless,

  3. kalyan says

    i am not supposed to invest for ami original but do u have any idea about crack of amibroker (5.20,which is available) sir. also afl like ichimoku or other buy sell signal afl. will these work for trial version of amibroker.

  4. BINIL says

    Hi Rajendran,
    Can you help us in adding an exploration condition to an AFL we have to filter out the symbols based on certain two parameters on a 10 minute chart ?.Prently , we are doing it on a manual basis.


  5. Noufel says

    Dear Rajendran,
    I am searching for a volume indicator in afl which can trace average volume for the last 20 days and daily volume accumulation starting from 0 to max volume of the day in an intraday chart. The purpose is to study the price response when the daily volume touches the average volume.

Leave a Reply

Your email address will not be published. Required fields are marked *