Tutorial for mql5?

Is there any tutorial or book on how to program EAs with mql5? It’s frustrating because I can’t test my trading ideas without an EA. Any suggestions/recommendations would be greatly appreciated.

I’m a programmer. I’ve never programmed an EA but took a look at the code for one yesterday. I didn’t think it looked too difficult. We could probably hack something together. Have you done any programming before? What are some of the ideas you want to try?

I took an online class on python, so I know a little bit of programming. Do you recommend I just study a book on C++ (which is what mql5 is based on?) Or maybe I should study existing EA code?

Basically, some oscillators to show overbought/oversold conditions, with price channels to confirm. For example, if the oscillators show oversold, and the current price is less than the lower channel, then its a buy signal. Also, use volatility to see when to enter the market (if theres very little price movement=low volatility, dont enter the market ). I wanted to use multiple time frames to enter the market at the right moment, and also have a variable position size depending on how many indicators give the right signals.

I don’t think you need to read the C++ books. I think we can string an EA together. I’m betting some of the things you are looking for have already been done. It may be just a matter of putting them together. I know that probably so sounds like hacking something together but that’s sometimes the fastest way. Do a quick design idea, piece it together and then refine from there. I think too that there are probably some wonderful EA writers here at BP that we can bounce it off of too. I’ll take a look at what you are looking for here and then post back what I find.

I found this article on mql5 wizards which may be able to create some of the code. Sometimes these code writing programs write too much code but this might be worth a shot.

MQL5 Wizard: Creating Expert Advisors without Programming - MQL5 Articles

Do you want to read it over and let me know which indicators might look like a good fit, then we can generate the code and see how close it is to what you want. We can tweak it from there.