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 Mindset, 04-21-2026, 06:46 AM
          0 responses
          98 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          143 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          69 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          125 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          77 views
          0 likes
          Last Post PaulMohn  
          Working...
          X