Moving indicator logic into an EA is possible but it requires good knowledge of MQL and understanding of the indicator workings. That is, a lot of things that the MQL engine does for you in your indicator would have to be carried out on behalf of the EA. Things like indicator buffer resizing/shifting, line/window drawing. If you got this, then what about persistence of data, if your EA gets reloaded how to restore the indicator buffers?
I think it's doable for some simple indicators like RSI, MA etc, but generally speaking it's a tough job.
Now I have seen that it's just possible to sell an EA in the MQL Market as one ex4 file. So it's not possible to attach external Indicators.
What i the easiest way to implement the external Indicators in to the EA ex4 file?
Maybe you are looking for the #resource directive?
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,
I have an Expert Advisor which is using different external Indicators.
Now I have seen that it's just possible to sell an EA in the MQL Market as one ex4 file. So it's not possible to attach external Indicators.
What i the easiest way to implement the external Indicators in to the EA ex4 file?
Would be glad to get some help.