• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plot strategy's PnL in a sub panel

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

    Plot strategy's PnL in a sub panel

    Hello,

    Can you please advise me on if there is any way to plot historical and real-time PnL of a NinjaScript strategy in a sub-panel in a form of indicator?

    Best regards,
    Alexei

    #2
    Hello akuntysh,

    You can pass values to an indicator to have it plotted from a strategy or you can plot directly from a strategy as well. The AddPlot works in both an indicator and a strategy. If you want this in a sub panel, you will likely need to follow the strategy plot example and the indicator which uses IsOverlay = false here: https://ninjatrader.com/support/help..._a_ninjasc.htm

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Hi Jesse,

      Got it, thank you!

      Best regards,
      Alexei

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by hurleydood, Today, 10:07 AM
      0 responses
      0 views
      0 likes
      Last Post hurleydood  
      Started by Irukandji, Today, 09:43 AM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_ThomasC  
      Started by TazoTodua, Today, 09:06 AM
      0 responses
      5 views
      0 likes
      Last Post TazoTodua  
      Started by sambo81, Yesterday, 06:57 PM
      1 response
      21 views
      0 likes
      Last Post NinjaTrader_ThomasC  
      Started by tgn55, Today, 08:34 AM
      0 responses
      4 views
      0 likes
      Last Post tgn55
      by tgn55
       
      Working...
      X