fxDreema

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

    MACD and SIGNAL Difference

    General Discussions
    2
    5
    851
    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.
    • V
      vmaruziva last edited by

      Hi guys, i need to create a condition that passes once the difference between the MACD value and the SIGNAL value of the same candle are above a set value. For example i want my EA to enter a trade once the difference between MACD and SIGNAL of candle ID 1 is above the value 2. If the difference is less than the value 2, no trade is opened. How can i do this, may you please help.

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

        @vmaruziva https://fxdreema.com/shared/fwsrsGTyb
        0_1616766132936_884b29bf-3446-4889-8a48-bfe1f78716a9-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
        • V
          vmaruziva last edited by

          @roar Thanx hey, but i see you put the +2 on the MACD signal side. If i want the MACD Main line to be always >2 do i put a +2 on the MACD main side or i can also use the > sign

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

            @vmaruziva my picture says "main line is 2 above signal line". Thats how the math works here

            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
            • V
              vmaruziva last edited by

              @roar I have tried the way you showed me but still its opening trades where i dont want it to. I want to enter a buy trade only if the MACD main line is at least 2 above the MACD signal. A sell trade when the MACD main is at least 2 less than the MACD signal.

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

              Online Users

              O
              J
              B
              M

              15
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors