fxDreema

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

    Drawing lines at specific round numbers

    Questions & Answers
    4
    30
    2102
    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.
    • C
      cyberspace last edited by

      good day

      @roar, @l-andorrà , @fxDreema

      I am trying to create an EA tat draws horizontal lines at certain round numbers on pips on the chart ,please please assist.

      1 Reply Last reply Reply Quote 0
      • C
        cyberspace last edited by

        @miro1360 , you got any clue?

        1 Reply Last reply Reply Quote 0
        • A
          ambrogio last edited by

          you have to search for MathCeil and MathFloor
          https://fxdreema.com/forum/topic/4454/draw-horizontal-line-and-calculate-round-numbers-from-open-price/3

          1 Reply Last reply Reply Quote 0
          • C
            cyberspace last edited by

            please elaborate , i dont follow

            so I cant build it using blocks on fxdreems

            A 1 Reply Last reply Reply Quote 0
            • C
              cyberspace last edited by

              @miro1360 when i convert the EA you built in the topic https://fxdreema.com/forum/topic/7467/finding-the-nearest-horizontal-line-of-indicator-complex-question?_=1684957084794

              and convert it to mt5 , i get errors

              1 Reply Last reply Reply Quote 0
              • A
                ambrogio @cyberspace last edited by

                @cyberspace said in Drawing lines at specific round numbers:

                please elaborate , i dont follow

                so I cant build it using blocks on fxdreems

                Cattura1.JPG

                1 Reply Last reply Reply Quote 0
                • C
                  cyberspace last edited by

                  why do I keep getting a ASK undeclared identifier error @ambrogio

                  1 Reply Last reply Reply Quote 0
                  • A
                    ambrogio last edited by

                    maybe you wrote ASK in capital letter instead of Ask?

                    1 Reply Last reply Reply Quote 0
                    • C
                      cyberspace last edited by

                      @ambrogio its no working still, try it on your side and see

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        ambrogio last edited by

                        It works for me, otherwise I wouldn't have posted. Please share your attempt that doesn't work

                        1 Reply Last reply Reply Quote 0
                        • A
                          ambrogio @cyberspace last edited by

                          @cyberspace

                          Cattura1.JPG

                          Round up the second digit

                          C T 2 Replies Last reply Reply Quote 0
                          • C
                            cyberspace @ambrogio last edited by

                            @ambrogio
                            shared/AegjtpTW

                            A 2 Replies Last reply Reply Quote 0
                            • T
                              tec.nacks @ambrogio last edited by

                              @ambrogio waow this is lovely man ... being a while .. How are you?

                              How can I draw like 10 of these lines above each other at a specific pips distance and below also ?

                              Can you share a template ?

                              1 Reply Last reply Reply Quote 0
                              • A
                                ambrogio @cyberspace last edited by

                                @cyberspace you have to move "draw line" from "on chart" to "on tick" section.
                                And yes, you are right, it doesn't work because we are on MT5 and not on MT4. I found something on the mql5 site, you have to assign the ask and bid value in MT5, like this

                                https://www.mql5.com/en/forum/372442/page2#comment_33008806

                                Cattura1.JPG

                                T 1 Reply Last reply Reply Quote 0
                                • A
                                  ambrogio @cyberspace last edited by

                                  @cyberspace this is a little example to draw 4 lines, you have to play around depend on your needs

                                  https://fxdreema.com/shared/rCNR5BJnd

                                  @tec-nacks

                                  T 1 Reply Last reply Reply Quote 0
                                  • T
                                    tec.nacks @ambrogio last edited by

                                    @ambrogio thank you man

                                    sure I will

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      tec.nacks @ambrogio last edited by

                                      @ambrogio Ooh..I see. but the custom code is not necessary on MT4 right ? Just the pass and the horizontal line correct ?

                                      A 1 Reply Last reply Reply Quote 0
                                      • A
                                        ambrogio @tec.nacks last edited by ambrogio

                                        @tec-nacks exactly
                                        Be sure that the "pass n times" must be executed AFTER the "pass once" block
                                        And remember to reset these blocks somewhere

                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          tec.nacks @ambrogio last edited by

                                          @ambrogio I will. Thank you man.

                                          Will be in touch

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

                                            This is the second thread you created for the same question. Please don't duplicate threads.

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

                                            Online Users

                                            P
                                            E
                                            R
                                            F
                                            ح
                                            H
                                            J
                                            P

                                            16
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors