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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        43 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        21 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        30 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        50 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        42 views
        0 likes
        Last Post CarlTrading  
        Working...
        X