PDA

View Full Version : Calculate Value Area - histogram


sbgtrading
01-05-2008, 10:58 AM
I revamped the VolumeZones code to display a rolling MarketProfile. This indicator calculates the VOC, TPO or VWTPO MarketProfile and currently calculates it based on the bars displayed in the chart frame.

I'll work on enhancing this indicator to permit user-defined start/stop periods. But for now, check it out and get your feedback in. Most of all, I'd like to hear how people trade this profitably.

NOTE: The indicator is programmed on V6.5, but I will look into transferring it down to V6.0.

Enjoy!
Ben

NinjaTrader_Josh
01-05-2008, 01:32 PM
Thanks a lot for this one sbgtrading. It looks pretty neat.

sbgtrading
01-12-2008, 04:20 PM
I had a request to color the Value Area histo bars, and that was a great thing to do on a Saturday afternoon!

Also, this is only for V6.5 or higher.

Feedback is appreciated!


Ben

Rollins
01-12-2008, 07:38 PM
Terrific! Thanks

ryker
01-31-2008, 11:34 AM
Works perfectly, this indicator will be awesome with start/ends periods.
Thanks a lot!

MiniDowTrader
02-14-2008, 09:13 AM
I'm using V6.0 but get an error when trying to import the script. Any thoughts on this problem short of downloading V6.5? Thanks.

Edit: I just went ahead and downloaded V6.5. Nice indicator! Thanks!


I had a request to color the Value Area histo bars, and that was a great thing to do on a Saturday afternoon!

Also, this is V6.0 safe.

Feedback is appreciated!


Ben

sbgtrading
02-15-2008, 07:02 AM
Error on import? Hmmm...are you good at manually importing a file? Copy and paste the zipped .CS file into your Indicators directory. I would try that first.

I'm using V6.0 but get an error when trying to import the script. Any thoughts on this problem short of downloading V6.5? Thanks.

Angel
02-29-2008, 05:52 PM
Hello Sbgtrading,

Congratulation for all the very good stuff you do, it's very kind of you !!

My question is : could you build a Price Histogram* indicator running on prices and not volume ?

Thanks for your attention

Take care and happy trading

Cheers

Angel


* http://www.enthios.com/price_histogram.htm
http://www.enthios.com/universal.htm#support

------------------------------------------------------------------------

The histogram on the left side of the chart is drawn during the day in five-minutes or 30 minutes increments. The length of each horizontal line in the histogram represents the amount of time that the market spent at that corresponding price. Thus if the market spends a great amount of time at a particular price, the histogram line for that price will be longer. The longest line in the histogram is the one price where the market spent the most amount of time. It is called the Point of Control or, alternatively, the Control Point. Most traders refer to it as the 'POC'.

sbgtrading
02-29-2008, 06:24 PM
Thank you Angel, for the kind words...I'm glad to help.

About your request...hmmm...I'm thinking the Value Area Histogram indicator I wrote does give you a "price histogram" since it merely totals up the number of times each price bar "touched/transversed" each price. But i it currently does not do any sort of "time" summation.

It's not an unreasonable request to total up the ages of each transacted price instead of the number of touches/transverses...I could simply weight each price by age instead of volume...let me think on that one.

But, to tweak my MP to display multiple histograms on a chart (you know, showing six 5-min histograms on a 30-min chart, etc) would be a big revision to my indicator requiring a bit of coding and developing time. Let me know if that's something you'd want me to pursue on a contract basis.

If you haven't visited my site yet, feel free to stop by at www.affordableindicators.com.


Ben



The histogram on the left side of the chart is drawn during the day in five-minutes or 30 minutes increments. The length of each horizontal line in the histogram represents the amount of time that the market spent at that corresponding price. Thus if the market spends a great amount of time at a particular price, the histogram line for that price will be longer. The longest line in the histogram is the one price where the market spent the most amount of time. It is called the Point of Control or, alternatively, the Control Point. Most traders refer to it as the 'POC'.

Angel
03-01-2008, 04:56 AM
Hello SbgTrading,

Thanks for your very quick reply.

Concerning Price Histogram, it doesn't require to show a 5 Min Price Histo on a 30 Min chart because of requiring a bit of coding and developing time.

