"converting an indicator to an EA" is one of the most useless thing ever heard.
Create the EA from scratch, declare your indicator as resource and use iCustom.
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 everyone,
I am new to MQL4 programming. I have copied an indicator about Stochatis Smooth - LSMA (using iMAonArray), and the chart displays the calculated information correctly.
However, when I convert it to an EA, there are no errors during compilation, but the EA does not run.
I hope you can check and help me find the wrong at this code.
I have also searched for articles on the same topic, but the solutions are not suitable, or maybe I did not understand (my English is poor) the method of these topic on 4rum.
(I'm still reading Topic by Nikolay Kositsin to find the method convert Indecaotor to EA)
This my EA code - Stochatic smooth (when change LSMA2 > LSMA 1 -> Sell; when LSMA1>LSMA2 -> Buy)