Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trading on different accounts

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

    Trading on different accounts

    Hello,

    I'm trading two different strategies on two accounts.
    Is there a way to calculate cumulative realtime P&L for both accounts and tell one strategy to stop trading when a cumulative profit/stop is reached?

    Let's say I have a strategy A on account 1 and a strategy B on account 2
    The account 1 shows a realtime P&L of 1000 and account 2 a realtime P&L of 500.
    How can I say to stop trading both strategies when cumulative P&L is 1500?

    Do I need a third strategy to control both?

    Thanks.

    #2
    Hi MAX,

    Unfortunately, that is not possible. A strategy can only has access to the PnL for that single iteration of that strategy.

    With NinjaTrader only, you have access to the values found here:


    So, you will need to have all the strategy logic in one single script to achieve what you are seeking to do.
    TimNinjaTrader Customer Service

    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
    148 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    162 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