Moving Stop-loss based on profit targets? Easylanguage/MC

Discussion in 'Strategy Building' started by Fudgester, Aug 18, 2020.

  1. Hey guys,

    I am running a trial of MC and trying to accesses as many functions as possible so I can get an understanding of the software and evaluate if I should buy it or not.

    Below is something I am having issue with. I have my initial Stop-loss at 0.6% away from my entry price.
    Once the profit of my position hits 50pts I would like to move the Stop-loss to my entry price.
    Would be awesome if someone could help me on how to go about codeing this logic.

    Thanks and regards,
    Fudge
     
  2. guys anyone ? i am really struggling with this . used setbreakeven function also tried creating conditions and get it . but it takes me out in the same bar which makes no sense at all