fxDreema

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

    Simple moving average cross EA PLEASE HELP ME

    Questions & Answers
    3
    9
    1443
    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.
    • B
      Bsalamone last edited by

      @fxdreema Hello!! I am having so much trouble with making my EA I am doing a very simple moving average cross EA for mt4, I want to buy when it crosses over and close sell positions then sell when it crosses again and close buy positions ect, when I run this I get a critical error zero divide, please please please help me find a way to get this working I have been trying to code this in mql4 from scratch then gave up and found fxdreema and I love this idea but similar problems, I would be so thankful if you could help me thank you so much!!!!!

      Brian

      Brian Salamone

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

        Put "once per bar" on top of your project, and also use candle ID 1 in the block settings. These are the basic tricks for every problem lol

        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
        • B
          Bsalamone last edited by

          0_1585672860291_cb1589fd-12d1-49ea-96f0-406604cb6d12-image.png

          Brian Salamone

          1 Reply Last reply Reply Quote 0
          • B
            Bsalamone last edited by

            0_1585672908563_e597348a-3060-466a-9158-f4777180edbc-image.png

            Brian Salamone

            1 Reply Last reply Reply Quote 0
            • B
              Bsalamone last edited by

              0_1585673151497_50a4b167-4494-4c81-9e8f-e3169b1b7356-image.png

              Brian Salamone

              1 Reply Last reply Reply Quote 0
              • B
                Bsalamone last edited by

                I changed the candle to 1 in the condition and it got further, because before i made that change it crashed directly after the sell order was placed, but I am still having the same problem but I cant figure out specifically what to change to get this working properly, I appreciate the help!!! any ideas?? THANK YOU SO MUCH!!

                Brian

                Brian Salamone

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

                  Disconnect those 'Close trade' blocks. You need to create a new tree specifically dedicated to closing trades headed by a 'For each trade' block.

                  (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.

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

                    @l-andorrà thank you!!

                    Brian Salamone

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

                      You're welcome.

                      (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
                      • 1 / 1
                      • First post
                        Last post

                      Online Users

                      A
                      C
                      P

                      16
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors