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


How to Calculate Value Area in unbalanced market profile ?
Started: by sameers Views / Replies:464 / 4
Last Reply: Attachments:0

Welcome to futures io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • 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, and we will never resell your private information.

-- Big Mike

Reply
 
Thread Tools Search this Thread
 

How to Calculate Value Area in unbalanced market profile ?

  #1 (permalink)
Trading Apprentice
Mumbai
 
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) ?

1.
resultVAL = POC;
resultVAH = POC:

2.
CurrentVolume = POCVolume

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

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

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

——valIndex;
valVolume = volume[vahIndex]; (new volume)

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

else
{
CurrentVolume += VahVolume;
resultVAH = vahIndex;

++vahVolume;
vahVolume = volume[vahIndex];

// This is idea I am suggesting where we also advance valIndex
—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
Omer עומר / Israel י
 
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: 1,833 since Sep 2013
Thanks: 1,310 given, 2,757 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: 353 since Feb 2011
Thanks: 1,167 given, 391 received

@sameer

Futures Edge on FIO
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

Reply



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

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Spring Grains Outlook w/Sean Lusk @ Walsh Trading

Elite only

FIO Video Journal Challenge featuring NinjaTrader ($2,000+ of prizes)

April

Process above all else w/Anthony Crudele @ Futures Radio Show

Elite only

Machine Learning - Quantitative Trading w/Martin Froehler @ Quantiacs

Elite only

Market Dynamics w/Peter Davies @ Jigsaw Trading

Elite only

Ask Me Anything w/Patrick Rooney @ Trading Technologies

Apr 18

Ask Me Anything w/FuturesTrader71

Apr 19

Machine Learning w/Kris Longmore

Elite only

Market Analysis w/Dave Forss

Apr 25

Introducing iSystems with Stage 5 Trading

Apr 27
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Steidlmayer Market Profile then who created Volume Profile? TradeAction Traders Hideout 7 August 13th, 2016 09:20 PM
Volume Profile Value Area Definition? Revv Traders Hideout 5 June 14th, 2016 12:15 PM
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 10:51 AM.

no new posts
Page generated 2017-03-30 in 0.10 seconds with 19 queries on phoenix via your IP 54.205.126.164