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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    152 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    87 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    131 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    127 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    106 views
    0 likes
    Last Post CarlTrading  
    Working...
    X