It would be best to add some more features as for example :
- To permit user-defined start/stop periods
- To draw horizontal lines for Inner* and outer* Range defining the range as a support and resistance of the previous day

Please, ask me if you need more infos.....

Thanks for your attention

Have a nice week end

Angel



* clink on this link below for Inner/Outer range examples
http://www.enthios.com/price_histogram.htm

marketmasher
03-02-2008, 02:57 PM
Hello Sbgtrading,

Congratulation for all the very good stuff you do, it's very kind of you !!

My question is : could you build a Price Histogram* indicator running on prices and not volume ?

Thanks for your attention

Take care and happy trading

Cheers

Angel


* http://www.enthios.com/price_histogram.htm
http://www.enthios.com/universal.htm#support

------------------------------------------------------------------------

The histogram on the left side of the chart is drawn during the day in five-minutes or 30 minutes increments. The length of each horizontal line in the histogram represents the amount of time that the market spent at that corresponding price. Thus if the market spends a great amount of time at a particular price, the histogram line for that price will be longer. The longest line in the histogram is the one price where the market spent the most amount of time. It is called the Point of Control or, alternatively, the Control Point. Most traders refer to it as the 'POC'.


I was wondering if the Ensign chart is a TPO chart - it looks like a volume histo (don't have Ensign so not sure...)

The TPO is built from a pre-defined period (usually in 30min intervals from 9:30am to 4:15pm EST for ES futures - though it would be helpful to be able to adjust the periods and start/end times.)

So if, i.e., from 9:30 to 10:00 a 1400 price is traversed (one or multiple times) a single TPO is recorded. If price traverses 1400 again from 10:00 to 10:30, the counter at 1400 is incremented to 2, etc.

By looking at the 70% distribution of each successive day's TPO layout, you can draw your own conclusions about S/R. So having historical distributions to review as well as seeing the current day's TPO distrib develop is what MP is supposed to be showing.

sbgtrading
03-02-2008, 11:46 PM
So if, i.e., from 9:30 to 10:00 a 1400 price is traversed (one or multiple times) a single TPO is recorded. If price traverses 1400 again from 10:00 to 10:30, the counter at 1400 is incremented to 2, etc.

Hmmm...I don't think that is calculation method is correct. I believe the TPO is calculated when a price bar covers that price. Let's say you have a 1-minute bar chart. In a 30-minute period, each of the 30 bars could have touched Price X. Therefore, Price X would have a TPO of 30. If only 29 bars touched Price X in that 30-minute period, then Price X would have a TPO of 29. You get this effect when you see the time period letters (A, B, C, D ...) layering one on top of the other on the MP histogram.

Ben

marketmasher
03-03-2008, 01:58 PM
Hmmm...I don't think that is calculation method is correct. I believe the TPO is calculated when a price bar covers that price. Let's say you have a 1-minute bar chart. In a 30-minute period, each of the 30 bars could have touched Price X. Therefore, Price X would have a TPO of 30. If only 29 bars touched Price X in that 30-minute period, then Price X would have a TPO of 29. You get this effect when you see the time period letters (A, B, C, D ...) layering one on top of the other on the MP histogram.

Ben

The TPO Count is the summation of the number of letters across for a given price level (see Mind Over Markets, bottom of page 43). Each letter (A, B, C... in your example) is displayed at a given price level only once in each half-hour period. As the half hours pass, different letters representing different 1/2 hr blocks of time appear next to previous letters at the same price level and it is this horizontal summing of number of letters at a given price that makes the TPO Count for that price level. But each letter represents 1/2 an hour, so regardless of how many times a price is reached in that same 1/2 hr, there will only be one print of that letter at that price level, so the letter adds only 1 to the horizontal count.

So a MP TPO chart could look like this from 9:30 - 11:00EST

B
BC
BC
ABC
ABC
ABC
ABC
ABC
ABCD
ACD
AD
D
D

ABCD has a TPO Count of 4 and is the Point of Control. The same letter never appears next to itself and so only contributes 1 to the total TPO count at it's price level no matter how many times price hit that level for that letter's half hour. (excluding merging multiple days together of course)

FXSurfer
03-09-2008, 11:17 PM
Awesome job on the indicator!
Thanks!

rokafella
03-12-2008, 06:09 PM
Can anyone plot the indi on equities?
I have not been able to.
Please share settings if you are succcessful.
Txs
Rok

sbgtrading
03-12-2008, 06:14 PM
Hi Rok,

The equities might run into a plotting problem if the number of price points (pennies in the case of the equities) exceeds the maximum (I think 500). So, if you have a chart with more than $5.00 (500 pennies) from top to bottom, this indicator does not plot. Let me know if this explains your problem.

Ben


Can anyone plot the indi on equities?
I have not been able to.
Please share settings if you are succcessful.
Txs
Rok

rokafella
03-12-2008, 06:16 PM
Ah...I tried it on GOOG. Makes sense. You da man Ben!
Rok

fragalles
05-12-2008, 11:32 AM
I am using the TPO for targets, its a great way to trade, thank you very much!

one thing: can you make the TPO value in this indicator available so it appears as price marker and that it can be accessed in the strategy wizard?

thx in advance
peter
:)

