Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unwanted "Close position"

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

    Unwanted "Close position"

    Hello,

    I have build a strategy using both long and short positions within the same instrument (EURUSD).
    But when backtesting it keeps closing me positions that I don't want to close. The name of the executions then always is: Close position

    Is this because I have an open long position and open up a short position while long is still open? Can't you have a long and a short position for the same instrument at the same time?
    Is there a workaround?

    Your help is much appreciated,
    Dennis

    #2
    >> Is this because I have an open long position and open up a short position while long is still open?
    Correct

    >> Can't you have a long and a short position for the same instrument at the same time?
    No

    >> Is there a workaround?
    You could try running multiple strategies simultaneously. However, this would be feasible real time only but not in back test mode.

    Comment


      #3
      Dankeschön für die schnelle Antwort :-)

      Comment


        #4
        Bitte schoen

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        55 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        142 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        160 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        96 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        276 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X