fxDreema

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

    How to use ZigZag indicator to measure and store swing distance (in pips)?

    Questions & Answers
    2
    4
    166
    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.
    • W
      windsor-2003 last edited by

      Hi everyone,

      I’m trying to build an EA in FXDreema that can measure the total swing size between the latest ZigZag high and low — basically how many pips the market moved from one point to the next.

      What I want to do is:

      Use the ZigZag indicator to detect the last swing high and swing low.

      Calculate the distance in pips between those two points.

      Store that value in a variable (for example, LastSwingPips) so I can later use it for money management or filters.

      I’ve tried using “Indicator value” blocks in FXDreema, but I’m not sure how to correctly pick the last swing points or calculate the difference between them.

      Can anyone share a step-by-step or example on how to do this in FXDreema (or MQL4 if easier to explain)?

      Thanks in advance 🙏

      l'andorrà 1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà @windsor-2003 last edited by

        @windsor-2003 You can do it this way:

        01.png

        Tjis will get the points distance. If you need it in pips, simply add the necessary formula on the 'Adjust the result' box.

        (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
        • W
          windsor-2003 last edited by

          Big Thank Big Man very need your help

          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

            S
            G
            B
            F

            24
            Online

            146.6k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors