Rajandran R Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, USDINR and High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in)

High Volume Scanner AFL code

55 sec read

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.
[wp_ad_camp_5]

 
Conditions
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

TickerDate/TimeVolume
BANKRAJAS8/13/20106360202
SOMATEX8/13/2010103013
SHAHALLOYS8/13/2010284264
BAYERCROP8/13/2010156136
BILPOWER8/13/2010924420
CENTENKA8/13/2010194072
DENORA8/13/2010297498
DONEAR8/13/2010645453
EMAMILTD8/13/2010146444
FINPIPE8/13/20101561229
FMGOETZE8/13/2010196574
GOLDENTOBC8/13/2010387760
AQUA8/13/2010858101
JAYAGROGN8/13/2010188093
JETAIRWAYS8/13/20104250240
KSERAPRO8/13/20102957156
MINDAIND8/13/2010230069
MUNJALAU8/13/2010104327
MURUDCERA8/13/2010418198
AXIS-IT&T8/13/2010155603
PTL8/13/2010421863
SEZALGLASS8/13/2010461216

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

Rajandran R Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, USDINR and High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in)

[Live Coding Webinar] Build Your First Trading Bridge for…

In this course, you will be learning to build your own trading bridge using Python. This 60-minute session is perfect for traders, Python enthusiasts,...
Rajandran R
1 min read

[Webinar] Understanding and Mitigating Curve Fitting in System Trading

"Understanding and Mitigating Curve Fitting in System Trading"! This dynamic session aims to equip novice to intermediate traders, quantitative analysts, and financial engineers with...
Rajandran R
1 min read

P-Signal Strategy Long Only Strategy – Amibroker AFL Code

This tutorial provides an overview of the P-Signal reversal strategy, a quantitative trading strategy that utilizes statistical parameters and error functions to generate probabilistic...
Rajandran R
2 min read

17 Replies to “High Volume Scanner AFL code”

  1. hey!
    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. 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,
    Regards,

  3. 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. 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.

    BINIL
    COCHIN
    Kerala

  5. 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.
    Regards
    Noufel

  6. Doesn’t the above code only work after the market hours are over because if the timeframe is set to daily, then candle will only be formed after 3.30.

    Isn’t it possible to know the total volume of running trading session in real time so that if volume condition is met on suppose, 10.30 AM then it generates alert at that very time and we don’t have to wait till 3.30 PM for the candle to form.

Leave a Reply

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More