I have put this up on mql5.com too, but somehow don't expect the answer quite soon. Here is the problem.
I have many indicators, scripts and EAs. I know that Empty4 needs the following architecture:
MQL4>Experts > EAs
MQL4>Indicators > Indicators
MQL4>Scripts > Scripts
There can be folders within as well! For example:
MQL4>Experts>EAgroup1>EA1.mq4
MQL4>Experts>EAgroup1>EA2.mq4
MQL4>Experts>EAgroup2>EA3.mq4
MQL4>Experts>EAgroup2>EA4.mq4
MQL4>Indicators > IndicatorGroup1>Indi1.mq4
MQL4>Indicators > Scalpers>Indi2.mq4
MQL4>Indicators > Scalpers>Indi3.mq4
This works for EAs, indi's and scripts that work on their own.
But what about EAs which depend on some indicators? Will the EAs work if the indicators are within subfolders?
For example, Hanover EA works only with David's Recent Strength indicator in the indicator folder. Will it work if it is within a subfolder inside indicators folder? (Just so that these scripts and EAs can be organized)
Does Metatrader4 look for indicators recursively within the subfolder structure?
Folder Architecture of Experts, Indicators and Scripts for M
-
x26s
- Posts: 2
- Joined: Wed Jul 09, 2014 9:26 am
Folder Architecture of Experts, Indicators and Scripts for M
Last edited by x26s on Sun Jul 27, 2014 2:18 pm, edited 1 time in total.
- milanese
- TechAdmin
- Posts: 3293
- Joined: Wed Jan 09, 2013 9:02 am
- Location: btr rdx, r8 +
Folder Architecture of Experts, Indicators and Scripts for M
I would say you need the indicator(s) the EA needs in the main indicator folder.., best is you try itx26s » Tue Jul 22, 2014 12:16 pm wrote:I have put this up on mql5.com too, but somehow don't expect the answer quite soon. Here is the problem.
I have many indicators, scripts and EAs. I know that Empty4 needs the following architecture:
MQL4>Experts > EAs
MQL4>Indicators > Indicators
MQL4>Scripts > Scripts
There can be folders within as well! For example:
MQL4>Experts>EAgroup1>EA1
MQL4>Experts>EAgroup1>EA2
MQL4>Experts>EAgroup2>EA3
MQL4>Experts>EAgroup2>EA4
MQL4>Indicators > IndicatorGroup1>Indi1
MQL4>Indicators > Scalpers>Indi2
MQL4>Indicators > Scalpers>Indi3
This works for EAs, indi's and scripts that work on their own.
But what about EAs which depend on some indicators? Will the EAs work if the indicators are within subfolders?
For example, Hanover EA works only with David's Recent Strength indicator in the indicator folder. Will it work if it is within a subfolder inside indicators folder? (Just so that these scripts and EAs can be organized)
Does Metatrader4 look for indicators recursively within the subfolder structure?
see to here http://articles.mql4.com/1144
Cheers
Tommaso
Global Prime is the official SHF broker 
Searching for Servers and Workstations with individual configuration?
Just PM
Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
Searching for Servers and Workstations with individual configuration?
Just PM
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
-
rocketman99
- Trader
- Posts: 91
- Joined: Wed Dec 19, 2012 1:19 am
Folder Architecture of Experts, Indicators and Scripts for M
Why not tryx26s » Tue Jul 22, 2014 1:16 pm wrote:I have put this up on mql5.com too, but somehow don't expect the answer quite soon. Here is the problem.
I have many indicators, scripts and EAs. I know that Empty4 needs the following architecture:
MQL4>Experts > EAs
MQL4>Indicators > Indicators
MQL4>Scripts > Scripts
There can be folders within as well! For example:
MQL4>Experts>EAgroup1>EA1
MQL4>Experts>EAgroup1>EA2
MQL4>Experts>EAgroup2>EA3
MQL4>Experts>EAgroup2>EA4
MQL4>Indicators > IndicatorGroup1>Indi1
MQL4>Indicators > Scalpers>Indi2
MQL4>Indicators > Scalpers>Indi3
This works for EAs, indi's and scripts that work on their own.
But what about EAs which depend on some indicators? Will the EAs work if the indicators are within subfolders?
For example, Hanover EA works only with David's Recent Strength indicator in the indicator folder. Will it work if it is within a subfolder inside indicators folder? (Just so that these scripts and EAs can be organized)
Does Metatrader4 look for indicators recursively within the subfolder structure?
MQL4>Indicators > EA1indi
And then reference the indi in your EA code as "EA1indi\my_macd_indi" for example. I think Empty4 should be smart enough to use relative paths just like webservers do.
This is untested.
-
x26s
- Posts: 2
- Joined: Wed Jul 09, 2014 9:26 am
Folder Architecture of Experts, Indicators and Scripts for M
Thanks fellows! BTW, just as I expected, no replies on mql4.com.
Anyway, the EA's/Indicators/Scripts that you download from the market section of mql4.com are put in a subfolder called "Market" under Experts,Indicators and Scripts respectively. They work without problem.
I will try the above solutions and post the results soon.
Edited the primary post a bit by adding .mq4 to avoid confusion.
Anyway, the EA's/Indicators/Scripts that you download from the market section of mql4.com are put in a subfolder called "Market" under Experts,Indicators and Scripts respectively. They work without problem.
I will try the above solutions and post the results soon.
Edited the primary post a bit by adding .mq4 to avoid confusion.