Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to plot a custom bar type

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

    How to plot a custom bar type

    I am trying to create an indicator whose output is similar to a cumulative delta output. The bars would output the cumulative delta of tick movement up and down. Each output bar would start at the cumulative value and the ending value of each output bar would be the "net tick movement" on the current bar. Do I need to use AddBar? If yes how do I plot my values? Do I use an AddPlot whose input is the AddBar values? Any suggestions will be greatly appreciated.

    #2
    Hello goodknight777,

    An indicator would not use AddBar() as this is something used in a BarsType script.

    If you are trying to custom render rectangles over the chart bars, this is possible. The HeikenAshi indicator does this.
    NinjaTrader 8 natively provides Heiken Ashi as a bar type for most common bar types (minute, tick, volume, second, day, week, month, year). This Heiken Ashi indicator is provided for the Range, Renko and any custom bar types that may be added. The indicator performs in the same manner as the NinjaTrader 7 version. 4-27-18 […]
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    648 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    369 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    572 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    574 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X