fxDreema

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

    Phantom Moving Average

    Bug Reports
    4
    9
    2673
    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.
    • isp00rt
      isp00rt last edited by

      For a reason I don't understand, a 100 bars moving average appears when backtesting this EA:

      https://fxdreema.com/shared/DZGmOsPSd

      As you can see, no such MA is programmed at any block. Why did that appear?

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

        Hmm I only see 300 and 1000 MA in my BT

        Need small help? Tag me in your post
        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

          Really? Could you please try a short backtest? You will see a 100 MA acting as a moving SL. That's the weirdest thing I've seen so far.

          This EA was originally designed for a 100 MA. I bactested it and results were bad. Then I changed all blocks for a 300 MA but the original one still remains somehow. 😞

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

            EURUSD M30, every tick:
            0_1549821854718_7fe75d37-06de-49b0-ba13-32ba890f7af7-image.png

            Really strange if you get different results.. Do you have these default inputs?
            0_1549821919264_7624ef32-6a20-43f8-920f-c69319e37be8-image.png

            Need small help? Tag me in your post
            Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

              Yes, I'm using the same default imputs, but things are worsening. I don't know why, but now the EA doesn't run at all. This is what is shown at the logs.

              0_1549897410026_00.png

              Any suggestion?

              1 Reply Last reply Reply Quote 0
              • H
                Hadees last edited by Hadees

                I would rebuild the entire thing in a new project and that should get rid of the phantom moving average.

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

                  I can confirm the problem is within the EA. I tested other EAs on the same chart, TF, etc and it works perfectly. I will have to rebuild it from scratch and try it again.

                  Dear fxDreema, could you please check out everything is going right on your mq5 part of the platform? This is the third problem I found in a row 😞

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

                    I don't see 100 MA line, I only see 300 and 1000. But you said that you used 100 before, so I think it could be some kind of cache.

                    That Access violation problem... maybe you ran out of RAM. I have never seen such error before, but I have 32 GB of RAM and most of the time I don't think about it. I also never investigated how EAs are filling the RAM, so I'm not sure from where these 4626 MB are coming from.

                    MQL5 is very weird sometimes. The thing is, in order for me to fix some problem, I need to somehow replicate that problem here on my PC, so I can do tests and everything else 🙂

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

                      I created a new project from scratch and it works fine. Apparently there was some cache, as you suggested. Additionally I am using a different lapto with more RAM and I can confirm the error is no more. Once again the more RAM the better.

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

                      Online Users

                      E
                      R
                      S
                      A
                      B
                      N
                      M
                      A
                      T
                      V
                      M

                      26
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors