hello Marcus,,
go to the forum : "developpement course" - tutorial by codersguru
the lesson about "my first expert advisor" will give you +/- what you are looking for.

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
Hi Traders,
At the moment I am testing a simple system in a 30 min-timeframe:
I want to enter a trade if a bar crosses an EMA10 AND EMA30. As soon as the second EMA is crossed a signal/alert should be heard. BUT only in the direction of the trend. The Cross of both EMAs can be done with just one 30-min-bar or with 2 bars. That would also work.
Maybe someone has such an indicator or is able to program it?
Thanks in advance!
Marcus