Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw Volume Profile from NinjaScript

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

    Draw Volume Profile from NinjaScript

    Hi,

    Is there any way to get the upper/lower points of a value area of a volume profile within NinjaScript? Also, I want to be able to pass in different percentages values for calculating the VA.

    Ideally, I'm looking to pass in:
    1) a starting bar
    2) an ending bar
    3) a percentage value for the value area (say 20%)

    ...and have it return the upper and lower numbers for the value area.

    Note, the number of bars varies and is not constant and neither is the VA%. For example, Some condition triggers and I may need the upper/lower VA points for 24% of the VA for 70 bars. The next time the condition occurs I may need 41% of the VA for 153 bars.

    Is there anything that you can point me to that would do this from within NinjaScript? I've looked around and haven't found anything yet.

    Thanks,
    gbrad


    #2
    Hello gbrad, thanks for your post.

    The OrderFlow Volume Profile and standard Volume Profile are not supported for NinjaScript access at this time. One indicator that might be of interest is the DValueArea:

    https://ninjatraderecosystem.com/use...ad/dvaluearea/

    Best regards,
    -ChrisL

    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

    Comment


      #3
      Thanks Chris.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      636 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      366 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      107 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      569 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      571 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X