Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Dual Bar type Plots?

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

    Dual Bar type Plots?

    Is it possible to plot two bars with different values in the same "bar". Meaning something like:

    Code:
    AddPlot(new Stroke(Brushes.Lime, 2), PlotStyle.Bar, "V1");
    AddPlot(new Stroke(Brushes.Red, 2), PlotStyle.Bar, "V2");
    ...and have them both show up side by side in the window? Seems it is only possible to plot one of the bars. Any other way to do this to show the relationship between two values in a similar way? Thanks.

    #2
    Hello fxRichard,

    Yes, there is no limit to the number of plots you can add.

    If the plots are both in the same panel, one will be on top of the others. You can adjust the z-index by selecting the plot, hold the shift key, and scroll the mouse wheel up or down.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks Chelsea, that's what I'm trying to do is 2 bar plots in the same panel side by side not on top of each other.

      Comment


        #4
        Hello fxRichard,

        No, bar plots are centered on the bar and cannot be changed. They would not show side by side but would show on top of each other.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        132 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        74 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        117 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        113 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        89 views
        0 likes
        Last Post CarlTrading  
        Working...
        X