fxDreema

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

    Help convert this file

    Questions & Answers
    3
    9
    1057
    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.
    • D
      donjon122 last edited by donjon122

      Hi guys I was wonder if anyone would be able to conve

      1 Reply Last reply Reply Quote 0
      • M
        miro1360 last edited by

        is this not working?
        https://fxdreema.com/converter

        Between trading and gambling is a very small gap, be careful.

        1 Reply Last reply Reply Quote 0
        • D
          donjon122 last edited by

          it doesn't work for this indi or maybe I'm that dumb so I don't know how to use it, please help convert this indicator , I would really appreciate it

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

            It appears that the function Bars() returns 0. I don't know why, I think it worked before, and it works when it is used in an EA. Very strange.

            Here is some indicator on the bottom where Bars() is used, and it looks that it doesn't work as well: https://www.mql5.com/en/docs/basis/function/events Can you confirm?

            Otherwise the indicator works when this value is bigger than 0... but why it is 0...

            D 1 Reply Last reply Reply Quote 0
            • D
              donjon122 @fxDreema last edited by

              @fxDreema Yeah I know it's pretty strange, but don't you have any solution how to convert that for mt5?

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

                Well, I now think that this is some newly introduced bug in MQL5. This is the way it should be, but it doesn't work 😕 The indicator needs to know the number of bars in order to make its calculations for all of them, but Bars() returns 0 bars. If you write any positive number it will work... write 100 and you will see the line for 100 candles, but this is not exactly the best way to do this.

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

                  I think it works if you use _rates_total instead of that Bars() function. I'm not 100% that this would be the correct way to make it work, but I think it works

                  1 Reply Last reply Reply Quote 0
                  • D
                    donjon122 @fxDreema last edited by

                    @fxDreema Would you mind to do it for me, because I have no experience with MQL coding, I would really appreciate your help, Thanks

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

                      Convert the file again

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

                      Online Users

                      H
                      G

                      10
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors