fxDreema

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

    Compilation Error, please help! :)

    Questions & Answers
    2
    3
    548
    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.
    • L
      Luigi_123 last edited by

      https://fxdreema.com/shared/LiYmnbeDd

      Hello guys I am a New user. I created this project to learn some feature of the FxDreema Platform.

      When I put the EA in mt4 it gives me error and in metaeditor could not be compilated.
      Due to "candlecloseprice structure member undefined" error.

      Thanks for your help!

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

        @luigi_123 this block is unnecessary (and incorrectly used)
        0_1598694355964_e9c23e1f-a130-4a43-881d-ede3fead1f4a-image.png

        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

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

          thats not the only error though, lol

          To find the erroneus block, open the .mql4 in metaeditor and try to compile in there. Then you can double-click the error message and you get the code line in question.
          0_1598694626672_aab6f1f4-d1e5-4ee7-bfd0-9cb261769014-image.png
          Then scroll up the code and you will soon find the corresponding fxdreema block:
          0_1598694684278_0a10e9eb-5ae6-447c-a01b-56e2c404f032-image.png
          I suspect your variable name is wrong here. Perhaps you have declared "last_candle_close_price" but you try to use "LastCandleClosePrice"
          0_1598694836464_ca460476-e265-4157-9570-6713c73f615e-image.png

          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 / 1
          • First post
            Last post

          Online Users

          L
          S
          M
          T
          M
          A
          R
          E

          19
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors