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 cmoran13, Yesterday, 01:02 PM
    0 responses
    27 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    18 views
    0 likes
    Last Post PaulMohn  
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    160 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    95 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    148 views
    2 likes
    Last Post CaptainJack  
    Working...
    X