Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Customizing Order Flow Volumetric Bar Type possible?

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

    Customizing Order Flow Volumetric Bar Type possible?

    Hi,

    I really like the Footprint / Volumetric Bars in Ninja, but I would like, for example, to display the total Volume "inside" the bid / ask-table, for example as an overlay. So I wonder if there is an code-example how I could use the already existing volumetric bars and modify the display for my needs. I would like to do this based on this bar type and not as a custom indicator to reduce calculation / loading times, and since I only want to chance "cosmetics" I would love to be able to "reuse" the already existing bar type. Can I simply "inherit" the bar type and modify the way volume is displayed, for example?

    I attached a screenshot from the settings I currently use to display the bars to clarify what I mentioned above.
    I own a lifetime license, btw. and I am not sure whether this is the right subforum, so please move this thread if needed. Thanks in advance!
    Attached Files

    #2
    Hi mbwh1989, thanks for posting. The OrderFlow Volumetric bars are closed source, so that will not be available to read in the NinjaScript editor. The OrderFlow Volumetric bars are accessible through scripts though, so you can call AddVolumetric() and use all of the data from the volumetric bars. The only challenging part after that would be rendering the display using SharpDX. For a full example on using OnRender and SharpDX see the built in example indicator "SampleCustomRender". Here is more info on adding a Volumetric Series to your script:




    Kind regards,
    -ChrisL

    Comment


      #3
      Thank you very much Chris, I will see where that will me lead to

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      637 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
      572 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X