Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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

    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by lorem, 04-25-2024, 09:18 AM
    17 responses
    67 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by joselube001, 05-10-2024, 12:17 PM
    3 responses
    19 views
    0 likes
    Last Post joselube001  
    Started by DawnTreader, 05-08-2024, 05:58 PM
    21 responses
    81 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by doihaveto13, Today, 12:46 PM
    2 responses
    4 views
    0 likes
    Last Post doihaveto13  
    Started by Vitamite, Today, 12:48 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X