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, 03-31-2026, 09:41 PM
    1 response
    45 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
    31 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
    42 views
    0 likes
    Last Post CarlTrading  
    Working...
    X