fxDreema

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

    EA not taking trades unless recently synced

    Questions & Answers
    2
    8
    370
    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.
    • A
      arevald last edited by

      Hey guys,

      So, I have made a very simple EA, which does exceptionally well in backtesting (on some forex pairs. Not all, ofcourse - makes sense).

      In backtest, it makes approximately 1 trade per day - give or take.

      Although more forwardtesting needs to be done, it seems to do equally well when trading live. Yay! So far so good.

      BUT.... it seems like I need to sync to VPS multiple times a day, for the EA to actually take the live trades even though entry conditions are met.

      I've seen it many times now. Happened again just now (1 minute prior to writing this).

      It goes like this:

      Sync the EA to VPS

      Sometime later it looks like entry conditions are met.

      Nothing happens......

      Sync the EA to VPS again (for the nth time).

      Trades immediately placed on 5 pairs.

      As mentioned, this is not the first time this happens. Not always the same number of trades being placed, ofcourse, but you get the picture.

      This, clearly, is not the point of running an EA on VPS.

      Anyone experienced something similar (or identical) and if so, anyone know of an explanation for this behaviour and possibly a solution?

      Thanks

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

        To me how things work on backtest (not results) it does on live. Maybe a configuration problem, the only way to know is to share a link, but even then may not see a problem.

        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! 😊

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

          @jstap it looks like this:
          https://fxdreema.com/shared/JgmiCz3I

          Someone on the mql5 forums suggested that it might be caused by one or more conditions being set as global variables. To me, it doesn't look like that's the case. Would you mind giving it a look?

          Thanks

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

            I do not see how HA can work without a chosen candle type
            image.png
            I don't think spread is a price fraction
            image.png

            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! 😊

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

              @jstap
              HA seems to work in that once a trade is entered, it exits just like it's supposed to without any candle type chosen.
              That leaves the options of spread not being a price fraction (although it works in back test and, as I mentioned, sometimes just after I sync to VPS). I'll set spread to "as is" and see what happens

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

                What I will sometimes do is, value 0 adjusted to +MaxSpread pips

                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! 😊

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

                  @jstap
                  I seem to have it working now. Had change a condition and move the timefilter.
                  Thank you for helping me rule out some things so I could get my attention pointed in the right direction.

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

                    @arevald 👍

                    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

                    L
                    S
                    M
                    T
                    M
                    A
                    R
                    E

                    14
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors