Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

Code Snippet – Normalized Volume

27 sec read

Studying the Volume behaviour in a stock and index futures plays a critical role in studying the supply and demand behavior. What if we want to rate the volume with relative to last 50-bars. In such a scenario Normalized Volume Comes into picture. Normalized volume is a volume divided by its average.

Formula

Normalized Volume = Volume / MovingAverage(Volume, 50) * 100

When,

Normalized Volume > 150 is High Volume (Green Historgram bar)
Normalized Volume < 75 and > 150 is normal Volume (Yellow Historgram bar)
Normalized Volume < 75 is low volume (Red Historigram bar) Nifty Future Normalized Volume

 
Generally when the normalized volume is high it introduces lots of volatility in the market. And typically a low volume shows a low volatile behavior in the market.

Amibroker AFL Code
https://gist.github.com/0047f7a5fb7933187bd3

Rajandran R Founder of Marketcalls and Co-Founder Algomojo. Full-Time Derivative Trader. Expert in Designing Trading Systems (Amibroker, Ninjatrader, Metatrader, Python, Pinescript). Trading the markets since 2006. Mentoring Traders on Trading System Designing, Market Profile, Orderflow and Trade Automation.

AllinOneAlerts – Amibroker Alerts Module for Algomojo Users

AllinOneAlerts is one of the most important and most requested modules is to bring all sorts of alerts with few lines of coding efforts....
Rajandran R
58 sec read

Stop and Reverse Cover Orders/Bracket Orders – Automated Chart…

Bracket Order and Cover Order are multi-legged orders which come with default protection with stop loss with reasonable intraday leverage. This tutorial focus...
Rajandran R
11 min read

Exiting Cover Order and Bracket Order for a Particular…

Bracket Order and Cover Order are multi legged orders and cancelling the bracket order and cover order for a particular trading instrument there are...
Rajandran R
1 min read

4 Replies to “Code Snippet – Normalized Volume”

  1. Small mistake in the text

    Normalized Volume 150 is normal Volume (Yellow Historgram bar)

    It should be Normalized Volume > 80 and < 150 is normal Volume (Yellow Historgram bar)

  2. sir i want afl code for current volume bar greater than previous 15 bars – strong volume
    current volume bar greater than previous 20 bars – stonger volume
    current volume bar greater than previous 40 bars- strongest volume.. i want this code for scanning purpose and alert output…. your help will be highly appreciated… and any change in this logic, if you find that better pls also provide it.

Leave a Reply

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