Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Seeing positions of other strategies

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

    Seeing positions of other strategies

    Hey guys, is there anyway to see if another strategy has a position open?

    Here's what I want to do:
    Inside strategy 2, I want to check to see if strategy 1 already has an open position, if so, bypass strategy 2 opening a position, if strategy 1 is flat, then strategy 2 would open a position.

    Anyway to do this?

    Thanks,
    EliteTraderNYC

    #2
    Hello EliteTraderNYC,

    I am not aware of a way to get a Strategy's position from one strategy to another besides writing values to a file and reading them in another strategy but there is an unsupported method to be able to get an Account's position that you may use to see if your account is Flat or in a position so that you may bypass this.

    The following link will give you an example of this unsupported way to get a position from an account.
    JCNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    571 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    331 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    549 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    550 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X