Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator (AddPlot) starts at the price of 0

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

    Indicator (AddPlot) starts at the price of 0

    Hello ,

    I added my indicator AddPlot.Bar
    ( AddPlot(new Stroke(Brushes.Orange, 2), PlotStyle.Bar, "Anzeige" ); )

    But the bars start at the price of 0.
    I tried to find out how it works using the other standard indicators. But unfortunately I don't have any
    Solution found.

    Is there an easy solution?

    Best Regards!


    #2
    Hello Burak,

    Thanks for your post.

    No, the bar PlotStyle will always start at 0.

    With your screenshot, it appears that the indicator is plotting in the price panel. You can move the indicator to its own panel in the indicator properties which would fix the display for both the price panel and then indicator.

    In the indicator code you could set the property IsOverLay to false which will tell the indicator to create its own panel automatically.
    Reference: https://ninjatrader.com/support/help...?isoverlay.htm

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    75 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    152 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    162 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    100 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    289 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X