@pintto Hello,
As @l-andorrà mentioned, the forum is a great place. I would say that before asking, search for what you're looking for and most probably you will find it. This is what will shorten your learning time.
Other than that, if you couldn't find what you want, or no one knew how to do it when you ask, the way to go is with a lot of trial and error. I launch FxDreema and start testing different kind of ways and backtest until I get what I want. With FxDreema you can get a way to achieve about 95% of what you need, then the forum information can cover the next 4% and https://www.mql5.com/en/code the mql5 source code library will cover the last 0.9% .
If you come across a problem that fits in the 0.1% of unknowns, then you 're out of luck 