fxDreema

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

    Does not work in this EA backtest of MT5.

    Bug Reports
    2
    25
    5030
    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 not know what happens, but this not working through the backtest this EA. What's going on?

      https://fxdreema.com/shared/j5GeMvPjb

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

        Some indicator is missing for this 🙂
        What part of this is not working? Maybe you can check if blocks pass as expected with "Draw arrow" or something like that.

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

          Previous version worked perfectly. The indicator is surely on the platform. It turns out that the chart is locked and not open orders.

          The only change I made was to modify the fixed SL to SL Dynamic.

          See for yourself the change: https://fxdreema.com/shared/lR7g28Pib

          Attached is the indicator.

          ......
          Gann_Hi-lo_Activator_SSL.mq5

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

            Damn these shared projects are broken again 😕 Nevermind...

            Just downloaded the EA from your profile and tried it, I got bunch of errors like...

            2014.04.24 01:52:13.773 2014.02.12 00:00:06 Error: Invalid SL requested (179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.00000 for Ask price 1.36387)

            I don't know there are so many 0, but this number is most probably from a buffer which is not active (visible) at the moment. Which probably means that the wrong buffer is selected.
            Then I saw blocks parameters and I found something weird: http://prntscr.com/3ctma9
            Parameters of Buy now and Sell now are exactly the same, even that "Short position" at the end. And because I'm seeing this for the first time, do you think it's a bug and parameters somehow copied from one block to another, or you manually did that?

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

              Hello fxDreema. Yikes! I copied and pasted, only changing the settings of each block, and did not remember that. For me I changed all the information of the blocks, including the "buy and sell now." It was my mistake, sorry.

              But now is working right! Thank you!

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

                This working parts, as it does not respect the previous candle.

                This coming on the current candle, instead of waiting for the previous candle.

                https://fxdreema.com/shared/y5sApqond

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

                  Now I have a mistake, I found one problem now and fixed it, but even with that it does not show difference. There is a difference if you use Candle ID = 1 for the indicator as well. Why? I think it's because of the way that indicator works. Here is a screenshot at the moment when a Sell position is placed, it looks that the condition passes when the buffer becomes some big value (aka EMPTY_VALUE constant):
                  http://prntscr.com/3d4hid
                  At this exact moment these conditions are right: Low[1] < Indicator[0] and Low[2] > Indicator[1]
                  Low[1] and Low[2] are almost the same. Indicator[0] becomes that big value, which makes it invisible, but mathematically it's a big value, much bigger than Low[1]. Low[2] is obviously above Indicator[1].

                  So, you can set Candle ID to 1 also for the indicator. Or use 2 conditions to detect that crossover. I think this crossover which is built in fxDreema is not very good and accurate, especially when Low or High is used.

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

                    Hello fxDreema. From what I remember, I just had a simple problem with this crossover in moving averages, if I'm not mistaken. As you can see, I am also using the Ask> the line to buy condition. Vice versa for sale. If corrected the crossing problem, could not get better for all of us?

                    The another way to confirm that when crossed and closed above the previous candle. Or a safe way to cross.

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

                      This crossover thing is a little bit... You will see it! I have added 2 new blocks (and I will be quiet about them for a while) in Indicators section. I'm not sure if they will work as every human expect, but the crossover turns out to be something very relative. Look at the turnover option, I hope you will get it's idea, and if you think that the name "turnover" is not suitable, make me know so I can rename it 🙂

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

                        Ok fxDreema. Thanks for the new blocks. I'll be replacing the new prior to the test.

                        For me, the name has no problem. what matters is the functionality.

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

                          And now ... why not work?

                          I tried to select the imput "My Type" for optimization, but it is not possible. I also tried to create a constant text MAType = MODE_EMA, but the indicator does not appear on the chart.

                          Left unchecked imput My Type, the indicator appears to me, but does not open any order. And now, what's happening?

                          https://fxdreema.com/shared/MugKEs0M

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

                            Rename the datatype for this parameter from ENUMMAMETHOD to ENUM_MA_METHOD. http://prntscr.com/3hucfu
                            I'm not sure why it initially appeared that way, I will investigate here...

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

                              Okay I made the correction. But still not working on backtest. Put minimum turnover distance of 1 pip, 5 pips, 10 pips, and no work.

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

                                Is this the indicator? http://prntscr.com/3in5pn

                                These blocks are for indicators that looks like MA, where the price can cross the indicator line multiple times and the line does not disappear because of that. But I checked buffers for this one... I think something is wrong with them anyway.

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

                                  Yeah .. is the indicator called hi lo. It is based on MA. Yeah .. it disappears deleting lines for better viewing.

                                  Interestingly, this indicator is that it has a shift function, which would facilitate in building a strategy, since it would filter automatically false entries, if shift 1, based on my studies.

                                  I made another way that can also be effective with this bookmark. But it happens that in backtest the candle, and only moves when I click the right arrow on the keyboard. When I close the window or turn off the test by pressing the stop button, makes a double sound effect expert being finalized. It seems to be an error. It would be possible to fix it?

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

                                    I think I can't understand the problem with the keyboard 😏

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

                                      Ok fxDreema. I'll try an easier way, I think, is through the MAs. Let's see if the right.

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

                                        Hello fxDreema. I tried with the MAs, but was unable to make a logic that works identical to this indicator. I tried another indicator, but am having problems. It will not appear on the chart and backtest test does not work properly.

                                        Here is the link to my project: https://fxdreema.com/shared/Lq7HafGnc

                                        This indicator attached.

                                        ......
                                        gann_hi_lo_activator_ssl.mq5

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

                                          Mine appears, I compiled that indicator and I have it's .ex5 on the right place: http://prntscr.com/3pxhaa

                                          But I can see problems with BE. The offset (2.5 pip) - where to put SL in relation to the open price - is bigger than the profit (1 pip) that the position needs to reach. So it tries to put SL at 2.5 pips below [above for buy] the open price when the price is only 1 pip below the open price.

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

                                          Online Users

                                          C
                                          K
                                          A
                                          D

                                          12
                                          Online

                                          146.7k
                                          Users

                                          22.4k
                                          Topics

                                          122.6k
                                          Posts

                                          Powered by NodeBB Forums | Contributors