austintv: however I do not want to have to have the indicator go along with the ea, ie. if I give
the ea away I don't want to have to give away indicator as well so I want code for indicator in EA...
- Just provide the EXn, not the indicator's code.
- Or, make the indicator a resource in the EA and provide neither.
Use the publicly released code - Expert Advisors and Automated Trading - MQL5 programming forum
Resources - MQL4 programs - MQL4 Reference
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
hello all, I have a custom indicator I want to make an EA with, it has 2 lines, I want to buy when one is above the other and vice versa,
however I do not want to have to have the indicator go along with the ea, ie. if I give the ea away I don't want to have to give away indicator as well so I want code for indicator in EA...
How do I do that and then save the value of each line? for example.
int double Value1 = green line of indicator
int double Value2 = Red line of indicator.
if Value1 > Value2 Buy signal, Vice Versa.
Thanks