Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to make the volume Bar wider

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

    How to make the volume Bar wider

    Hello there,
    I'm codding an indicator, but I need make some like the volume indicator, but I want to involve more than a bar. Its means if I have a secuense of 3 green bar I have to display a value (in bar like the attached image) for those 3 bars.
    Also the bars should use all the time wide, e.g.: if the chart I have candles of 5 minutes, the bar should display all the 5 minutes wide and when a bar finish will continue the next.
    I couldn't find out any way to do this.
    Can someone help me on this?
    Thanks in advance!
    Attached Files

    #2
    Hello Nutriax,

    Thanks for your post.

    Indicator plots will be synchronized to the primary data series. If you want to draw something that spans longer than one draw, I would suggest using Drawing objects or custom rendering.

    Custom rendering will be more performant if there are a lot of drawings to be made and you have more direct control on how the drawings are made.

    Drawing objects may be a quick way to achieve your goal. You could consider using Draw.Rectangle to draw your boxes/bars.

    Drawing - https://ninjatrader.com/support/help...8/?drawing.htm

    To get more acquainted with SharpDX custom rendering, please see the Help Guide article below, and please see the SampleCustomRender indicator that comes with NinjaTrader.



    We look forward to assisting.

    Comment


      #3
      Thank you so much for you reply on this.
      I will have a look to that you mention and I will keep you posted!

      Thank you!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      653 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      370 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
      574 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      577 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X