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)

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)

[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

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