garciaal
05-13-2008, 03:40 PM
I am getting errors when I compile indicator. See attached screens shot.

Thanks,
Al

sbgtrading
05-13-2008, 10:40 PM
Hi Al,

Send me the ZIP file of the indicator...send it to sbgtrading@yahoo.com and I'll see what's up. You say you're getting this error on compile...hmmm

Thanks,
Ben


I am getting errors when I compile indicator. See attached screens shot.

Thanks,
Al

NinjaTrader_Josh
05-14-2008, 01:29 AM
garciaal,

Just FYI, some of the TRO indicators are not NT6.5 compatible.

garciaal
05-14-2008, 03:50 PM
Josh & Ben,

I am using NT6.0. The Zip file is the last one you posted.

Attached screen shot of what I get if I try to import using Ninja import utility. So I tryed copying .cs file to My Docs as I have done in the past and compiled.

Last import I believe was Grumpie Adaptive CCI which imported just fine.
Thanks , Al

PS: I just tryed importing Vervoort MA Crossover that Ray had posted, and it imported just fine. Then tryed yours again and still get the attached error.

NinjaTrader_Josh
05-15-2008, 02:45 AM
Haven't checked, but Ben's indicator may be for NT6.5 only. Please inquiry with him on that regard.

garciaal
05-15-2008, 03:17 PM
In post # 3 Ben says it is 6.0 safe. So I don't know what I need to get rid of to stop the errors?

Al

NinjaTrader_Josh
05-16-2008, 01:15 AM
Sorry I do not know. You will just need to try compiling and then slowly remove the errors and then import again. Ben will have to help you in this regards since I am not familiar with his indicator.

garciaal
05-16-2008, 07:12 PM
I have gotten rid of all the errors expect, 'The name "chartonly" does not exist in the current context'. This is located at line 49 of the code.
Al

sbgtrading
05-21-2008, 12:51 PM
Hmmm...I have just downloaded the ZIP file from this thread and imported it...there were no errors at all on import, and when I open the NinjaScript file via NinjaTrader and recompiled it, I didn't get any errors there either.

...I'm running v6.5.1000.2


What version of NinjaTrader are you running that you're getting compile errors?

Also, have you had the Ninja support staff look at the possibility of there being problems with your .NET framework or NinjaTrader installation?

Ben

garciaal
05-21-2008, 01:22 PM
I am running 6.0.1000.10. As you mentioned in post#3 it was 6.0 safe.

The error I get when I compile is: The name "chartonly" does not exist in the current context.. located at line 49 of your code. Apparently 6.0 does n't like that word for some reason.

Al

sbgtrading
05-21-2008, 01:35 PM
I'm attaching the Histo indicator that I just ported out of my running copy of v6.0.1000.7

Try importing this into your v6.0.xxxx.x system.

I'll update my earlier post to clear up the confusion...but it does look like that indicator (post#3) is suitable for v6.5.xxxx.x only.


Thanks for your input!

Ben

garciaal
05-21-2008, 06:28 PM
Thanks, that got it working.

Al

JOHNF1
09-19-2008, 12:43 PM
Can you this be used on Tick charts?

Pepperdog
10-04-2008, 07:04 PM
Has this indicator ever been modified to allow user defined start and stop periods? I may decide to code this but my programming skills are pretty crude.

Unfortunately without this function, I would tend to think it has only limited usefulness... but I'd be happy to hear otherwise.

