fxDreema

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

    Editing source code

    Questions & Answers
    3
    35
    2817
    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.
    • Y
      ykmark last edited by

      Can someone edit my sources code outside of fxdreema and when it done. Can I import the ea back to fxdreema ?

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

        You would lose the changes when importing back.

        Need small help? Tag me in your post
        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

          You can do what you want with the source code, but if you want to change the behavior of the EA from the source code, I think this is a waste of time.

          You can import the EA back, but not because of its source code. The project data (blocks, connections, patameters and everything) is appended at the bottom in a comment section - this is what is the data that is imported. The MQL code does nothing when importing.

          Y 1 Reply Last reply Reply Quote 0
          • Y
            ykmark @roar last edited by

            @roar wow. I was about to pay some one to fix some errors so I can upload it to mql5. But there is no point to that . If the changes will be loss

            fxDreema roar 2 Replies Last reply Reply Quote 0
            • fxDreema
              fxDreema @ykmark last edited by

              @ykmark Ah, you mean EA that is from somewhere else. Such EA does not contain that specific project data, written by fxDreema. Only EAs generated by fxDreema can then be imported back, and only because of that specific comment section at the bottom.

              Y 1 Reply Last reply Reply Quote 0
              • Y
                ykmark @fxDreema last edited by

                @fxDreema I worked on my EA for a long time but it giving me a errors in the journal tab : mismatched data errors. But it works fine at the same time. Can you check it for me?

                1 Reply Last reply Reply Quote 0
                • roar
                  roar @ykmark last edited by roar

                  @ykmark what kind of errors do you have? It may be possible to do everything in fxdreema

                  Edit: Data mismatch is about your history data, EA is fine

                  Need small help? Tag me in your post
                  Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                  1 Reply Last reply Reply Quote 0
                  • Y
                    ykmark last edited by

                    TesterGenerator mismatched data errors

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

                      @ykmark said in Editing source code:

                      TesterGenerator mismatched data errors

                      These errors have nothing to do with the EA. Try another EA, you will see them again. These errors are because of missing history data in some timeframes.

                      https://www.earnforex.com/guides/unmatched-data-error-in-mt4-strategy-tester/

                      Y 1 Reply Last reply Reply Quote 0
                      • Y
                        ykmark @fxDreema last edited by

                        @fxDreema no. No one knew how to fix it that why I went to look for help outside

                        1 Reply Last reply Reply Quote 0
                        • Y
                          ykmark @fxDreema last edited by

                          @fxDreema what should I do then ?

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

                            Or, if you are talking about errors from the compiler, it sounds to me that these are not errors, but warnings. If the EA can be compiled and you can get the .ex4/.ex5 file, just check whether the EA is working correctly. Otherwise if they are real errors and you can't get .ex4/.ex5 file... well, they need to be fixed by someone who understands MQL

                            1 Reply Last reply Reply Quote 0
                            • Y
                              ykmark last edited by

                              They are not a real errors. It can run on live account. But I can’t pass the test on mql5 so I can upload my EA into there platform.

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

                                Mql5 upload test is telling you about data mismatch error?

                                Need small help? Tag me in your post
                                Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                                1 Reply Last reply Reply Quote 0
                                • Y
                                  ykmark last edited by

                                  Yes . Also the funny thing is it will also say trade didn’t open on different pairs with different time frame. But my ea it working on everything too

                                  1 Reply Last reply Reply Quote 0
                                  • Y
                                    ykmark last edited by

                                    Validation complete with errors

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

                                      Well it sounds like mql5 company has poor history data and they dont accept your EA because of their own problems 😄

                                      I think this is a rare case when "try again later" is appropriate

                                      Need small help? Tag me in your post
                                      Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                                      1 Reply Last reply Reply Quote 0
                                      • Y
                                        ykmark last edited by

                                        They say . Get rid of the errors from your journal tab , so it can pass our test.
                                        My ea already makes money on the real account . It crazy

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

                                          So these warnings (if they are warnings) are probably because of variable types that doesn't match perfectly. If you see here (https://www.mql5.com/en/docs/basis/types/integer/integertypes), different numeric types have different ranges of possible values. And sometimes when you try to assign value from one type to another, the range of possible values can be decreased, which is not a problem if the EA does not intend to use the whole range of values, but it's not a good practice to do that. That's why they are warnings, the compiler assumes that the programmer doesn't use the whole range of values and knows what he is doing, and just informs him that maybe there could be a problem.

                                          1 Reply Last reply Reply Quote 0
                                          • roar
                                            roar @ykmark last edited by

                                            @ykmark have you checked that the "data mismatch" is the only type of error?

                                            Need small help? Tag me in your post
                                            Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

                                            Online Users

                                            B
                                            M
                                            J
                                            B
                                            A
                                            E
                                            R

                                            23
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors