How to Calculate Value Area in unbalanced market profile ? - NinjaTrader | futures io social day trading
futures io futures trading

How to Calculate Value Area in unbalanced market profile ?
Updated: Views / Replies:1,428 / 4
Created: by sameers Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Thread Tools Search this Thread

How to Calculate Value Area in unbalanced market profile ?

  #1 (permalink)
Trading Apprentice
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: Crude CL
Posts: 1 since Sep 2016
Thanks: 0 given, 0 received

How to Calculate Value Area in unbalanced market profile ?

How one should calculate Values Area in unbalanced market profile ?

On balanced profile, method described in "Mind Over Markets"( where we move two levels up or down starting from POC) works very well.

But consider profile that contains Single Prints in middle.

Can following method/algo give better value area levels for any profile(balanced or unbalanced) ?

resultVAL = POC;
resultVAH = POC:

CurrentVolume = POCVolume

CurrentValIndex = POC - 1;
ValVolume = volume[CurrentValIndex-1];

CurrentVahIndex = POC + 1;
VahVolume = volume[CurrentVahIndex-1];

while CurrentVolume < (70% of Total Volume)
if ValVolume > VahVolume:
CurrentVolume += ValVolume;
resultVAL = valIndex;

valVolume = volume[vahIndex]; (new volume)

// This is idea I am suggesting where we also advance vahIndex
vahVolume += volume[vahIndex]; (cumulative volume)

CurrentVolume += VahVolume;
resultVAH = vahIndex;

vahVolume = volume[vahIndex];

// This is idea I am suggesting where we also advance valIndex
vahVolume += volume[valIndex];

so in each iterations we advance both valIndex and vahIndex.

Last edited by sameers; September 6th, 2016 at 07:58 AM.
Reply With Quote
  #2 (permalink)
Elite Member
Gits (Hooglede) Belgium
Futures Experience: Master
Platform: NinjaTrader, Proprietary,
Broker/Data: Ninjabrokerage/IQfeed + Synthetic datafeed
Favorite Futures: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
rleplae's Avatar
Posts: 2,797 since Sep 2013
Thanks: 2,139 given, 4,695 received
Forum Reputation: Legendary

There are several ways to do the calculation...

Few algorithms are documented in the dvalue indicator, but it's not using tick data, it's a proximation.

Reply With Quote
  #3 (permalink)
Trading Apprentice
Hartselle, AL, USA
Futures Experience: Advanced
Platform: Sierra Chart, MarketDelta, MetaTrader, Proprietary
Favorite Futures: Oil, Russell, Forex
Posts: 6 since Jun 2015
Thanks: 5 given, 3 received

Please elaborate

Hi. sameers, can you please elaborate on exactly what you are doing with your pseudo-code? I am not understanding exactly what you are suggesting. If you can exemplify I can try to develop an indicator for NT8 so we can test the results.

Reply With Quote
  #4 (permalink)
Trading Apprentice
Raleigh, NC
Futures Experience: Master
Platform: NinjaTrader, custom built
Broker/Data: Direct Market Access
Favorite Futures: ES 6E, CL, GC, ZN
Posts: 3 since Jun 2010
Thanks: 0 given, 2 received

Value area calculation in an unbalanced market profile

I have come across what appears to be the same issue as I began writing code to implement a value area calculation. You could have a very low volume area creating an effective barrier between a point of control and any volume below the very low volume area. This barrier (think of the extreme case of 2 prices that traded 1 contract each) couldn't be breached regardless of how much volume was below until all prices to the high side had been exhausted.

I suspect that is a pretty rare case and if it occurs maybe you just have to live with it but it does seem problematic. I have considered skipping over the volume if it is arbitrarily low and it has "lost" several times in a row (say 4 times) to a higher price. However, that approach seems to be somewhat capricious. I have done quite a few searches (which brought me to this thread) but have not come across anything useful.

Reply With Quote
  #5 (permalink)
Elite Member
Toronto Canada
Futures Experience: Intermediate
Platform: ninjatrader
Favorite Futures: es
mmaker's Avatar
Posts: 370 since Feb 2011
Thanks: 1,176 given, 448 received


Market profile is based on 30 minute timeframe increments.

Volume profile is based on volume.

It looks like you are using volume.

With respect to a double distribution with single prints in the middle, one of the two distributions will have more volume than the other.

So I would start at the vpoc and add rows above and below until the last row was hit. Then you have no choice but to take rows where they are available even if they eat all the single prints and eat into the other distribution(s).

Reply With Quote


futures io > > > > How to Calculate Value Area in unbalanced market profile ?

Upcoming Webinars and Events (4:30PM ET unless noted)

September Journal Challenge (sponsored by TopstepTrader)


Free Elite Membership: Twitter Tuesday and Facebook Friday!

Tue & Fri

Trading with Python: Using Machine Learning w/Ran Aroussi [12:30PM ET]

Elite only

TopstepTrader (TBD)

Sep 25

RandBots (TBD)

Sep 27

Anthony Drager (TBD)

Oct 4

Similar Threads
Thread Thread Starter Forum Replies Last Post
Volume Profile Value Area Definition? Revv Traders Hideout 10 Yesterday 04:14 AM
Steidlmayer Market Profile then who created Volume Profile? TradeAction Traders Hideout 12 December 31st, 2017 08:51 AM
Volume Profile/Market Profile Snapshot Indicator djkiwi The Elite Circle 63 March 4th, 2015 12:25 AM
How to calculate volume profile in excel (if your platform doesnt have it) budfox Traders Hideout 4 February 13th, 2014 03:09 AM
Calculate Developing Value Area Mauro_60 NinjaTrader Programming 8 September 24th, 2013 02:08 PM

All times are GMT -4. The time now is 07:51 AM. (this page content is cached, log in for real-time version)

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2018-09-17 in 0.14 seconds with 14 queries on phoenix