fxDreema

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

    How do I "draw line" across the spot where I "mouse clicked" on the chart?

    Questions & Answers
    5
    8
    817
    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.
    • J
      jacque82 last edited by

      Hi as the title says, I am trying to make the EA to draw a horizontal line at the point I clicked on the chart.

      How should I set Draw Line: Price (1) so that the line draws on the spot I clicked and not where the candle, market, etc?

      Thanks...

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

        @jacque82 fxdreema doesnt support this natively (easily), but you can rely on the basic mql5 features.

        Whenever a chart event (mouse click, mouse move, button press...) happens, some values are recorded to 3 variables: lparam, dparam and sparam. Fxdreema has its own global variables for those: FXD_ONCHART.lparam, FXD_ONCHART.dparam, FXD_ONCHART.sparam.

        I created a quick troubleshooting tool to inspect the 3 parameters on chart events. Mixing and matching those will get you that line. Its a bit advanced though. https://fxdreema.com/shared/rybSErSfc

        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

        A J l'andorrà 3 Replies Last reply Reply Quote 3
        • A
          ambrogio @roar last edited by

          @roar awesome!

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

            @roar WOW SO COOL!!! Thanks for taking time to explain it and went further in giving an example. Really really appreciate it!

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

              @roar Just curious. What is the 'pass' block for?

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

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

                @l-andorrà "pass" will send every chart event to the comment block, not only mouse moves. Without "pass", the EA will not recognize a button press or object creation, for example.

                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

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

                  @roar Interesting. Thank you very much.

                  (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
                  • MMBInvest
                    MMBInvest last edited by

                    https://fxdreema.com/shared/AYXfqrZte

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

                    Online Users

                    S
                    P
                    T
                    I
                    B
                    A
                    H
                    E

                    27
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors