fxDreema

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

    Compilation errors

    Bug Reports
    3
    14
    1111
    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.
    • F
      FXTraderCon last edited by

      For the last 2 days I get this error:
      Compilation errors
      'PERIOD_CURRENT' - struct member undefined

      It started to nights ago around 11 PM EST, about an hour later it stopped.
      Got the error again last night around the same time...waited and it stopped.
      Getting the error now.

      I can open other projects that compiled previously with error and now gets the same error.
      Doesn't error when saving as .mq4

      Anybody experiencing the same?

      1 Reply Last reply Reply Quote 1
      • hojjat2002
        hojjat2002 last edited by

        The error started hours ago123.png

        1 Reply Last reply Reply Quote -1
        • F
          FXTraderCon last edited by

          Determined that the error happens with default MT4 Indicators loaded in fxDreema. This is a huge issue! The suggestion to use CurrentTimeframe() function will not work. FxDreema needs to fix the compiler.

          hojjat2002 1 Reply Last reply Reply Quote 0
          • hojjat2002
            hojjat2002 @FXTraderCon last edited by

            @FXTraderCon No, that doesn't work either

            1 Reply Last reply Reply Quote 0
            • F
              FXTraderCon last edited by

              Definitely something with the compiler:
              Code before error:
              public: /* Constructor /
              MDLIC_indicators_iEnvelopes()
              {
              MAperiod = (int)14;
              MAshift = (int)0;
              MAmethod = (ENUM_MA_METHOD)MODE_SMA;
              Deviation = (double)0.1;
              AppliedPrice = (ENUM_APPLIED_PRICE)PRICE_CLOSE;
              Mode = (int)1;
              Symbol = (string)CurrentSymbol();
              Period = (ENUM_TIMEFRAMES)CurrentTimeframe();
              Shift = (int)0;
              }
              Code now:
              public: /
              Constructor */
              MDLIC_indicators_iEnvelopes()
              {
              MAperiod = (int)14;
              MAshift = (int)0;
              MAmethod = (ENUM_MA_METHOD)MODE_SMA;
              Deviation = (double)0.1;
              AppliedPrice = (ENUM_APPLIED_PRICE)PRICE_CLOSE;
              Mode = (int)1;
              Symbol = (string)CurrentSymbol();
              Period = (ENUM_TIMEFRAMES)c::PERIOD_CURRENT;
              Shift = (int)0;
              }

              Envelopes Indicator is a default in MT4 and fxDreema. Seems to be a fxDreema issue.

              1 Reply Last reply Reply Quote 0
              • F
                FXTraderCon last edited by

                My Indicators do not have any issues. Looks like the default indicators are affected:

                image.png

                1 Reply Last reply Reply Quote 0
                • F
                  FXTraderCon last edited by

                  Workaround until fxDreema fix is to save to .mq4 >> Open in MT4 IDE >> find and replace "CURRENT_PERIOD" to "CurrentTimeframe()"
                  A lot of steps, but I am dead in the water until the fix.

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    FXTraderCon @FXTraderCon last edited by

                    @FXTraderCon
                    5fa221b1-bb1f-444e-9020-965946ad4028-image.png

                    F hojjat2002 2 Replies Last reply Reply Quote 0
                    • F
                      FXTraderCon @FXTraderCon last edited by

                      @FXTraderCon Don't forget to press Compile in MT4 IDE
                      03ad04e3-5435-48cd-b0de-5a76a750ca30-image.png

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

                        This very important problem has not been solved yet! Is it because of the holiday? Haven't the admin noticed this important bug through messages yet?!123.png

                        • list item
                        1 Reply Last reply Reply Quote 0
                        • hojjat2002
                          hojjat2002 @FXTraderCon last edited by

                          @FXTraderCon just (c::) must deleted

                          F 1 Reply Last reply Reply Quote 0
                          • F
                            FXTraderCon @hojjat2002 last edited by

                            @hojjat2002 The code comparison seen below shows how it should be coded based on another project that fxDreema compiled and works. Should be CurrentTimeframe().

                            1 Reply Last reply Reply Quote 0
                            • F
                              FXTraderCon last edited by

                              Viola! And it is fixed...for now.

                              1 Reply Last reply Reply Quote 0
                              • R
                                rouzbehali last edited by

                                This is how it worked for me
                                image.png

                                rouzbehdesign

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

                                Online Users

                                S
                                M
                                2
                                M
                                M
                                N
                                B
                                A
                                B
                                S
                                E

                                19
                                Online

                                146.6k
                                Users

                                22.4k
                                Topics

                                122.6k
                                Posts

                                Powered by NodeBB Forums | Contributors