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 NullPointStrategies, Today, 05:17 AM
    0 responses
    50 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    126 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    69 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X