Hi, I need some help. Could somebody create a simple EA template?
Here are the details:
I know that some of the popular EAs here use custom indicators to enter trades. For example these indicators - J_TPO, Ergodic, DPO, Disparity Index, DayImpuls - they all consist of a line moving around zero level. I think it would be useful to have an EA that will use a moving average of a user selectable indicator (like the five mentioned) to enter and exit trades. When the MA of indicator is positive we're long, when it goes negative we go short. No SL, TP or trailing, no account management. Just a stop-and-reverse type of EA.
The only parameters would be: lot size, indicator_name, MA period, wait_newbar (wait for a new bar or enter right after MA crosses zero).
We have some templates already.
Look at this post.
And look on the whole thread.
If some body has some more templates (for indicators especially) it may be added on the thread https://www.mql5.com/en/forum/173059