How to locate an indicator in Expert Advisor
-
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.
-
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.
-
__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?
-
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.
-
__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.