whitegun
10-24-2008, 06:27 AM
Hello Ben,

I wanted to try this indicator on forex (EURUSD), I am with MB trading so I have tick volume and it should theoreticly work but I get the following error on the chart: Array out of bounds Cannot display histo data above 1.25449 price level. HIT F5 to re-inizialize.
If I Hit F5 nothing happens.

Thanks

sbgtrading
10-24-2008, 09:18 AM
Hi Whitegun...there is a limitation with the indicator, it does not handle wide ranges of price. I think there's a limit of somewhere near 1,000 ticks of range. Anything over that amount and the indicator will not produce output.

Ben

Hello Ben,

I wanted to try this indicator on forex (EURUSD), I am with MB trading so I have tick volume and it should theoreticly work but I get the following error on the chart: Array out of bounds Cannot display histo data above 1.25449 price level. HIT F5 to re-inizialize.
If I Hit F5 nothing happens.

Thanks

Jason108
11-03-2008, 11:16 AM
Hey Ben

Thanks for the indicator. Will you update it to remove the 1000 tick limit? thanks!

Best,
Jason

stocastix
11-16-2008, 10:31 PM
I tried installing this indicator and read papers on its use etc.

I am trying on ES Dec contract on a 30 min chart.

The value area is so narrow and the prices are shown swinging on either end far away from the value area. Is this how this is supposed to be?
How does one use this? Is it working correctly? Am i using the right chart timeframes?

stocastix
11-16-2008, 10:41 PM
I tried installing this indicator and read papers on its use etc.

I am trying on ES Dec contract on a 30 min chart.

The value area is so narrow and the prices are shown swinging on either end far away from the value area. Is this how this is supposed to be?
How does one use this? Is it working correctly? Am i using the right chart timeframes?

I downloaded both MPValues and CalculateValueArea and I think the latter works correctly for me while the former doesn't. In the latter the value area seems correct and is a wide band but in the former it is squished and doesnt cover much ground at all.

deanz
01-10-2009, 08:31 PM
Ben thank you for posting your indicator and explaining the way it calculates.

I do have a request :eek: would it be too much to ask to add an on chart Value of the POC point, so we could Compare one days Max volume level to another day. I am not sure where where would be the best place to display it, on the right tip of the POC, or the left side/base of the histogram, or maybe top left of the chart ? The ultimate might be if it was possible to show the other levels in the data window when the mouse is moved up and down but I don't really know if that is practical/possible.


I noticed while I resize/shrink the height of a chart to fit one chart on top of another some of the histogram bars disappear then reappear. Is is easiest to notice when either in VOC profile when viewing bars at a usable zoom, or Max zoomed Out in any profile mode.

regards,

Dean.

sbgtrading
01-11-2009, 05:39 AM
Hello everyone!

I've made a new version of this indicator for your review.

Two changes have been made:

1) The number of minutes the profile calculates on is a parameter input. No longer is the profile based only on the viewable bars. You can have a 3 hour profile and show only the last 20 minutes of bars on your chart. See the screenshots.

2) The numerical values of the POC is shown in a user selectable location on the chart.

Let me know if you have any questions!

Enjoy,
http://img154.imageshack.us/img154/5963/25hrprofilebetween730amae5.png

http://img132.imageshack.us/img132/8051/25hrprofilebetween330amtd2.png

http://img132.imageshack.us/img132/6941/2hrprofilebetween8amandbw9.png

alexmaster
01-12-2009, 08:42 AM
I've made a new version of this indicator for your review.

Hi, sbgtrading, good job! Nice to see this.

But can You add some addition to this indicator? Can You make it looks like MP Profile (without xyzABCD... letters - only volume is needed)? I mean to print all this volume histogramms (all tick volumes summ for each price) by every hour/minute/dome minutes/day etc, as i mention on this screenshoot.

http://fixx.ru/pics/368d7b59291f7bd124c3d8aa5ae20d38.png (http://fixx.ru/v.php?id=368d7b59291f7bd124c3d8aa5ae20d38.png)

You will be the best NT volume master if You'll do it. :)

T2020
01-12-2009, 09:44 AM
It appears this is still a cumulative indicator . So if you set it to 30 minutes,
every minute or so the look back moves forward a bit ? I'm I understanding it
right ? thx

PS . I'd have to second Alexmasters suggestion though .:)

FXSurfer
01-13-2009, 01:13 AM
I've made a new version of this indicator for your review.


Thanks for sharing it!

Works really well!

Good Trading To You,
Brent

NinjaTrader_Bertrand
01-13-2009, 05:09 AM
Thanks for posting your updated version Ben!

rt-trader
01-22-2009, 02:59 PM
Hi Ben,

I am making good use of this indicator - thanks very much for making it available.

I set it up on a day session 1 minute ES chart with a MinutesForMP parameter of 405 so it shows the complete days development.

To make it even more useful I was wondering if you would be able to modify the code so that it could show n previous sessions where n is a parameter.

Thanks again...

deanz
01-26-2009, 11:09 PM
DeanV has kindly modified this indicator to plot a Daily Session and back into History:

http://www.ninjatrader-support2.com/vb/local_links_search.php?action=show&literal=1&search=dValueArea+&desc=1&keys=1

http://www.ninjatrader-support2.com/vb/local_resize.php?linkid=175&size=0

rt-trader
01-26-2009, 11:44 PM
Thankyou very much DeanV,

Will look at this over next day or so...

alexmaster
01-27-2009, 01:44 AM
It's nice..

sbgtrading
01-27-2009, 07:37 AM
Thank you Dean! Appreciate the contribution.

radante
02-21-2009, 07:49 PM
hey guy, i'm a noob.
what do the green dotted lines (VAt) and red dotted lines represent (VAb)?
also, does keeping present method = 0 give you a dynamic read of the volume histogram so that you can see any sudden changes to the POC that occur in real-time?
thanks,

DeanV
02-24-2009, 07:01 AM
Thank you Ben, for the code to build on. I had fun with this as my first try at plot overrides. I was a little disappointed how inefficient the overrides can be when the calcs get a little busy, but it makes sense that windows will have to hit it with each draw request (which happens almost all the time). Hopefully this "undocumented" plot code will hold up when new versions of NT come out.

The 3 lines (POC, VA(x)) will not always be the exact same as Ben's for 2 reasons... 1. I added 3 rules I found elseware, and put the POC more in the middle of a (slot) range, rather than the bottom, and 2. Added the Slots thing to group ticks into ranges. Main reason I grouped them was to limit the array size so that program wouldn't quit when more that 1000 tick range on a day happend. Also adds the option and can change the numbers sometimes. I've actually found that I like the lower settings a little better (i.e. 10, 20, 40, etc.)

radante, there is a lot of info about using this type stuff... just do web searches on Market Profiles and Value Areas. The 3 lines are not real time in that they are showing "yesterdays" placements. I did add 3 numbers on right screen that float around, showing todays development. Think I saw a case or 2 where they changed when the next day started, but are mostly accurate.

I don't plan on doing more development with my code, so Ben or anyone can take it (or any part they like) and grow with it. Just save under a different name in case I do do some maint. on it sometime.

Thanks again Ben, for the base code. Saved me a lot of time to be able to just add on to it.

deanz
03-03-2009, 10:16 PM
Here is one for people who can not afford Volfix or Se7en.

It calculates using all the bars loaded that you asked for when you open a new chart, not just the ones showing on the chart. Here is a comparison between Volfix and Se7en.

Note: If I open a tick chart going back 2 months Ninja uses 650 MB of RAM and I only have 1,000 MB. This is with no indicators loaded, but the really bad thing is when I close the chart Ninja does not give my computer back that 650 MB of RAM, I have to close down Ninja to get my RAM back.... this is very disappointing programming I feel. So bear this in mind when you are trying to get super accurate levels over many weeks. It is better with lesser amounts of days, or using minutes or hourly bars for big look back periods, this will also let you see the histogram better too, to show you how big each level is compared with other levels.

Play with it a bit and you'll soon see what I mean.

I noticed the original CalculateValueAreaHisto does not work on the JPY/USD futures so neither does this one, must be something to do with there being 6 digits after the decimal.

Dean.

EDIT:
There is a similar indicator here:
http://www.ninjatrader-support2.com/vb/showthread.php?t=18882

.

fed2008
03-07-2009, 04:24 AM
deanz thanks for the script!

I just wanted to check what is the best way to get exact data?
When I use 1 tick data for GC for example it is different from the result I get when I try 1 minute.
Can you explain how to use it properly?

