Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Order Flow Volume Profile not exposed for NinjaScript access.

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

    Order Flow Volume Profile not exposed for NinjaScript access.

    Any chance this might change?
    It would be useful to see it and learn from it.

    #2
    Hello Mindset,

    Thanks for your post.

    The Order Flow Volume Profile values are not exposed for NinjaScript access.

    We are currently tracking interest for this in an internal ticket and I have added your vote.

    The internal tracking number for your feature request is SFT-3402. Please reference this internal tracking number when contacting Platform Support if you ever have questions regarding this feature request.

    When a feature request is implemented, you'll find a description of the new feature in the release notes:Let us know if we may assist further.
    <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


      #3
      Brandon
      the help guide uses Current bar to get the value
      Print("Total Volume: " + barsType.Volumes[CurrentBar].TotalVolume);

      if I put barsType.Volumes[1] however I don't get the prior bar's volume?
      am i missing something here?

      If I use Print(Volume[1]) however I do get the correct value???

      Comment


        #4
        Hello MindSet,

        Thanks for your note.

        "Print(Volume[1])"

        Volume[int barsAgo] is a Series<double> that holds historical bar volume values. This would be the volume value seen in something like the Data Box window. This is not the same as the Order Flow Volumetric Bars.

        See this help guide about Volume: https://ninjatrader.com/support/help...ies_volume.htm

        "Print("Total Volume: " + barsType.Volumes[CurrentBar].TotalVolume);"

        Order Flow Volumetric Bars use indexes and not a barsAgo value. From the help guide: "Please note in the example above a CurrentBar reference is used as index, and not a BarsAgo reference."

        See this help guide page for information about Order Flow Volumetric Bars and sample code: https://ninjatrader.com/support/help...tric_bars2.htm

        Let us know if we may assist further.
        <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


          #5
          Ah I hadn't picked that up - thanks Brandon.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          648 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          369 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          109 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          573 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          575 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X