fxDreema

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

    Anyone knows how to deal with Error 4002?

    Questions & Answers
    6
    23
    4927
    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.
    • B
      Byens last edited by

      here is solution from chatgpt.

      Error 4002 in an expert advisor (EA) for the MetaTrader 5 (mq5) platform typically indicates that the EA is trying to access an object that does not exist. This can happen if the EA is trying to access an indicator or custom object that is not present on the chart, or if the object's name has been misspelled. To resolve this error, ensure that the object being accessed by the EA is properly installed and configured on the chart, and that the EA is referencing the correct name for the object. Also, check if the expert advisor is using the correct version of the indicator or custom object and if it is in the correct folder, if not place the correct version in the correct folder.

      https://entrepreneurstart.pw | https://www.mql5.com/en/users/byens8199

      1 Reply Last reply Reply Quote 0
      • B
        Byens last edited by

        Ok here is solution:

        0_1674017479476_f760b103-dae8-457b-87e7-d700f8b40645-image.png

        indicator have this blank value, so what you must do is, open your ea.mq5 and find your indicator in source code and add all blank spot, in my case i have added 5.
        original file :
        StringConcatenate(key, Symbol, Period, "Four MA on OBV" , (int)20, (int)0, (ENUM_MA_METHOD)MODE_SMA, (ENUM_APPLIED_PRICE)PRICE_CLOSE, (int)50, (int)0, (ENUM_MA_METHOD)MODE_SMA, (ENUM_APPLIED_PRICE)PRICE_CLOSE, (int)1000, (int)0, (ENUM_MA_METHOD)MODE_EMA, (ENUM_APPLIED_PRICE)PRICE_CLOSE, (int)500, (int)0, (ENUM_MA_METHOD)MODE_EMA, (ENUM_APPLIED_PRICE)PRICE_CLOSE, (ENUM_APPLIED_VOLUME)VOLUME_TICK);

        after modification:
        StringConcatenate(key, Symbol, Period, "Four MA on OBV" , "" , (int)20, (int)0, (ENUM_MA_METHOD)MODE_SMA, (ENUM_APPLIED_PRICE)PRICE_CLOSE, "" , (int)50, (int)0, (ENUM_MA_METHOD)MODE_SMA, (ENUM_APPLIED_PRICE)PRICE_CLOSE, "" , (int)1000, (int)0, (ENUM_MA_METHOD)MODE_EMA, (ENUM_APPLIED_PRICE)PRICE_CLOSE, "" , (int)500, (int)0, (ENUM_MA_METHOD)MODE_EMA, (ENUM_APPLIED_PRICE)PRICE_CLOSE, "" , (ENUM_APPLIED_VOLUME)VOLUME_TICK);

        https://entrepreneurstart.pw | https://www.mql5.com/en/users/byens8199

        l'andorrà 1 Reply Last reply Reply Quote 1
        • l'andorrà
          l'andorrà @Byens last edited by

          @byens Thank you for sharing.

          (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

          (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

          (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

          Online Users

          R
          V
          M
          G
          H
          J
          E
          T
          E

          31
          Online

          146.6k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors