Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Same Strategy Different Timeframes (with 1 position)

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

    Same Strategy Different Timeframes (with 1 position)

    Hi there

    I want to run my strategy across 2 or 3 different timeframes without charts so I am using the Strategies tab.

    The problem I am having is that due to margin restrictions, I can only have 1 position per timeframe or Data Series (3 min, 5 min).

    I have always used

    Position.MarketPosition == MarketPosition.Flat


    to accomplish this but now it doesn't seem to be working correctly. That is, when long on one timeframe, then another timeframe gets an alert it takes a trade but then stops out.

    When it checks it is Flat does it check the Positions in the account or just the timeframe? How to get it to check just the timeframe?

    #2
    Originally posted by ij001 View Post
    Hi there

    I want to run my strategy across 2 or 3 different timeframes without charts so I am using the Strategies tab.

    The problem I am having is that due to margin restrictions, I can only have 1 position per timeframe or Data Series (3 min, 5 min).

    I have always used

    Position.MarketPosition == MarketPosition.Flat


    to accomplish this but now it doesn't seem to be working correctly. That is, when long on one timeframe, then another timeframe gets an alert it takes a trade but then stops out.

    When it checks it is Flat does it check the Positions in the account or just the timeframe? How to get it to check just the timeframe?

    Sorry the stop out appears to be another issue. Will Entries per direction = 2 and Unique Entries solve my question about Positions in the account?

    Comment


      #3
      ij001, the strategy instances would not cross communicate, thus the Position check you do would only be done for the indiviual instance - your one timeframe on that this strategy instance is run.

      The EntryHandling settings you mention would also apply not globally to all strategies, but to each instance again. To limit trades you could run a MultiSeries strategy here, so all trading for the timeframes would be done from one strategy instance.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      649 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      370 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      109 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      573 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      576 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X