1. Can you confirm that I can create an EA which will run on a currency pair and only send me an alert through the interface and via SMS/email etc. My research says it can as I'm not interested in automatically placing trades but only to send an alert / notification?
YES
2. When coding the EA do I somehow need to "import the indicator into my EA completely from my template or do I somehow reference to the indicator when running through specific rules, as long as it is running in the template?
Depends, in most cases it is easier to 'reference' indicator values (see 3.)
3. What should I read to understand how I obtain the output value of an indicator in my decision making process eg. The value of the ADX indicator is 49% for example?
https://docs.mql4.com/indicators/icustom or documentation of any other of the built in indicators like iATR, iADX, etc.
4. I see it references Bid and Ask values but I want to know the actual currency pair price as is...is this called the OnTick?
NO - bid and ask are the relevant prices! OnTick is a special function.
5. When referencing to an indicator or coding the indicator output into my EA, do I have to have the mq4 file for the indicator or is the ex4 sufficient enough?
Folks,
I will continue my journey of understanding as it will only benefit me in the long run, having said this I want to thank you for your feedback as it gives me more comfort that my requirements are moving in the right direction.
I tried sourcing a developer on a freelance basis from Elance but 3 applications went no where and concerned that the freelancer would overshoot the cost estimate based on my requirement (wool over my eyes). So I want to understand more so that if I go down the freelance avenue I have a good idea of how long the work effort should take based on my comprehensive requirement/understanding.
Once again thank you for taking the time to provide feedback.
Cheers,
MUZZLE
Morning folks,
Ok...So I tried the basic EA wizard template and then copied some basic alert code "function" I think it's called to bring up a basic alert in the MT4 interface.
I see that you can only have one EA running at a time on a chart, correct?
This brings me to my next question...
If I want to combine two EA's, where 1 references a M1 chart with ruleset1 and the other references an M5 chart with ruleset2 and I would like the combined ruleset result notification sent if everything (both EA's) is TRUE do I create an "external program" that looks at the two EA's and then let the external program notify me?
I hope this makes sense?
Tyvm,
MUZZLE
Good Morning,
I see that you can only have one EA running at a time on a chart, correct?
Correct.
If I want to combine two EA's, where 1 references a M1 chart with ruleset1 and the other references an M5 chart with ruleset2 and I would like the combined ruleset result notification sent if everything (both EA's) is TRUE do I create an "external program" that looks at the two EA's and then let the external program notify me?
Put it in one EA that checks for multiple timeframes, that should be a lot easier.
Morning PomeGranate,
Thank you kindly for your insights and advice.
Ciao,
Muzzle
Folks,
I will continue my journey of understanding as it will only benefit me in the long run, having said this I want to thank you for your feedback as it gives me more comfort that my requirements are moving in the right direction.
I tried sourcing a developer on a freelance basis from Elance but 3 applications went no where and concerned that the freelancer would overshoot the cost estimate based on my requirement (wool over my eyes). So I want to understand more so that if I go down the freelance avenue I have a good idea of how long the work effort should take based on my comprehensive requirement/understanding.
Once again thank you for taking the time to provide feedback.
Cheers,
MUZZLE
JD4,
Your points are absolutely valid. I have never had an issue with paying a good rate per hour for a competent developer, it's usually the total effort that can be a grey area vs the cost per hour.
Nevertheless I will take your advice if I get to a point where I need to extend my ability to deliver on my EA through 3rd party developers.
Let's see how I go and have a good weekend.
Ciao,
M
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Salute folks,
A lot of reading has been going on and the tone is clear on doing the stuff yourself. I have never written a line of code in my life and desperately want to try and code my own basic EA.
I have tried to read through the manual and start losing the plot halfway down a page each time anyway, small problems (It's going to be a long journey clearly until I code a basic EA). Maybe some easy insight into the following questions could be attended to please?
1. Can you confirm that I can create an EA which will run on a currency pair and only send me an alert through the interface and via SMS/email etc. My research says it can as I'm not interested in automatically placing trades but only to send an alert / notification?
2. When coding the EA do I somehow need to "import the indicator into my EA completely from my template or do I somehow reference to the indicator when running through specific rules, as long as it is running in the template?
3. What should I read to understand how I obtain the output value of an indicator in my decision making process eg. The value of the ADX indicator is 49% for example?
4. I see it references Bid and Ask values but I want to know the actual currency pair price as is...is this called the OnTick?
5. When referencing to an indicator or coding the indicator output into my EA, do I have to have the mq4 file for the indicator or is the ex4 sufficient enough?
I'm probably pushing buttons, but before I try and go down the road of learning to code from scratch the above will help me better understand that my intent can be met by MQL4 EA.
Hope this makes sense.
Thanks kindly,
M