fxDreema

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

    MQL5 Files cannot be compiled anymore/impossibile to make some custom indicator work

    Bug Reports
    2
    10
    1788
    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.
    • G
      gabrielebrignoli last edited by

      Dear Customer Service,

      all MQL5 file exported cannot be compiled
      0_1570894998736_652698da-fa04-4166-b877-6f91ff970023-image.png

      0_1570895059876_00fa0871-2438-4f73-83f5-d34ce179bf85-image.png

      That made impossibile to use many commercial and non commercial custom indicators that require a modification of iCustom manually (remove CLOSE_PRICE at the end)

      Please address this problem with utmost urgency

      Thanks, Regards

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

        @gabrielebrignoli
        I'm not customer service, but are you absolutely sure you have the correct syntax?
        It looks like the correct argment here is Ask(Symbol())

        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
        • G
          gabrielebrignoli last edited by

          My poor coding skill can't answer that, but that is the untouched file generated by Fxdreema

          Even with a two block project, ex5 export work, but mq5 export cannot be compliled by MT5 compiler (last version)

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

            0_1570895838497_a46bd7f9-dcdd-4070-aec5-9556f758e0b9-image.png

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

              @gabrielebrignoli Try modifying the .mq5 as per my suggestion, and test if it compiles

              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
              • G
                gabrielebrignoli last edited by

                Thanks, but doesn't work

                0_1570896090200_e638f5af-120a-4186-9547-5723e8922d0a-image.png

                Same error

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

                  The Ask-function is case-sensitive: try exactly Ask(Symbol())

                  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
                  • G
                    gabrielebrignoli last edited by

                    Nope..

                    0_1570896787678_6ab9c775-08ad-4dcf-b2a4-42e3adb62bf6-image.png

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

                      Ok, I'm sorry, can't spot where the problem is. Here's the mql5 documentation, maybe it helps:
                      https://www.mql5.com/en/docs/trading/ordercalcmargin

                      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
                      • G
                        gabrielebrignoli last edited by

                        If I remove that (symbol) it compiles and seem to work, but who knows if influence EA and how

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

                        Online Users

                        H
                        A

                        10
                        Online

                        146.8k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors