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 and Co-Creator of Algomojo (Algorithmic Trading Platform for DIY Traders)

Intraday Volume Profile Distribution – Amibroker AFL Code

1 min read

Volume profile is a key study when comes to understanding the auction trading process. Volume Profiles will show you exactly how much volume, as well as relative volume, occurred at each price as well as the exact number of contracts for the entire session. It is a visualization tool to understand the high activity zone and low activity zone.

Volume profile measures the confidence of the traders in the market. From short term trading perspective monitoring the developing volume profile in realtime make more sense to track current market participation behavior to take better trading decisions.

Here is the simple AFL Code we developed to understand the Intraday Volume Profile Distribution using Amibroker PriceVolDistribution and low-level graphics functions. Volume Point of Control is highlighted with red color block as it is the place where market finds its equilibrium and where most of the traders agree to trade at the fair value for the day.

External Chart Control is added to vary the TPO Size and Lot Size for each and every individual scripts. After applying the indicators one can control the values by right clicking over the charts and select parameters.

Note :
1)Code is compatible with Amibroker 6.0 and above and will not work in lower versions as lower Amibroker versions doesn’t support matrix operations.

2)If you are applying the indicator to cash markets then set the Lot Size as 1. In case of future scrips relevant lot size. Final output of the volume profile on the left side is shown in term of no of contracts traded at each and every price level for that given day.

Intraday Volume Profile Distribution – Amibroker AFL Code
https://gist.github.com/93131e1e3dafddadcf7f871cef290bee

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 and Co-Creator of Algomojo (Algorithmic Trading Platform for DIY Traders)

Realtime Option Greeks Indicator and Exploration Module for Amibroker

Option Greeks are a set of mathematical models used to analyze the behavior of options. Real-time Option Greeks refer to the calculation of these...
Rajandran R
5 min read

Sending Smart Futures/Spot – Signals to Two-Legged Options Execution…

Thought of making an open source AFL code demanded by most of the option traders to control the cost, to control the risk, and...
Rajandran R
12 min read

Nifty Futures – Market Profile – State of the…

Nifty Futures showed decent intraday volatility in January series however it failed to show positional volatility and totally traded in a broader sideways market...
Rajandran R
54 sec read

12 Replies to “Intraday Volume Profile Distribution – Amibroker AFL Code”

    1. Iam a licensed user and currently using 6.1 and it is working fine in my machine. may be you are using less than ami 6.0

  1. Thanks it worked perfectly. Iam searching for this indicator in Amibroker atlast found it at marketcalls itself.
    Thanks for your selfless efforts.

  2. Hi Raj Sir,

    You say that “the code is compatible with Amibroker 6 and above ”

    I m using Ami V 6.00.2..

    But Getting error “syntex error,identifier ‘pricevoldistibution’ is undifined.

    Any other solution for this ??

    Thanks
    Jay Ram

  3. Hi Rajandran, i have Amibroker 6.40 version, when i copied it as afl and ran it in AFL formula editor, it shows error when it reads “mx = PriceVolDistribution( H, L, V, tbin, true, sdvb, lvb );” and all such mx. Can you let me know how to rectify this.

Leave a Reply

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