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

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 RookieTrader, Today, 09:37 AM
    3 responses
    15 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by kulwinder73, Today, 10:31 AM
    0 responses
    6 views
    0 likes
    Last Post kulwinder73  
    Started by terofs, Yesterday, 04:18 PM
    1 response
    24 views
    0 likes
    Last Post terofs
    by terofs
     
    Started by CommonWhale, Today, 09:55 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by Gerik, Today, 09:40 AM
    2 responses
    7 views
    0 likes
    Last Post Gerik
    by Gerik
     
    Working...
    X