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 charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    60 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    147 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    161 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    97 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    284 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X