Simple MA MT4 EA with 3 simple moving averages

Заказчик: AI | Опубликовано: 19.10.2025
Бюджет: 250 $

I need a straightforward Expert Advisor coded for MetaTrader 4 that follows a three-SMA strategy on the daily time-frame: I also want this ea to work on any time frame of my choosing. I also want to be able to choose my own lot size in the inputs section of the ea. no stop losses or targets will be needed. • Entry logic  – At the very start of a new daily bar, the EA checks whether the 2-period SMA has just crossed the 4-period SMA.  – A long position is opened only when that bullish cross occurs and the most recent finished daily candle closed cleanly above the 60-period SMA.  – A short position is opened only when the bearish cross occurs and the last daily candle closed cleanly below the 60-period SMA. The EA will trade XAUUSD exclusively and run 24/7 without pausing during quiet sessions. I’m not requesting additional money-management rules right now; the focus is on getting the core signal logic working flawlessly. Standard MT4 functions and best practices for order handling, error control, and on-chart alerts are expected so the code is stable and easy to maintain. Deliverables 1. Well-commented .mq4 source file implementing the rules above 2. A compiled .ex4 ready for immediate testing 3. Brief instructions outlining how to attach the EA and set any external parameters I’ll test the EA on my own demo account and confirm that entries trigger exactly at the daily bar open in accordance with the three-SMA alignment. Once it passes that check we can wrap up the project, or discuss enhancements later.