Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

order size is too high

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

    order size is too high

    Hi

    I'm running a mech system with MA-crossovers. It's quite simple so I was pretty sure that the set up is right. At a up-crossover, the system enters long et exit shorts, at a down-crossover, the systems exits short and enters long. Exits at end of day.

    The first position enters and exits correctly, yesterday was the first time that the system reversed a trade intraday and a mistake happened. The close of the position is correct, but the enter happens twice ( a double position)

    For example:
    Crossover up: buy 400 shares SKF
    crossover down: Sell (close) 400 shares SKF, short sell 400 shares SKF

    This would have been correct so far, but there was another trade sell 400 shares SKF


    Please see set up in the attachment. the down-crossover -set up is just the opposite.


    What is wrong with the set up?


    Thanky for any help....
    Attached Files

    #2
    Please remove your Exit() calls from your conditions, as the Enter() methods would automatically reverse your position for you - then please retest the strategy.

    Comment


      #3
      Hi Bertrand

      Thanks.

      Meanwhile I tried other options and think that a found a solution. The set up is the same as before but instead of leaving it blank I set for every signal a signal name and it seems that it works.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      68 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      150 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      162 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      100 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      288 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X