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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    30 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Working...
    X