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.

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

Nifty Futures Market Profile and Lower Implied Volatility

What could you do when the movie is boring and you are forced to watch it? It's the same thing one could be experiencing...
Rajandran R
1 min read

How to Automate your Strategy just by Adding Two…

Since the start of Algomojo, we are focusing on one thing how to simplify the Automated Execution controls so that traders can easily convert...
Rajandran R
2 min read

[Free Webinar] Starting Amibroker AFL Coding Right from the…

Interested in Creating your own indicators/Buy or Sell Trading System. Learn How to build your own trading system using Amibroker. If you are new...
Rajandran R
27 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