Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adding plots to Price panel and a new panel

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

    Adding plots to Price panel and a new panel

    Hi Support,

    If an indicator or strategy generates two plots. I would like to have one added to the price panel, while the other on its own panel underneath the price. Is this possible? If so, how can I do it in code?

    Thanks,
    -Alaa

    #2
    Hello aelagha,

    An indicator can only plot to its panel so the options to do this would include:
    Plotting in the sub panel and then using a drawing object with DrawOnPricePanel = true.
    Using a strategy with multiple "dummy" indicators. A strategy can add multiple indicators to the primary panel or their own panel and then have them plot values. There is a sample of that concept in the following link: https://ninjatrader.com/support/help..._a_ninjasc.htm

    I look forward to being of further assistance.

    Comment


      #3
      Thank. That helps. IS there an example of the first (plotting an indicator in a sub panel...)?
      Last edited by aelagha; 08-31-2021, 11:18 PM.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      84 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      47 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      66 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      69 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      58 views
      0 likes
      Last Post CarlTrading  
      Working...
      X