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