fxDreema

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

    Round numbers block

    Questions & Answers
    2
    14
    2590
    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
      wm71 last edited by

      Hi guys and maybe girls, 😛

      Just discovered this great builder. Great one!!
      Can anybody tell/help me out?

      I want to do a buy and a sell on every round number.
      How can i prevent that it opens another buy or sell on that same value?
      example buy and a sell 1.38 buy and sell 1.39 buy and sell 1.40 so on.
      I don't know how to make it that it won't buy or sell again on the same value until the tp is taken of that buy or sell.
      Example it took a buy and the sell on 1.38 the buy took his take profit and comes back to the 1.38 then it must reopen a buy nat a sell becuase on that value is already a sell open.

      which block or blocks do i need to prevent that it makes multiple buys/sells on that same value (round number)

      Thanks in advance

      Roberto

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        There is a block named "Round numbers detector" which passes **once ** when it reach new level. The orange output on upper level and the yellow output on lower level. This is suitable for trades.

        Otherwise in theory this can be done with pending orders, but I still didn't make it able to calculate exaxt round numbers 🙂 But for grid which is starting from the current price check those blocks for pending orders in grid.

        1 Reply Last reply Reply Quote 0
        • W
          wm71 last edited by

          __There is a block named "Round numbers detector" which passes **once ** when it reach new level. The orange output on upper level and the yellow output on lower level. This is suitable for trades.

          Otherwise in theory this can be done with pending orders, but I still didn't make it able to calculate exaxt round numbers 🙂 But for grid which is starting from the current price check those blocks for pending orders in grid.[/quote:32z9j5w5]

          Thanks for the reply.
          I know about the black round numbers but i wasn't able to make the strategie right.
          I'm gone try it again and again and again 🙂
          The thing is what block do i need below the block round numbers otherwise the buy and sell blocks.
          if trades exist or running trade ore another block?

          cheers

          1 Reply Last reply Reply Quote 0
          • fxDreema
            fxDreema last edited by

            https://fxdreema.com/shared/EBsIfwFVd
            http://prntscr.com/3cx4zm

            What this block do is to wait for the price to travel at some distance (let's say 0.0010) from the last round price, then it passes once and from that point it's all again - it waits for +0.0010 or -0.0010. But it does not pass at the exact round price! The chance to hit exact price is not big. So this block works with conditions like > and <. If for some reason the block missed some quites, it can give you a signal some pips away from the round price. If you run it on every tick it will be as accurate as possible.

            1 Reply Last reply Reply Quote 0
            • W
              wm71 last edited by

              __https://fxdreema.com/shared/EBsIfwFVd
              http://prntscr.com/3cx4zm

              What this block do is to wait for the price to travel at some distance (let's say 0.0010) from the last round price, then it passes once and from that point it's all again - it waits for +0.0010 or -0.0010. But it does not pass at the exact round price! The chance to hit exact price is not big. So this block works with conditions like > and <. If for some reason the block missed some quites, it can give you a signal some pips away from the round price. If you run it on every tick it will be as accurate as possible.[/quote:2knjf7y8]

              ok i got that but i seem to do something wrong
              As follow Can post a picture like you did before?

                                                       ROUND NUMBERS
                                                                               
                                               INDICATOR           INDICATOR
                                                                                 
                                          BUY AND SELL          BUY AND SELL
              

              buy and sell ask price on the (almost same time) on the left

              buy and sell ask price on the (almost same time) on the right

              Must do that on every level even there are sells or buys of the prevent level still open
              Cheers

              1 Reply Last reply Reply Quote 0
              • fxDreema
                fxDreema last edited by

                I think I don't understand this now. Otherwise for screenshots I use a program named Lightshot.

                1 Reply Last reply Reply Quote 0
                • W
                  wm71 last edited by

                  __I think I don't understand this now. Otherwise for screenshots I use a program named Lightshot.[/quote:epd86ugi]

                  Thx but i figured it out. test it and building along

                  Cheers

                  1 Reply Last reply Reply Quote 0
                  • W
                    wm71 last edited by

                    Okey Mister Dreema next problem 😞

                    I made a simple ea for testing but it don't trade the jpy pairs and gold
                    When i start the ea it places the orders directly then the next steps it's doing nothing even when the other ones are closed.
                    Is there a block for that issue?

                    Thx
                    Cheers

                    1 Reply Last reply Reply Quote 0
                    • fxDreema
                      fxDreema last edited by

                      Haha no, there is no block like "Fix my all problems now" 😄
                      I guess it's something in the logic. There is small chance that some block that is used is not working properly (as I found 4 blocks like this minutes ago). Or you are using blocks that you think they work in some way, but they work in another. In any case I can't tell what is the exact problem because I don't know how the project looks (you are using the local version as I can see).

                      1 Reply Last reply Reply Quote 0
                      • W
                        wm71 last edited by

                        No fix all my problems block ? huh
                        Just joking 🙂
                        yes the local version i am getting the idea that the spread block is blocking. he didn't trade at all.
                        Only when the ea's were started 😆 Didn't look very good.
                        I will search what the problem is oyherwise i know where to find you
                        thanks anyway

                        cheers

                        1 Reply Last reply Reply Quote 0
                        • W
                          wm71 last edited by

                          good morning,
                          the problem is not the spread block.
                          When i don't change the magic number (i did change it before) of a roundnumber block ea and i put it in multiple pairs.
                          is that possible? And does one not influence the other?

                          cheers

                          1 Reply Last reply Reply Quote 0
                          • W
                            wm71 last edited by

                            Okey it was indeed the spread filter block under the roundnumber block.

                            Cheers

                            1 Reply Last reply Reply Quote 0
                            • fxDreema
                              fxDreema last edited by

                              "Round numbers detector" - it does not have magic number, only Market name (from which to get the price information) and the value that tells it how to detect round numbers. This block does not care of what trades you have, it works only with the current price.

                              1 Reply Last reply Reply Quote 0
                              • W
                                wm71 last edited by

                                Thanks mate for the answer.

                                It was the spread block that was the conflict it is working now 😄
                                It is a nice generator good work!

                                cheers

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

                                Online Users

                                J
                                T

                                12
                                Online

                                146.9k
                                Users

                                22.4k
                                Topics

                                122.6k
                                Posts

                                Powered by NodeBB Forums | Contributors