Thank you ......
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Calculate Value Area of volume at price
Collapse
X
-
Calculate Value Area for V6.0
I've transfered the code down to V6.0 of Ninja Trader and it's attached below.
I'm working on fixing the Open time / Close Time bug...that will come shortly.
From now on, I will work to make the code V6.0 compatible. The big problem would be in the DrawTextFixed routine found only in V6.5. I'll probably replace it with Print (to the output window). This is what I'll do with the SquareOf9 indicator.
BenAttached FilesLast edited by sbgtrading; 12-20-2007, 06:37 PM.
Comment
-
Hi Ben
Thanks for the update. Currently using 6.5 so I do not need for 6.0.
However the update does not print any lines. I tried it for ER2
I tried OpenHour set to 7, OpenMinute set to 30 SessionLengthInHours set to 6.75. These settings should give open at 7:30 am and close at 2:15 pm MST.
I also tried OpenHour set to 22, OpenMinute set to 00 SessionLengthInHours set to 23.98. These settings should give open at 10:00 pm and close at around 9:59 pm MST.
Thank you for your efforts.
Best wishes for Christmas and the New Year
Comment
-
Bug fix
Just in time for Christmas!
The known bugs have been fixed and new ZIP have been uploaded to this thread! All ZIP files on this thread have been updated to the current version of the indicator, the V6.5 as well as the V6 indicator (both have the same functions)
I've corrected the "array index out of range" error and also corrected a bug with the "VWTPO" (my Volume Weighted Time Price Opportunity profile type) calculation...so if you use VWTPO, make sure you download and import this update.
Merry Christmas everyone! And have a blessed and prosperous New Year!
Enjoy,
Ben
Comment
-
SBG,
First, thanks for the indy.
I a still having having problems getting the indicator to plot:
it works when I have the chart properties set to:
Session Begins: 12:00 AM
Session Ends: 12:00 AM
(I don't use evening sessions in my charts)
It doesn't plot when my chart properties are set to:
Session Begins: 8:30 AM
Session Ends: 3:15 PM
(which is the session I usually use)
In both examples above, the indicator has:
OpenHour: 8
OpenMinute: 30
SessionLengthInHours: 6.75
Any ideas?
Thank you,
BertLast edited by bertg; 12-20-2007, 10:12 PM.
Comment
-
New v6.5 posted in Message#1 and dealing with Chart Session times
Thanks for the info, Bert.
Firstly, to anyone who's running the NTv6.5 of this indicator, please go to message 1 of this thread and download the CalculateValueAreaAndPOC.ZIP and install. I discovered that I had posted an older version of the indicator, not the fully corrected one...so please download it again if you have trouble with the "array index" issue.
Now Bert, to your problem specifically. CalculateValueArea is looking for two bars on your chart. First bar it looks for is the one you have set at 8:30am. The second bar it's looking for is the one immediately AFTER the end of session bar (8:30am+6.75hours+1 bar = 3:15pm+1 bar)...the session times you set have to supply those bars. So if CalculateValueArea is set to start at 8:30am and finish 6.75 hours later, then you need to set your chart session time to 8:30am and 1 bar after 3:15pm. To be sure, I'd take your bar period (let's say 3-minute bars) and triple it (9 minutes) and set your chart session to 8:30am and 3:24pm. Or, if you want to shrink the session time on CalculateValueArea, you can do that to, but you probably won't need the 3 bar offset, you can probably get away with 1 or 2 bars. Set that to 8:30am and with a session length of 6.7 hours (6 hours and 42 minutes which sets the end time to 3:12pm)
Originally posted by bertg View PostSBG,
First, thanks for the indy.
I a still having having problems getting the indicator to plot:
it works when I have the chart properties set to:
Session Begins: 12:00 AM
Session Ends: 12:00 AM
(I don't use evening sessions in my charts)
It doesn't plot when my chart properties are set to:
Session Begins: 8:30 AM
Session Ends: 3:15 PM
(which is the session I usually use)
In both examples above, the indicator has:
OpenHour: 8
OpenMinute: 30
SessionLengthInHours: 6.75
Any ideas?
Thank you,
Bert
Comment
-
Request
Dear SBG,
I love this indicator. Thanks so much. I have a request for an addition to this indicator. It would be so great if you could also code for the current day's developing Value and POC. This is an important and useful area to either fade or look for a breakout. This would make your indicator Purrfect.
Let me know if this is possible. Thanks again.
Bryan
Comment
-
Question on reading the values of this indicator...
first a super-thanks to Ben. This has been a very profitable indicator for me.
I'm curious about the POC though. On some days it is drawn outside of the value area. Is this normal? It is not my understanding of the way it is supposed to work.Bug or feature? Or am I missing something?
Thanks in advance,
Taters
Comment
-
I'm glad you're using it to your advantage!
Perhaps someone with more day-to-day experience with the POC can answer this question for you. But it is entirely possible for the POC to be outside of the value are on any chart.
Ben
Originally posted by Taters View Postfirst a super-thanks to Ben. This has been a very profitable indicator for me.
I'm curious about the POC though. On some days it is drawn outside of the value area. Is this normal? It is not my understanding of the way it is supposed to work.Bug or feature? Or am I missing something?
Thanks in advance,
Taters
Comment
-
Calculate developing Value Area modification
Take a look at this attachment (it's V6.0 compatible).
I've coded it so you can select either a rolling time period or a fixed start and end time period.
Any other suggestions? Keep them coming.
Enjoy!
Ben
Originally posted by marketguy2 View PostDear SBG,
I love this indicator. Thanks so much. I have a request for an addition to this indicator. It would be so great if you could also code for the current day's developing Value and POC. This is an important and useful area to either fade or look for a breakout. This would make your indicator Purrfect.
Let me know if this is possible. Thanks again.
BryanAttached FilesLast edited by sbgtrading; 12-29-2007, 07:47 PM.
Comment
-
Thanks for all your work on these indicators. I have 2 different MP charts open, so I am tracking yesterday's value and the developing value. Never do you see POC above or below (outside of) the value area as you see in these indicators. (Although sometimes you see POC at or near the VAH or VAL)
These can be very valuable indicators but something is off here.
Bryan
Comment
-
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by cre8able, Today, 01:16 PM
|
1 response
4 views
0 likes
|
Last Post Today, 01:30 PM | ||
Started by chbruno, 04-24-2024, 04:10 PM
|
3 responses
48 views
0 likes
|
Last Post Today, 01:29 PM | ||
Started by samish18, Today, 01:01 PM
|
1 response
6 views
0 likes
|
Last Post Today, 01:25 PM | ||
Started by WHICKED, Today, 12:56 PM
|
1 response
8 views
0 likes
|
Last Post Today, 01:17 PM | ||
Started by WHICKED, Today, 12:45 PM
|
1 response
11 views
0 likes
|
Last Post Today, 01:08 PM |
Comment