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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    67 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    36 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    60 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X