Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

System closes trade without any reason

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

    System closes trade without any reason

    Hi everybody,

    I got one system :

    Code:
    if (X) {
    SetStopLoss( "Achat", CalculationMode.Price,stopl/1000, false);
    SetProfitTarget("Achat", CalculationMode.Price,grrrhfinal/1000);
    EnterLong( 13000, "Achat");
    }
    So each trade should be closed because of the Stop loss, right ?

    But some trade are closed in the middle of nowhere as you can see on the picture.

    Why ? Because of the managed approach ?

    Thanks a lot
    Attached Files

    #2
    Hello After,

    Thank you for your post.

    Set 'ExitOnClose' to false and test again.

    Comment


      #3
      Thanks Pat now I know it works !

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      605 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      351 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      560 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      561 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X