fxDreema

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

    I want my EA to only be able to by when price is inside a manually added rectangle, is this possible?

    Questions & Answers
    3
    16
    1313
    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
      joemarkey6 last edited by joemarkey6

      Hi all, I keep on learning how to use FXdreema but cant work out how to do this, when you look at a chart the support and resistance sometimes seems obvious, I would like to be able to draw a rectangle on the chart manually which will allow my EA to continue only if the price is inside the rectangle,

      Please keep it simple,
      any advice please?

      bk7 1 Reply Last reply Reply Quote 0
      • bk7
        bk7 @joemarkey6 last edited by

        @joemarkey6
        the simple answer is, yes it is possible!

        just think about a naming of the rectangle and a color read price coordinates of that and simply check if the price is within that price range, done!

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

          HI bk, thanks for the quick reply, so I drew a rectangle on my chart, in the properties its named "H1 Rectangle 49033", what kind of block would I use to check if market properties(price) is within the rectangle, or which block do I use to get the rectangle properties, thanks for the help

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

            @bk7 Are you sure it is so easy? I don't find the way for the proce to distinguish the left and right ends of the rectangle. I can understand how upper and lower ends can be identified bt price level, but not the other two. Can you please share the way to get that info?

            (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
            • bk7
              bk7 @joemarkey6 last edited by

              @joemarkey6
              loop for objects store prices in variables
              you could check if current mid is above the low of the rectangle & mid is also below the high of the rectangle -> done

              the name of the rectangle would have to be all time the same or you go with a specific color.

              @l-andorrà
              simply store the times to a variable
              the higher value is the end
              the lower value is the start
              current time has to be within the start and end

              does this answer your questions?

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

                @bk7 Interesting. Didn't consider storing time as the equivalent for price for the upper/lower levels. 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
                • J
                  joemarkey6 last edited by

                  Thanks for keeping the info coming, id put this on the back burner but im going to try again

                  1 Reply Last reply Reply Quote 0
                  • J
                    joemarkey6 last edited by

                    Ok, I put a few blocks together but I cant test it yet as my laptop is in for repair and i'm using a fake chromebook, am I on the right lines with what I put together so far?

                    I'll need to draw a rectangle to test it.

                    https://fxdreema.com/shared/GfsNjpg3b

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

                      @joemarkey6 Blocks 3 and 8 are innecessary. Otherwise it should work.

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

                        @l-andorrà @bk7 so i tested it, the rectrangle high and low blocks are working but the time blocks arent, any ideas?

                        1 Reply Last reply Reply Quote 0
                        • J
                          joemarkey6 last edited by

                          0_1617551270286_Screenshot (8).png

                          have I stored the time variable incorrectly?

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

                            @joemarkey6 Time stamp variables should be of a 'string' type. Are they?

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

                              @l-andorrà I think you're right, when I compile it on metaeditor I get this message "implicit conversion from 'number' to 'string" Im not familiar with strings at all, what type is a string type? is it a setting in the block?

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

                                @joemarkey6 No. You just need to modify your variable's settings this way:

                                0_1617618794479_01.png

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

                                  great thanks, ill try it out and let you know how it goes

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    joemarkey6 last edited by joemarkey6

                                    @l-andorrà @bk7 I made the changes but still have the same issue, I think I did something wrong in blocks 12 and 13, any ideas? cheers

                                    green rectangle entry

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

                                    Online Users

                                    S
                                    O
                                    K
                                    M
                                    M
                                    C

                                    15
                                    Online

                                    146.7k
                                    Users

                                    22.4k
                                    Topics

                                    122.6k
                                    Posts

                                    Powered by NodeBB Forums | Contributors