Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator not plotting in charts, value shows up in Market Analyzer

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

    Indicator not plotting in charts, value shows up in Market Analyzer

    I created a custom indicator with the wizard. The correct real time value shows up in Market Analyzer, but when I apply the indicator to a chart it makes the window for the indicator but no line is showing up. I'm certain there is an easy fix, maybe I did something wrong in the wizard in regards to charting?

    In the code it does have the line:
    "Add(new Plot(Color.FromKnownColor(KnownColor.Blue), PlotStyle.Line, "MyIndicator"));

    It seems to me that is the right line. Any ideas???

    P.S. I'm brand new to Ninja Trader

    #2
    Hello,

    Are there any errors on the Log tab of the Control Center when you apply the indicator?

    What is the indicator supposed to be calculating? Would you be able to post the values from the OnBarUpdate section of the code?
    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    68 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    39 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X