Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Two added strategies takin trades while the other is in position

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

    Two added strategies takin trades while the other is in position

    I added two strategies to a chart (strategy # 1 and strategy # 2). Strategy # 1 took a short, then strategy # 2 took a short while strategy # 1 was still in a short position. Now in both strategies, I use condition statement:

    if (Position.MarketPosition == MarketPosition.Flat)

    I thought that if I use the condition statement above, that a position can't be taken in strategy # 2 if strategy # 1 was in position and vise verses. Are there any settings that will keep strategy # 2 flat as long as strategy # 1 is in position or vise verses?

    ​​​​​​​Thanks.

    #2
    Each strategy runs independently.

    A running strategy has no idea about other running strategies.

    The 'Position' object only reflects the market position of
    the strategy it is running inside of -- there is no (easy) way
    to quickly check on the market position of other running
    strategies.

    Comment


      #3
      Hello AdeptistJune,

      As forum member bltdavid advised each strategy runs independently of any other strategy (or manually placed orders). Each strategy maintains its own (strategy) position while they share the account position and there can only be one account position of long, short or flat at any moment.

      In general, we do not recommend running more than one strategy on the same instrument and same account. It is a better experience to combine the strategies into one if possible. or to run them on separate accounts.

      Comment


        #4
        Okay. I thought that might be the case.

        Thanks.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        67 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        41 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        202 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        366 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        283 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X