fxDreema

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

    How to locate an indicator in Expert Advisor

    Questions & Answers
    2
    5
    714
    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.
    • E
      EA last edited by

      I want to use an indicator in Ea. But when I download the Ea, it says it needs the indicator which I used should be in MT4 data folder's.

      So that, my question is how can we could locate an indicator into Expert Advisor ?

      Thanks in advance.

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

        In the menu you go to My Indicators. Then you add some indicator. The name of the indicator must match the name of the file. You must have the indicator file in /MQL4/Indicators. When you add the indicator in My Indicators, then you can use it in the blocks, for example in Condition -> Indicator (My Indicators). Then when the EA is generated, iCustom() is used and all parameters are automatically filled.

        1 Reply Last reply Reply Quote 0
        • E
          EA last edited by

          __In the menu you go to My Indicators. Then you add some indicator. The name of the indicator must match the name of the file. You must have the indicator file in /MQL4/Indicators. When you add the indicator in My Indicators, then you can use it in the blocks, for example in Condition -> Indicator (My Indicators). Then when the EA is generated, iCustom() is used and all parameters are automatically filled.[/quote:3qb5ly6v]

          For example, I am making an Ea , I uploaded an indicator and used it for some conditions. Then I downloaded it.
          But when I try to use that Ea on some charts, it also says it needs the indicator again in MT4 folders.

          So, we cant locate the indicator into Ea. Ea will always need the indicators in MT4 folder, right?

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

            Indicators are not embedded into EAs, they are separate programs. And when you upload indicator in fxDreema, this is not uploading and in fact the file is not uploaded. Instead, the browser reads the file, finds only the data that is needed (input parameters, name, buffers) and sends only this data to the server. Then in the EA some function called iCustom() is used to call the indicator, MetaTrader searches for it in MQL4/Indicators, loads it and works with it.

            1 Reply Last reply Reply Quote 0
            • E
              EA last edited by

              __Indicators are not embedded into EAs, they are separate programs. And when you upload indicator in fxDreema, this is not uploading and in fact the file is not uploaded. Instead, the browser reads the file, finds only the data that is needed (input parameters, name, buffers) and sends only this data to the server. Then in the EA some function called iCustom() is used to call the indicator, MetaTrader searches for it in MQL4/Indicators, loads it and works with it.[/quote:2ibn6ozv]

              Ok, I got it , thanks. 😄

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

              Online Users

              E
              J
              D
              K
              T
              E
              S
              A

              25
              Online

              146.9k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors