fxDreema

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

    How to terminate EA if target Equity is reached?

    Questions & Answers
    2
    24
    4953
    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
      fxforgood last edited by

      Yes...
      that was an issue, but when I delete it, I still cannot do anything

      anyway, this one is working well
      https://fxdreema.com/shared/G6OdIPVkd

      thanks

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        I just found another issue in "For each Trade" and fixed it. It was all in the section of code responsible for sorting trades by profit. By the way I think you don't need that at all, mostly because this sorting also takes more time. But thank you for using it, because as a result I spotted these issues 🙂 Well, there is still a problem if too big OCO pending order is used, but I have no idea how to handle this anyway, maybe stopping the whole EA (which actually happens with these errors).

        I put the EA with -2 (but without it) to 1 year backtest and now it looks that it works.

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

          YESSSSSSSSSSSSSSSSSSSSSSSSSSSS.....................................!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
          You really make may day now...........................

          Thank you thanks a lot................
          I love you.............

          PS: I am stright though hahahahhahaha

          Great Job fxdreema!!!!

          1 Reply Last reply Reply Quote 0
          • fxDreema
            fxDreema last edited by

            First I created problem for you for few days and then you say "Thank you" when I deserve criticism. Human nature is weird 🙂

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

              __First I created problem for you for few days and then you say "Thank you" when I deserve criticism. Human nature is weird :)[/quote:hskjqgai]

              indeed...but you really Mahaguru when it comes to helping the one like me who don't know at all about MQL language
              this is brilliant Bro

              greetings from java, Indonesia

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

              Online Users

              5
              C
              E
              S
              T
              F
              F
              D
              J
              D

              20
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors