fxDreema

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

    Help needed. Live trading not working on VPS or locally

    Bug Reports
    3
    7
    484
    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 folks,

      I hope you can help me out, because I'm at a loss here.

      Here's my problem:

      I make an EA on fxdreema (I can't code). Simple trading strategy, nothing fancy, involving some EMAs and price breaking though one of them by some minimum distance. Simple trade management with a trailing stop being triggered at X amount of profit. Simple, nothing fancy or overly complex.

      Multiple backtests in MT4 on 2 instruments and 2 timeframes. EA performs beatifully.

      Apply EA to chart. Tick AllowLivetrading. Untick AllowDllimport. Allow trading in both directions

      Backtest again from charts. Beatiful performance

      Migrate succesfully to VPS.
      VPS started. Ping distance to broker appr. 1 millisecond.

      Watch the charts in realtime, see entry conditions clearly being met aaaaaand..

      Nothing. No trades are being taken on VPS.

      Stop VPS. Allow live trading locally.
      Watch charts in realtime. See entryconditions clearly being met.

      Nothing. No trades placed locally either.

      Try all of the above several times, also with alternative entry conditions and money management.

      Backtest working fine each time.

      Livetrading... nothing. No trades placed either on VPS or locally.

      At no point, any sign of errors or other explanations (that I can identify) in journals and logs.

      What am I missing?

      Thank you

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

        If backtest is working fine, then there probably isn't much I can help with, if I can see the set up then I might see the 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! 😊

        1 Reply Last reply Reply Quote 0
        • C
          cmuphyfx last edited by

          You could write a simple EA that takes a trade every bar with a 0.01 lot size. See if that executes, if so, you know that EA's are working correctly on MT5. If not, then you might have found the issue. Outside of that, we'd have to see your EA to know what the issue might be.

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

            Thanks for your input. So, a development in the story. The EA just made a trade on one of the instruments I have it attached to and running on VPS. So that's cool. So it seems the code might be ok, although it also seems to me that it should making more trades. If not the code, then what could cause an EA to enter on some of the times entry conditions are met?
            How should I share the EA? As MQL4? Here? That would be a pretty long post

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

              Ok. this could end up being quite embarrasing. Anohter trade just taken. Entry point still looks wrong to me on the charts, though. I can think of two explanations at this point. Either the issue could be a latency thing or it could be me simply reading the charts wrong. Will post updates when I know more.

              1 Reply Last reply Reply Quote 0
              • C
                cmuphyfx last edited by

                This is a dumb question, but are you running the EA on the same broker that you tested on? There can be a significant difference between brokers, but the EA should NOT read the charts differently in any case.

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

                  So, it looks like the EA is actually working as it is supposed to and just me being impatient.

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

                  Online Users

                  A
                  A
                  F
                  E
                  A

                  16
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors