Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Access Total Net Profit from Strategy Builder?

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

    Access Total Net Profit from Strategy Builder?

    Under the Strategy section in 'builder', we can access Realized PnL, and unrealized PnL. Is there a way to access the Total open and closed PnL for a strategy for the day, from within Strategy Builder? Seems like there should be, if not?

    Thank-You RR

    #2
    Hello RR,

    It would not be possible to add the unrealized and realized pnl and there is not a property for this.

    For any math or for any logic more complicated than very simple comparisons, this would require that the strategy be unlocked and coded by hand.

    Below is a link to an example script that adds the unrealized and realized pnl to check for a daily loss limit.
    Hello, I've updated the DailyLossLimit and DailyLosLimitMultiTrade examples that were posted on the forum for NinjaTrader 7 for NinjaTrader 8. These are often requested and I felt they are good examples to have for NT8. DailyLossLimitExample_NT7 - http://ninjatrader.com/support/forum...241#post451241 (http://ninjatrader
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    90 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    120 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X