Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Calculate Value Area of volume at price

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    OK Ben

    Thank you ......

    Comment


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

      Ben
      Attached Files
      Last edited by sbgtrading; 12-20-2007, 06:37 PM.

      Comment


        #18
        sbg trading,

        I have installed indicator on v 6.0. Tryed it with close time 16:15 and open time 9:30 and also the default. I don't get anything. Error message in log "index was outside the bounds of the array", what ever that means?


        Any suggestions?

        Thanks,
        Al

        Comment


          #19
          Ben - avaiability for version 6.0 would be greatly appreciated. this is a great addition to NT. thanks for your efforts.
          David

          Comment


            #20
            Ben,

            I had it running on 3min ER on my V6 charts Hi was 760.10, Lo 738.80, default settings.

            I'm ESTime, so maybe its my time settings for indicator. I'm charting only day session 9:30 to 16:15.

            Merry Christmas,
            Al

            Comment


              #21
              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


                #22
                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


                  #23
                  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,
                  Bert
                  Last edited by bertg; 12-20-2007, 10:12 PM.

                  Comment


                    #24
                    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 Post
                    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,
                    Bert

                    Comment


                      #25
                      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


                        #26
                        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


                          #27
                          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 Post
                          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


                            #28
                            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 Post
                            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
                            Attached Files
                            Last edited by sbgtrading; 12-29-2007, 07:47 PM.

                            Comment


                              #29
                              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


                                #30
                                Value and Developing Value in Trade Station

                                Here is an example of Value and Developing Value in TS. The lettered boxes are each 30 minute segment as formed in a MP chart but in a bar view.

                                Click image for larger version

Name:	ScreenShot002.png
Views:	1
Size:	77.8 KB
ID:	848445.

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by junkone, Today, 11:37 AM
                                2 responses
                                14 views
                                0 likes
                                Last Post junkone
                                by junkone
                                 
                                Started by frankthearm, Yesterday, 09:08 AM
                                12 responses
                                43 views
                                0 likes
                                Last Post NinjaTrader_Clayton  
                                Started by quantismo, 04-17-2024, 05:13 PM
                                5 responses
                                35 views
                                0 likes
                                Last Post NinjaTrader_Gaby  
                                Started by proptrade13, Today, 11:06 AM
                                1 response
                                7 views
                                0 likes
                                Last Post NinjaTrader_Clayton  
                                Started by love2code2trade, 04-17-2024, 01:45 PM
                                4 responses
                                35 views
                                0 likes
                                Last Post love2code2trade  
                                Working...
                                X