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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      156 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      90 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      140 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      130 views
      1 like
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      107 views
      0 likes
      Last Post CarlTrading  
      Working...
      X