fxDreema

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

    Why doesn't my EA place trades when i use a negative (-) value for the MA shift

    Questions & Answers
    3
    7
    1253
    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
      fxgjg last edited by

      I am trying to place the Moving Average indicator 10 with a shift of -5... but when i use a -5 in the indicator block for the MA shift... it doesn't place and trades.

      1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà last edited by

        Sounds weird. Are you sure that's the reason? Could you please share your project to take a look at it?

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

          @l-andorrà ok yes here is a link to my project.... whenever i use i (-) minus value for moving average shift no orders get placed...
          https://fxdreema.com/shared/9r3jbJZ2d

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

            @fxgjg When you use negative shift, the moving average (red) moves to the left. There is nothing for the un-shifted (yellow) to compare to.
            0_1583111632286_ab1da7e6-a1b3-4bfe-920a-afc26e9dc27f-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
            • F
              fxgjg last edited by

              @roar i dont quite understand.... i thought i was comparing MA 10 (shift -5) to MA 40 (shift +5).
              Are you saying i cannot use a (-) minus value for comparison?

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

                @fxgjg Period doesnt matter, you must understand how the indicators are updated to the chart. Your EA is trying to make the comparison before the data is there (at current candle time):
                0_1583113760962_b9c75570-6716-4eb1-ad70-3f0f17fed5c6-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 1
                • F
                  fxgjg last edited by

                  @roar okie dokie..... i see now... thanks ever so much!!
                  if only we could predict the future......

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

                  Online Users

                  S
                  O
                  K
                  M
                  M
                  C

                  32
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors