Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Plots to Non-Price Panels

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

    Strategy Plots to Non-Price Panels

    In NT6.5, I can assign "strategy plots" to non-price PanelUI > 1 from a strategy as shown below, however in NT7 it does not seem to work. Is this feature, or an alternative approach, still available in NT7? Thanks.

    Code:
    // Add Daily Pnl Strategy Plot
    Add(wmDailyPnlPlot(0));
    wmDailyPnlPlot(0).Plots[0].Pen.Color = Color.Green;
    wmDailyPnlPlot(0).Plots[0].Pen.Width = 3;
    wmDailyPnlPlot(0).PanelUI = 3;
    Whitmark
    whitmark
    NinjaTrader Ecosystem Vendor - Whitmark Development

    #2
    I am also having challenges getting a regular indicator to plot on a panel other than the top panel when ADDed in a strategy.

    Code:
    Add(ATR(10));	
    ATR(10).Panel = 2;
    Has this capability changed under NT7?

    Whitmark
    whitmark
    NinjaTrader Ecosystem Vendor - Whitmark Development

    Comment


      #3
      Thank you for reporting. We will look into it and let you know.
      Josh P.NinjaTrader Customer Service

      Comment


        #4
        This should work in the next beta version.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          NT7 Strategy Indicator Panel Placement

          Looks like this is working now in NT7B3 for both situations, thank you. In the case of adding a regular indicator from a strategy, if the indicator has Overlay=true, then the indicator will be added to Panel=0, else it will be added to Panel=1 or you can assign it specifically within the Initialization method (e.g., ATR(10).Panel=2). If I recall correctly, NT6.5 would default to placing the indicator to Panel=0 if Overlay=true was NOT used within the indicator so a code change may be neccessary for some.

          Whitmark
          whitmark
          NinjaTrader Ecosystem Vendor - Whitmark Development

          Comment


            #6
            6.5 adds them to new panels I believe. If you just did Add(MACD(12, 26, 9)); it goes to a new panel.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CaptainJack, 05-29-2026, 05:09 AM
            0 responses
            71 views
            0 likes
            Last Post CaptainJack  
            Started by CaptainJack, 05-29-2026, 12:02 AM
            0 responses
            42 views
            0 likes
            Last Post CaptainJack  
            Started by charlesugo_1, 05-26-2026, 05:03 PM
            0 responses
            110 views
            0 likes
            Last Post charlesugo_1  
            Started by DannyP96, 05-18-2026, 02:38 PM
            1 response
            190 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 05-11-2026, 05:56 AM
            0 responses
            172 views
            0 likes
            Last Post CarlTrading  
            Working...
            X