Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AddPlot modifiers for NinjaScriptIndicator

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

    AddPlot modifiers for NinjaScriptIndicator

    NT8 EMA uses a plot of:
    AddPlot(Brushes.Goldenrod, NinjaTrader.Custom.Resource.NinjaScriptIndicatorNa meEMA);

    I am attempting copy it to a custom EMA so I can modify the elements of the plot similar to this
    AddPlot(new Stroke(Brushes.Black, DashStyleHelper.Dash, 2), PlotStyle.Line, "Indicator Name");

    Please help.
    Last edited by JMont1; 02-02-2025, 04:45 PM.

    #2
    Hello JMont1,

    Thank you for your post.

    How exactly are you trying to modify it? What difficulties are you facing? I am not seeing anything wrong with this AddPlot() call.

    Below is the Help Guide page for AddPlot() as well.

    Comment


      #3
      The second line is correct. But I cannot get it to be
      AddPlot(new Stroke(Brushes.Black, DashStyleHelper.Dash, 2, PlotStyle.Line, NinjaTrader.Custom.Resource.NinjaScriptIndicatorNa meEMA);

      With the Ninjatrader EMA.

      Comment


        #4
        You do not need to add NinjaTrader.Custom.Resource.NinjaScriptIndicatorNa meEMA. That is only for the system indicator and is not necessary in order for the AddPlot() call to work. You can use whatever name you want for the name parameter.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        557 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        324 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        545 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        547 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X