fxDreema

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

    error include custom indicator but mq4 compile fine?

    Bug Reports
    2
    7
    1586
    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.
    • V
      vnpython 0 last edited by

      0_1556008963847_Trend direction & force index - smoothed 4.mq4 this custom indie compile fine in mt4 with no warnings but when i use this to upload to 'MY INDICATOR' it says error found in 'enTimeFrames' which do not show in mql4 compiler. can @miro1360 or @fxDreema kindly take a look? could it be the bug?

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

        0_1556736060684_trend-direction-amp-force-index-smoothed-4.mq4

        perhaps bug in fxdreema, for now try the version above, the timeframe enter in numerical format (0 is current TF, 1 is M1, 60 is H1, and so on) ...

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

        V 1 Reply Last reply Reply Quote 0
        • V
          vnpython 0 last edited by

          i wonder if our big boss know about this bug?

          1 Reply Last reply Reply Quote 0
          • V
            vnpython 0 @miro1360 last edited by

            @miro1360 i did read one of your earlier reply to someone also having this issue. but i dont understand how you do it.. do you mind guide me? i saw you replace enTimeFrames to TimeFrame using int declare and do away the whole enum enTimeFrames. But when i use your mod to compile under editor, it gives me error on tf-cu and i changed to TimeFrame and it compile nicely.

            as i am still new on coding and your assistance would help me greatly

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

              0_1556803966818_trend-direction-amp-force-index-smoothed-4.mq4

              I had not installed MT4 so I edited the code in text editor without compiling test 😄 I changed tf_cu to PERIOD_CURRENT, now it should compile right

              enum in meta code are just INT values, you can read everything here:
              https://docs.mql4.com/basis/types/integer/enumeration

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

              V 1 Reply Last reply Reply Quote 0
              • V
                vnpython 0 @miro1360 last edited by

                @miro1360 thanks and much appreciate your guidance! just hope the big boss @fxDreema can resolve the bug in fxd compiler...

                1 Reply Last reply Reply Quote 0
                • V
                  vnpython 0 last edited by

                  dear all, this issue is resolved by the big boss already hehe

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

                  Online Users

                  B
                  T
                  P
                  C
                  S
                  T
                  I
                  B
                  A

                  22
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors