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 NullPointStrategies, Today, 05:17 AM
    0 responses
    19 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    119 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    63 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    41 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    45 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X