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 NullPointStrategies, Today, 05:17 AM
        0 responses
        53 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        130 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        70 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        44 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        49 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X