Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

position flat trading 2 strategies on same instrument

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

    position flat trading 2 strategies on same instrument

    Hi,

    I have 2 strategies which I would like to run at the same instrument.
    In both strategies one of the entry conditions is
    if(Position.MarketPosition==MarketPosition.Flat)

    My questions are

    a) When I run both strategies at the same chart and I have a position in one strategy how is the condition Position.MarketPosition==MarketPosition.Flat for the other strategy evaluated by NT. Am I flat or do I have a position?

    b) When I run the strategies on separate charts. Does a position in one strategy influence that entry condition of the other strategy.

    #2
    Position.MarketPosition is the strategy and not the account position -> both strategies run independently.

    Comment


      #3
      That was helpfull, thanks Dierk.
      How do I access the Broker Position and check it the Broker Position is flat?
      e.g. if (Position.Quantity != 0) { *something usefull* } ... ?

      thx,
      Nathamus

      Comment


        #4
        Unfortunately this is not supported.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        33 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        117 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        70 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        228 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        312 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X