fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Trailing profit as MT4 with right-click - EA

    Questions & Answers
    2
    3
    166
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      foudid last edited by

      Hi all,

      I'm trying to recreate the same way that the trailing profit does in MT4 but with an EA. I need to automate that because I'm not 100% of my time in front of my screen.

      Here my builder : https://fxdreema.com/shared/S34wMxzBb

      I have changed the settings to have a kind of 2 decimals for only GOLD (XAUUSD)

      0_1637584139034_2f5a4992-aad2-4d73-8094-c2b988778d70-image.png
      I hope that is correct
      20 points will be 2 pips

      The way that the MT4 trailing works it's only when the trade is in profit.
      If I choose 20 points > if my entry is 1800.00, when the price reaches 1800.20 > it il add an SL after the prices moves 1 point so > Price 1800.21 > SL 1800.01 etc

      I have done many changes and sometimes, I have an TP, others an SL but I can't reach to trail on MT4 way.
      I try to add a Breakeaven and move this BE but it doesn't move.

      If someone could give me some advices on what I'm doing wrong, It will be wonderfull 🙂

      Thanks all for your time !

      1 Reply Last reply Reply Quote 0
      • F
        foudid last edited by

        I figured to add a stop-loss in Ontrade for N = 1
        and added a trailing stop in InTick but the SL keeps changing to the first value of the SL

        It's blinking with new value and the first SL.

        Is there something wrong on MT4 ?

        Here the link if someone has some time to check : https://fxdreema.com/shared/bUluKL5Yc

        0_1637612317566_243e771a-1247-4022-8eec-d772562fad3e-image.png

        0_1637612334560_e2ddc7e5-3db5-4614-ae44-28a0954e9f4c-image.png

        Thanks all for your help

        jstap 1 Reply Last reply Reply Quote 0
        • jstap
          jstap @foudid last edited by

          @foudid This is because you have a confliction with the 2 different types of trail, Itsays in the instructions that trail should be in the on tick section.

          Learn fxDreema Without the Wait!

          My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

          The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

          Don’t miss out

          Click here➡️ https://mybook.to/fxDreema to get your copy today!

          Enjoy! 😊

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          Online Users

          E
          A
          C
          A
          B

          11
          Online

          146.9k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors