fxDreema

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

    A little problem when combining 2 conditions, pls help me some advise

    Questions & Answers
    0
    12
    323
    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.
    • H
      HHHung94 last edited by

      My project here: https://fxdreema.com/shared/8qRloX11c
      0_1673429472150_Screenshot 2023-01-11 162237.png
      My ideas is when Candle 1 close outside BB and this is the first momentum >> BUY limit at middle price of candle 1.
      But when I set the condition like in my project the BOT continue BUY limit at the next 2nd candle. I Think I have something wrong in logic of the block. Pls give me some advise. Thank so much!
      0_1673430350066_InkedScreenshot 2023-01-11 164252.jpg

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

        @hhhung94 you have to put a "no pending order" just above "buy pending order"

        H 1 Reply Last reply Reply Quote 0
        • H
          HHHung94 @ambrogio last edited by

          @ambrogio Yes, It's worked, BUT when I put an expiration for pending order after 15 mins or 30 mins, Because the pending order doesn't match, then it's happening again. Do you have any other way?
          0_1673432684671_Screenshot 2023-01-11 172432.png

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

            @hhhung94 you need a "pass once" block above "buy pending order", and apart you have to reset it with some condition, this way "pass once" will be active the next time

            1 Reply Last reply Reply Quote 0
            • H
              HHHung94 last edited by

              Do you mean like this?
              0_1673455060451_Screenshot 2023-01-11 233650.png

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

                @hhhung94 yes, now you have to choose a condition to reset this block counter, it depends on your strategy.

                H 1 Reply Last reply Reply Quote 0
                • H
                  HHHung94 @ambrogio last edited by

                  @ambrogio Thanks for the enthusiastic reply, I really appreciate that. But I don't know how to use the block Pass Once. Can you explain it more clear. I'm a newbie. Thank for you help.

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

                    @hhhung94 https://fxdreema.com/shared/v13FJI8mb

                    run a backtest as it is, you will see only one buy trade. Turn on the two disabled block and you can see.........everytime the price goes below the middle line then the "pass once" block will be activated. Look the conditions inside the blocks

                    1 Reply Last reply Reply Quote 0
                    • H
                      HHHung94 last edited by

                      OMG!! It's really work! So amazing!
                      It took me over a month trying all the cases and logic to get what you are doing!
                      This way is simpler than what I was thinking. Thank you so much! I jumped for joy.

                      Allow me to ask just one more small thing about the meaning of the number 34 in "Counter ID (for reset)" and "Reset counter with this ID".

                      0_1673546051990_Screenshot 2023-01-13 005028.png

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

                        @hhhung94 it's just a number to recognize the right block you want to reset. If you put counter ID1 in the pass once block, then you have to put ID1 in the reset block also

                        1 Reply Last reply Reply Quote 0
                        • H
                          HHHung94 last edited by

                          I got it, thank you, you won't understand how much your help means to me.
                          You really saved me.
                          God bless you! ❤

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

                            @hhhung94 you're welcome!

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

                            Online Users

                            J
                            B
                            M

                            25
                            Online

                            146.7k
                            Users

                            22.4k
                            Topics

                            122.6k
                            Posts

                            Powered by NodeBB Forums | Contributors