Need help in writing an expert consisting of 2 SMA-s

 
Hello!

I am new to forex. Could anybody help me to write MT4 expert advisor for this trading system. The system uses 15min GBPUSD chart.

The graphical representation of the system can be obtained here: http://www.seminar.ee/expert.jpg

The system uses 2 simple moving averages:
- SMA 40 (yellow line). This SMA has two levels – one is –10 and the other is +10 points away.
- SMA 20 (red line)

The system opens a sell position when the red line crosses the lower green line. This position will be closed and a buy position is opened when the red line crosses the upper green line.

The system does not use stop losses, trailing stops, take profits. There is always an open position - either sell or buy.

Thank you.

Veronica
 
You should find such system in this http://www.lightpatch.com/forex/ bunch of stuff of all kinds.
There's ea sources and the results of forward tests of the systems.

There are lot of MA Cross-like systems.
 
You should find such system in this http://www.lightpatch.com/forex/ bunch of stuff of all kinds.
There's ea sources and the results of forward tests of the systems.

There are lot of MA Cross-like systems.


THANK YOU!
Reason: