Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adding Plots to a New Panel in a Strategy

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

    Adding Plots to a New Panel in a Strategy

    How do you add plots to a strategy to be displayed in a new panel? I know it is possible to have new panels created when you use AddChartIndicator() but I do not see how to do it with AddPlot().

    Now before you say, "Why don't you just create an indicator and use the AddChartIndicator()". That is exacly what I am trying to steer away from. Because I am troubleshooting my strategy's triggering of trades because it seems like the values and or the execution of the indicators when I call them is different then what I am expecting. I essentially want to re-create the indicator from within my strategy and compare the values. Hence why I want to plot from within the strategy to a new price panel, to compare it with the indicators I call.

    #2
    Hello cutzpr,

    Strategies do not have plots. This is something inherent to indicators not strategies.

    You can calculate values and then set the plot value of an indicator.



    An indicator can only have all of its plots in one panel.
    To have the indicator be added to a new panel when adding a new instance of the indicator, set IsOverlay to true.
    Below is a public link to the help guide.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    42 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    29 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    46 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X