And another request - can you make it to calculate trades (as Se7en)
and if possible to modify the script to display a range of 10 top values , not just one?

deanz
03-08-2009, 04:32 AM
deanz thanks for the script!

I just wanted to check what is the best way to get exact data?
When I use 1 tick data for GC for example it is different from the result I get when I try 1 minute.
Can you explain how to use it properly?

And another request - can you make it to calculate trades (as Se7en)
and if possible to modify the script to display a range of 10 top values , not just one?

1 tick chart will be the most accurate, but also the most CPU and RAM intensive, you may find a 1 minute chart is good enough, or even 10 minute, it all depends on how you like to trade. Like if you trade daily candles then having to get levels off a 1 tick chart may be over kill.

Sorry I am not capable of making it display like se7en, maybe someone else will try. If you want to know where other levels are, just go to a higher time frame and look at the shape of the volume profile.

Price tends to congregates around high volume [hills] on the profile, and where there is a valley, it will tend to go to and reverse, or quickly jump over.

rokafella
03-12-2009, 01:29 AM
Good stuff Dean.
Txs.

giraia_br
03-13-2009, 05:34 PM
many thanks Dean.

i hope someone can make a version wich calculate max volume of previous month, week, day using tick, plot the line and erase the ram after it. Is it impossible? Using tick to calculate the max vol of the last hour and 15 min i think is not a problem.

