fxDreema

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

    Skip the first signal

    Questions & Answers
    3
    30
    5674
    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.
    • tcanuto
      tcanuto last edited by

      Hello fxDreema.

      I do need to know how to jump a signal that appears immediately in the market to the next. With this only the 2nd signal from the EA will open the first position.

      I ask this because sometimes my EA enters the end of a trend, and must enter the next signal because it will open in a new trend since the beginning.

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

        Is this some indicator?
        Maybe something like this: http://prntscr.com/4ef2ar

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

          __Is this some indicator?
          Maybe something like this: http://prntscr.com/4ef2ar[/quote:16wnz92b]
          It is. Based on my project: https://fxdreema.com/shared/B9JEHTslc

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

            Will it work if you add this group of 2 Once per bar blocks after 7 and 9?

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

              Have to work like this: https://charts.mql5.com/5/485/gbpusd-h1 ... 63-png.png

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

                I can think of some type of flip-flop functionality, let's say you have a block who passes on every 2nd run. This is not hard to program, but I can smell some problems in this case. If this is a single block placed after the Condition (which detects signals), then it can easily go out of sync.

                I think it needs to be something like this: https://fxdreema.com/shared/4fOTvUmfb
                The Buy side resets the Sell counters and vice versa. I added "Pass once" to make it pass once in case 3rd, 4th or more signals are generated, but this block can be omitted if it's not needed.

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

                  It did not work. See if done right: https://fxdreema.com/shared/Wanej3H0d

                  I also saw that your sample project has a variable named RSImin. Is part too? I also put in my project.

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

                    Please, explain things as accurate as possible to me! It's not only that my native english is not native, I am just not focused normally, many people are asking me questions about different strategies and I just can't process all the data.

                    The problem is this: All the positions are opened fine except the very first one. The problem is that when the EA is started it detects that the indicator (blue line) has just appeared, while on the chart it looks that we are in the middle of it.

                    Remove all the Counter blocks, this was not for your case. I will check what can be done to fix that erratic signal detection, I think I can fix it.

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

                      Now it must be fixed

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

                        So I sent a picture of the platform so you could see an example of how I needed.

                        Now I work the way I needed. Thanks again fxDreema!

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

                          Yes, but in this picture I can't get the idea where everything starts and how it continues, there is only 1 position and I decided that this can be somewhere in the middle of the test

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

                            So. You must not have seen, but in the example has two positions that were open. The first purchase was that it was not to be opened and was negative. The second place where it's ok button.

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

                              One more question ... also is working correctly on MT4?

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

                                I just checked. This working properly. Thank you.

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

                                  Hello fxDreema

                                  Now I need this to work properly otherwise. I'm using a higher timeframe (D1) as a basis to show the trend. Enter the lower timeframe (H1), based on the higher timeframe.

                                  But the order should close as the lowest timeframe (H1) is not closing.

                                  https://fxdreema.com/shared/APPxQFK5c

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

                                    Are those conditions fine? I mean, do you get the proper values for the Candle Close and that indicator? This should be ok, if not... I don't know, check the history for missing data in H1

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

                                      Fixed. It was enough just add a block close positicion the right place.

                                      Was my mistake again. Sorry.

                                      1 Reply Last reply Reply Quote 0
                                      • U
                                        uchiha last edited by

                                        hello Tcanuto

                                        Please can you share how you solved your problem, I'm having a very similar issue.

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

                                          Ushiha, what would be the problem?

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

                                          Online Users

                                          L

                                          12
                                          Online

                                          146.8k
                                          Users

                                          22.4k
                                          Topics

                                          122.6k
                                          Posts

                                          Powered by NodeBB Forums | Contributors