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