Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Evolving Value Area Indicator for Current Day

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

    #16
    Hello Trader17,

    Thanks for your note.

    Since this is referring to custom calculations in your script, debugging steps would need to be taken to determine how your script is processing and calculating values.

    Something you could do is add prints before and after each calculation and assignment in the script to print all the values used for calculations to the NinjaScript Output window for comparison.

    Below is a link to a forum post demonstrating how to use prints to understand behavior.
    https://ninjatrader.com/support/foru...121#post791121

    Let us know if we may further assist.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #17
      Originally posted by NinjaTrader_BrandonH View Post
      Hello Trader17,

      Thanks for your note.

      Since this is referring to custom calculations in your script, debugging steps would need to be taken to determine how your script is processing and calculating values.

      Something you could do is add prints before and after each calculation and assignment in the script to print all the values used for calculations to the NinjaScript Output window for comparison.

      Below is a link to a forum post demonstrating how to use prints to understand behavior.
      https://ninjatrader.com/support/foru...121#post791121

      Let us know if we may further assist.
      NinjaTrader_BrandonH I do not think you understood. If you see the examples above I am using the NT8 Order Flow Profile Indicator. The figures you see in blue to the right of the bar are the VAH and VAL printed by the NT8 indicator. The 2 lines through those levels is my script I wrote to test out. As you will see the NT8 indicator at 70% is not calculating correctly.
      I am attaching another example. The blue numbers are plotted by the NT8 Order Flow Volume Profile Indicator. 70% of 18 is approximately 13. You see it is plotted the Value Area High above the High of the Bar. My sample script caught it properly within the bar. The 2 plots at prices is my script. I am pointing out the NT8 Indicator discrepancies to be precise. Not sure if the High/Low or zeroes at several levels could be throwing it off. Would be great to look into it. Have shown you a few examples confirming the errors in the indicator.
      If the NT8 Indicator was exposed to script I could help you by printing the values as you want me to. But it is not my script and it is locked.
      Thanks.
      Attached Files

      Comment


        #18
        Originally posted by NinjaTrader_BrandonH View Post
        Hello Trader17,

        Thanks for your note.

        Since this is referring to custom calculations in your script, debugging steps would need to be taken to determine how your script is processing and calculating values.

        Something you could do is add prints before and after each calculation and assignment in the script to print all the values used for calculations to the NinjaScript Output window for comparison.

        Below is a link to a forum post demonstrating how to use prints to understand behavior.
        https://ninjatrader.com/support/foru...121#post791121

        Let us know if we may further assist.
        NinjaTrader_BrandonH here is another example. I cannot use prints in the NT8 Order Flow Volume Profile Indicator as it is not exposed to script. I scratched one to prove to myself it was doing something weird.
        Thanks.
        Attached Files

        Comment


          #19
          Hello Trader17,

          Thanks for your note.

          Since you are making a custom calculation of the Value Area in your script, you would need to check your work using prints in the script to see how the script is calculating values. This does not mean that NinjaTrader is wrong.

          In regards to the NinjaTrader indicator, a couple of things to note are:
          1. Value area consists of volume at specific price levels that make up the X% of total volume. You can end up with a Value Area of 68% actually taking up >68%. See the next screenshot, where it is 71.5%.
          2. Value Area could be calculated a few different ways.
          For example, see the attached screenshot. Here the Value Area is actually 71.5% If you count the volume in the value area region, it should add up to 131. The total volume is 183.

          Let us know if we may assist further.
          Attached Files
          <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

          Comment


            #20
            I found an indicator that shows evolving value area on the forum for NT 7 and converted the indicator to the best of my ability. I tested the indicator and it does load and plot lines as well I could use it in Strategy Builder, but it is slow. I also noticed the lines are not accurate compared to NT OF. I take this as a start and if other users want to help out in developing and improving this indicator because I feel it would be a great benefit to all traders who would like to use evolving value area in their trading with NT8.
            Attached Files

            Comment


              #21
              Originally posted by AgriTrdr View Post
              I found an indicator that shows evolving value area on the forum for NT 7 and converted the indicator to the best of my ability. I tested the indicator and it does load and plot lines as well I could use it in Strategy Builder, but it is slow. I also noticed the lines are not accurate compared to NT OF. I take this as a start and if other users want to help out in developing and improving this indicator because I feel it would be a great benefit to all traders who would like to use evolving value area in their trading with NT8.
              Do you have the NT8 version also?
              Thanks.

              Comment


                #22
                Originally posted by NinjaTrader_BrandonH View Post
                Hello Trader17,

                Thanks for your note.

                Since you are making a custom calculation of the Value Area in your script, you would need to check your work using prints in the script to see how the script is calculating values. This does not mean that NinjaTrader is wrong.

                In regards to the NinjaTrader indicator, a couple of things to note are:
                1. Value area consists of volume at specific price levels that make up the X% of total volume. You can end up with a Value Area of 68% actually taking up >68%. See the next screenshot, where it is 71.5%.
                2. Value Area could be calculated a few different ways.
                For example, see the attached screenshot. Here the Value Area is actually 71.5% If you count the volume in the value area region, it should add up to 131. The total volume is 183.

                Let us know if we may assist further.
                Thanks NinjaTrader_BrandonH I am not worried about that 71.5% which will almost always be the case if not always as it will be very difficult to arrive at exactly 70% each time. My issue is when it falls short. I am attaching another example for you from today. I have set it at 70% and so 70% of 31 is 21.7 or 22 approximately. NT8 has made the Value Area from 4374 to 4375.50 which has a total volume of 20 which falls short of a minimum of 21.7 to meet that 70% threshold. I have seen them appearing randomly. Do you know if NT8 uses one or two levels above the POC to start it's calculations?
                NinjaTrader_BrandonH since it is not exposed to me I would suggest to you printing 70% of the total volume of the bar and printing the volume from the value area below each bar and then comparing them and you will see the errors as I am seeing and showing to you and proving the discrepancy.
                Cheers.
                Attached Files

                Comment


                  #23
                  Originally posted by Trader17 View Post

                  Do you have the NT8 version also?
                  Thanks.
                  There are 2 files. One that doesn't say NT7 is NT8 version.

                  Comment


                    #24
                    Originally posted by AgriTrdr View Post

                    There are 2 files. One that doesn't say NT7 is NT8 version.
                    Thanks. Is this for the entire day's profile? I am drawing individual profiles on each bar.
                    Thanks.

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                    0 responses
                    578 views
                    0 likes
                    Last Post Geovanny Suaza  
                    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                    0 responses
                    334 views
                    1 like
                    Last Post Geovanny Suaza  
                    Started by Mindset, 02-09-2026, 11:44 AM
                    0 responses
                    101 views
                    0 likes
                    Last Post Mindset
                    by Mindset
                     
                    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                    0 responses
                    554 views
                    1 like
                    Last Post Geovanny Suaza  
                    Started by RFrosty, 01-28-2026, 06:49 PM
                    0 responses
                    551 views
                    1 like
                    Last Post RFrosty
                    by RFrosty
                     
                    Working...
                    X