i have two pcs here, one with 512MB and another with 768 and in this way is impossible to use this indicator. :(

roonius
03-13-2009, 09:34 PM
many thanks Dean.

i hope someone can make a version wich calculate max volume of previous month, week, day using tick, plot the line and erase the ram after it. Is it impossible? Using tick to calculate the max vol of the last hour and 15 min i think is not a problem.

i have two pcs here, one with 512MB and another with 768 and in this way is impossible to use this indicator. :(

RAM is cheap these days...

unitrade
04-07-2009, 01:53 AM
many thanks for this indicator.

is there a way to erase the three prices on the chart. i dont mean the price markers on the price axis.

thanks

Jamaica
06-27-2009, 11:34 AM
It calculates using all the bars loaded that you asked for when you open a new chart, not just the ones showing on the chart. Here is a comparison between Volfix and Se7en.


Dean.


Dean,

Thanks a lot, this is an awesome indicator!

Is there a way to add a date range into it? For example if I wanted last weeks volume I could enter start date and end date, kind of like Se7en...

This way you don't have to open several charts. Would be great.

Cheers!

guess121
07-03-2009, 07:31 PM
Hi

I am trying to find Volume at Price during the day between a time frame in the same day and I cannot figure this out - though Dean has this in his attachment - any ideas?

Also does this indicator work in real time as well?

Thanks,
Vip

jeff p
08-19-2009, 06:03 PM
Is there any way to darken the green histogram to make it more visible?

NinjaTrader_Bertrand
08-20-2009, 07:20 AM
Jeff, you would need to step into the custom code and change the color settings for the histogram then.

avanza
09-28-2009, 01:55 AM
I revamped the VolumeZones code to display a rolling MarketProfile. This indicator calculates the VOC, TPO or VWTPO MarketProfile and currently calculates it based on the bars displayed in the chart frame.

I'll work on enhancing this indicator to permit user-defined start/stop periods. But for now, check it out and get your feedback in. Most of all, I'd like to hear how people trade this profitably.

NOTE: The indicator is programmed on V6.5, but I will look into transferring it down to V6.0.

Enjoy!
Ben

Thanx o lot for this. I was just wondering if this doesn´t work on a day timeframe? I a novis NT user but I somehow managed to get EOD chart of swedish omx index in NT through yahoo. This index doesent come with volume, still i would be really cool if it was possible to in the day chart plot a time based histogram (tpo).

NinjaTrader_Josh
09-28-2009, 08:13 AM
Not sure, but I would think those indicators generally require volume to calculate hence their names with the V.

avanza
09-28-2009, 09:30 AM
Not sure, but I would think those indicators generally require volume to calculate hence their names with the V.

I was thinking of the "T" ;) TPO

I actually use thinkorswim aswell for spot fx trading and have such a indicator there. But tos only has omx data for the past 6 months...

cclsys
10-31-2009, 11:38 PM
Would be really nice to have this one configurable to plot in time intervals, i.e. every 30 mins, 60 mins, 180 mins etc.

Very good indicator. Thanks for sharing.

fxspain
11-01-2009, 06:00 AM
Here is one for people who can not afford Volfix or Se7en.

It calculates using all the bars loaded that you asked for when you open a new chart, not just the ones showing on the chart. Here is a comparison between Volfix and Se7en.

Note: If I open a tick chart going back 2 months Ninja uses 650 MB of RAM and I only have 1,000 MB. This is with no indicators loaded, but the really bad thing is when I close the chart Ninja does not give my computer back that 650 MB of RAM, I have to close down Ninja to get my RAM back.... this is very disappointing programming I feel. So bear this in mind when you are trying to get super accurate levels over many weeks. It is better with lesser amounts of days, or using minutes or hourly bars for big look back periods, this will also let you see the histogram better too, to show you how big each level is compared with other levels.

Play with it a bit and you'll soon see what I mean.

I noticed the original CalculateValueAreaHisto does not work on the JPY/USD futures so neither does this one, must be something to do with there being 6 digits after the decimal.

Dean.

EDIT:
There is a similar indicator here:
http://www.ninjatrader-support2.com/vb/showthread.php?t=18882

.


Hi Dean. Please, Could you let me know where can I find the indicator "VolumeatPriceIndicator" you are using on your post #51???. Thanks in advance.

danieljsalas
06-08-2010, 11:31 AM
Hi sbg and Dean.

Is there a way to use VOC in a 1 tick bar and not 1 min data to get more accuracy? is there any improvement for NT7?

thanks

subterfuge
11-09-2010, 06:19 AM
Is there an MPvalues NT7 version?

lawtan
06-21-2011, 08:01 AM
Hi Ben. your indicator CalculateValueAreaHIsto.zip could be what I need to overcome the volumezones plot based on the chart display problem. Do you have an updated version that allowuser-defined start/stop periods? Thanks.
revamped the VolumeZones code to display a rolling MarketProfile. This indicator calculates the VOC, TPO or VWTPO MarketProfile and currently calculates it based on the bars displayed in the chart frame.

dj22522
06-22-2011, 12:52 PM
The CalculateValueAreaHisto_v2 imports and compiles ok in NT7 but doesn't display anything.
It had been working all ok on my NT6.5.

Is it working for anyone on NT7 ?

Appreciate any feedback
Thx

dj22522
07-06-2011, 12:49 PM
NTAustin and koganam kindly assisted.
This is now NT compatible.
exported on NT7.1.1000.6

Thx

miker
07-16-2011, 06:10 AM
Might want to check out this Volume Profile indicator as well: http://www.criticaldata.com/index.php/products-3/volume-profile

dj22522
07-16-2011, 08:40 AM
Might want to check out this Volume Profile indicator as well: http://www.criticaldata.com/index.php/products-3/volume-profile

Thx for the link.

What would be good is if the CalculateValueAreaHistoNT7 indicator could use actual volume rather than the VWTPO, TPO etc.as well as start/stop periods as already mentioned..
but I have no idea how/if it's possible to code it.

Many thx

miker
07-16-2011, 08:55 AM
Full Disclosure: The one I referenced is authored by me. I developed it because I was dissatisfied with others on the market, free or not. I was inspired by the one developed by Investor/RT and which FuturesTrader71 uses. I wanted one like that in IRT; highly accurate, efficient, and as easy to use as possible.
miker (aka. CriticalTrader on Twitter)

CriticalTrader
07-19-2011, 11:53 AM
If you download the indicator, don't forget to request a copy of the current ES Tick VAP cache file! With default parameter settings you will not see a profile on your chart without it. Click here (http://www.criticaldata.com/index.php/contact-us) and include your machine id in message.

dj22522
07-19-2011, 03:48 PM
Re: the CalculateValueAreaHistoNT7.zip in post# 71.

Selecting "Transparent" as a colour for the profile doesn't make it transparent against another indicator that has a background colour.
"Transparent" as a colour makes it white against another indicators background colour.

The zip was kindly converted from NT6.5 to NT7.
Is NT7 the issue here ?

Any assistance appreciated.

Thx

If you download the indicator, don't forget to request a copy of the current ES Tick VAP cache file! With default parameter settings you will not see a profile on your chart without it. Click here (http://www.criticaldata.com/index.php/contact-us) and include your machine id in message.

The profile plots as is so not sure what you're referring to with ES Tick VAP and machine ID...?

CriticalTrader
07-19-2011, 05:02 PM
dj22522, if you have have Volume-At-Price Mode set to UseCache (the default setting) you will only see a profile as it develops for the currently active session as it processes the real-time stream. However, if you want to see the session and composite profiles for prior days, and the mode is UseCache, then I suggest you download the cache file so you won't have to build one. Then the default setting will result in a chart like this (http://screencast.com/t/j5WVfBuSp).

dj22522
07-19-2011, 08:38 PM
dj22522, if you have have Volume-At-Price Mode set to UseCache (the default setting) you will only see a profile as it develops for the currently active session as it processes the real-time stream. However, if you want to see the session and composite profiles for prior days, and the mode is UseCache, then I suggest you download the cache file so you won't have to build one. Then the default setting will result in a chart like this (http://screencast.com/t/j5WVfBuSp).

I'd be grateful if you could help me understand.

The indicator in post# 71 :
1. Does not plot Volume-At-Price, I wish it did, rather it has options of TPO/VWTPO/VOC.
2. The indicator is a "rolling" profile ie: via Parameters a user defined "MinutesForMP" is selected, for instance 15. Such that the profile will display the latest 15 minutes of data.
The profile does not fix itself at the end of a 15 min period and build a new profile each and every 15 minutes.
Rather it keeps "rolling" forward always only covering the latest 15 minutes.

I hope that makes sense. I can't seem to explain it any other way.

3. Are you saying that point 2 above is due to the "UseCache" you mention ?
Such that your cache file will create fixed profiles for, as in the above example, every 15 minutes ?
Your UseCache file will stop the profile rolling forward, in other words, the profile will end after 15 min and a new one will start ?


Many thx.

CriticalTrader
07-19-2011, 08:47 PM
I'd be grateful if you could help me understand.

The indicator in post# 71 :
1. Does not plot Volume-At-Price, I wish it did, rather it has options of TPO/VWTPO/VOC.
2. The indicator is a "rolling" profile ie: via Parameters a user defined "MinutesForMP" is selected, for instance 15. Such that the profile will display the latest 15 minutes of data.
The profile does not fix itself at the end of a 15 min period and build a new profile each and every 15 minutes.
Rather it keeps "rolling" forward always only covering the latest 15 minutes.

I hope that makes sense. I can't seem to explain it any other way.

3. Are you saying that point 2 above is due to the "UseCache" you mention ?
Such that your cache file will create fixed profiles for, as in the above example, every 15 minutes ?
Your UseCache file will stop the profile rolling forward, in other words, the profile will end after 15 min and a new one will start ?


Many thx.
Sorry about the confusion, but we are talking about 2 different indicators. I cannot answer questions about the CalculateValueAreaHIsto indicator in post# 71. I was referring to the CDA VolumeProfile indicator in post#72 (which I developed); it does not do TPO. It is only VP and will never do TPO. If you want to evaluate the CDA VolumeProfile indicator in post#72, download it from the link, install it, and contact me for the cache file.
Hope that helps.

dj22522
07-19-2011, 09:03 PM
Sorry about the confusion, but we are talking about 2 different indicators. I cannot answer questions about the CalculateValueAreaHIsto indicator in post# 71. I was referring to the CDA VolumeProfile indicator in post#72 (which I developed); it does not do TPO. It is only VP and will never do TPO. If you want to evaluate the CDA VolumeProfile indicator in post#72, download it from the link, install it, and contact me for the cache file.
Hope that helps.

Ok, thx. Apologies for the misunderstanding.
I don't really wont TPO either but rather Volume at Price :)

Back to my request of post # 76, if I may re-post it:

Re: the CalculateValueAreaHistoNT7.zip in post# 71.

Selecting "Transparent" as a colour for the profile doesn't make it transparent against another indicator that has a background colour.
"Transparent" as a colour makes it white against another indicators background colour.

The zip was kindly converted from NT6.5 to NT7.
Is NT7 the issue here ?

Can "transparent" be truly transparent ?
Any assistance appreciated.

Thx