Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Builder Total Account P & L Overall Profit or Loss

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

    Strategy Builder Total Account P & L Overall Profit or Loss

    Hi folks,

    In the Strategy Builder, how may I, after each exit of a long or short trade, to have it check the total daily p & l of the entire account?

    Example:

    After each exit or close of a long or short trade, look at the account p & l and if it is X dollars in profit or X dollars in loss, then exit all positions and cancel all orders and disable the strategy?



    Greg

    #2
    Hello Greg,

    The RealizedPnL is available, but this is for all strategy trades not daily.

    If you want daily, you would need to save the value to a series and then reset this on the first bar of a new session.

    Below is a link to an example.
    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
    88 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
    119 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