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 CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    35 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    199 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    365 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    283 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X