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