Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can I manage profit & loss by chart instead of by session?

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

    Can I manage profit & loss by chart instead of by session?

    I'm using GetAccountValue(AccountItem.RealizedProfitLoss) to calculate the session gain or loss. I've got values in my strategy for stopping trading based on session gain.

    I realize that I want to break it down by chart. So if my ES strategy makes 300, I want it to stop, but let others keep going. That way I can control by instrument how much gain is made.

    Right now, if one chart makes 300, then the session made it and all charts stop. I'd like to specify that each chart makes 300 (or loses 300) and stop that chart/instrument/strategy.

    Then I want an overall session global loss limit.

    Thanks.

    #2
    Hello,

    Your only option is to track the PnL per strategy inside of the strategy using this sample.

    Stopping a strategy after consecutive losers
    BrettNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    633 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    364 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    567 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    568 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X