Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problem cancelling orders - positions add up?

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

    Problem cancelling orders - positions add up?

    Hello,

    anyone a tip for that?

    I have a strategy loosing tons of money on the YM at the moment (which is ok - it is absolutely not finished, I am right now working on filtering and logic).

    Anyhow, it works "good" on the YM.

    Now, I did put it onto the TF. On the TF I Have the problem that the positions get "out of what".

    The strategy opens three lots, under 3 signals. THis works perfect on the YM - it gets stopped out etc.

    Now, on the TF, I regularly end up with 5-6 open lots on the simulator. Basically, it seems my code triggers multiple closes, which results in reversed positions.

    I can see that, because i see "CLose Position" for 3 cars, and then "Buy to Cover". Same price, same amount. The result is a reverse in positions - on which sometimes then my "normal reverse" (reverse signal) is added.

    Example:

    * Sell 3 cars normaly, one for each signal.
    * Some bars later, I get a reversal. I get:
    - Buy to Cover
    - CLose Position
    - 3 signal adds.

    Naturally - it should not buy to cover AND close the position.

    Any idea what may happen here?

    #2
    NetTecture, have you tried using TraceOrders to get an idea of what your strategy is "thinking"? TraceOrders will tell you most everything you need to know about the strategy's orders. Here is a link to a great post by Josh that explains how to use TraceOrders.
    AustinNinjaTrader Customer Service

    Comment


      #3
      TraceOrders is in now. Lets see what happens.

      Funny enough, that was rare in most circumstances on my main market (YM), while it happened pretty regular in the other market. I will see what it was

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      662 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      376 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      110 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      575 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      580 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X