Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Volumetric Bars - Indicator to Draw Line at Size Filter

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

    Volumetric Bars - Indicator to Draw Line at Size Filter

    I would like to plot a line at a large volume level. I was looking to use the following field in Volumetric Bars, but when I compare it to the Volumetric Chart, it doesn't always plot the line at the max volume. In the screenshot I've it set to plot a line when the volume is more than 1400, but the volume was over a 1000 and it plotted the line using GetMaximumVolume(null, out price);

    Should I be using something other than "GetMaximumVolume"?

    = barsType.Volumes[CurrentBar].GetMaximumVolume(null, out price);
    Attached Files

    #2
    Hello AgriTrdr,

    Thank you for your post.

    Please see the attached sample script, it demonstrates drawing a dot at the price where the highest volume occurred if the volume was over 1000.

    If this doesn't guide you in the right direction, please let me know.
    Attached Files
    Gaby V.NinjaTrader Customer Service

    Comment


      #3
      Hi Gaby,

      Thanks for your response and the file.

      I've been using the MaxCombined as you had suggested. In the attached screenshot in the Output window at 11:42 there were 1993 volume using the indicator and in the Volumetric Chart at the same time there was 1125 volume. There is a discrepancy between the Volumetric Chart and using = barsType.Volumes[CurrentBar].GetMaximumVolume(null, out price);

      Is there a way to resolve this?

      Thanks
      Attached Files

      Comment


        #4
        Hello,

        I haven't been able to recreate this, can I ask you to please provide a screenshot of your Data Series settings for the Volumetric bars? I would like to make sure I'm testing with the same settings.
        Gaby V.NinjaTrader Customer Service

        Comment


          #5
          Absolutely. Please see attached. Thanks
          Attached Files

          Comment


            #6
            Hello AgriTrdr,

            Thanks for providing that.

            I'm unfortunately still not able to reproduce, I noticed in your initial screenshot you're using an indicator called USLargeVolumeArea.

            Do you mind just testing with the provided sample script? This is what I'm using to test. Let me know if you are able to reproduce with the basic sample. If possible please also post a screenshot as you did before showing the bar and the output comparison.
            Last edited by NinjaTrader_Gaby; 12-11-2024, 10:39 AM.
            Gaby V.NinjaTrader Customer Service

            Comment


              #7
              I did further testing to see where the discrepancy is and I believe the script is correct and the chart is incorrect. In the new screenshot attached we could see at 10:32am, the total volume for the bar is 9,394 but if we were to add the volume at each level on the bar it adds up to 3,732.

              Why does the bar not show the complete volume on the chart? If we were to add all the levels, the volume should add to 9,394 on the chart.

              Thanks

              Attached Files

              Comment


                #8
                Hello AgriTrdr,

                This is because you're using Delta as the Chart style instead of BidAsk.

                The delta is measuring the difference between buy volume and the sell volume, which is what you are seeing at each level. Not the actual volume.

                If you switch the ChartStyle to Bid/Ask you will see the buy volume and sell volume values and they'll add up to the volume you see at the bottom.
                Gaby V.NinjaTrader Customer Service

                Comment


                  #9
                  Ok thank you!

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by leunating, Today, 12:56 AM
                  2 responses
                  17 views
                  0 likes
                  Last Post leunating  
                  Started by tmk-c, 07-19-2017, 11:29 PM
                  6 responses
                  1,687 views
                  0 likes
                  Last Post Brightredmegaphone  
                  Started by Trader4Life, Today, 09:20 PM
                  0 responses
                  5 views
                  0 likes
                  Last Post Trader4Life  
                  Started by WileCoyote, Today, 08:26 PM
                  0 responses
                  8 views
                  0 likes
                  Last Post WileCoyote  
                  Started by madankumars, 11-18-2019, 11:12 AM
                  10 responses
                  176 views
                  0 likes
                  Last Post ulisesguerrero  
                  Working...
                  X