Godfx SMA EA
- エキスパート
- Tan Siow Yee
- バージョン: 1.0
The GODFX SMA EA is a cutting-edge, fully automated trading system for MetaTrader 5. Designed around the fast and slow SMA crossover strategy, this EA combines simplicity, reliability, and advanced risk management features to help traders maximize profits while protecting their capital.
✨ Key Features
1. SMA Crossover Strategy
-
Automatically opens buy and sell trades when the fast SMA crosses the slow SMA.
-
Works on any symbol and any timeframe.
-
Simple yet effective strategy for consistent trading signals.
2. Risk-Based Lot Sizing
-
Calculates trade volume based on your account balance and risk percentage.
-
Ensures proper exposure management and safeguards your capital.
3. Stop Loss & Take Profit in Pips
-
Fully adjustable in pips for clarity and precise risk management.
-
Protects every trade and keeps losses within your defined limits.
4. Optional Trailing Stop
-
Automatically moves Stop Loss to lock in profits as trades move in your favor.
-
Adjustable distance in pips with an on/off toggle.
-
Default distance: 30 pips.
5. Stable & Reliable
-
Fully tested to pass MT5 Strategy Tester and MQL5 strict validation.
-
Built to operate safely on live accounts with consistent risk control.
💡 Why Traders Choose GODFX SMA EA
-
Hands-off SMA strategy with built-in risk management.
-
Simple, intuitive inputs make setup quick and flexible.
-
Dynamic trailing stop protects profits while letting trades run.
-
Suitable for beginners and experienced traders alike.
✅ v1.03 fixes all previous errors:
No more “modification failed due to order being close to market” in tester or live netting accounts.
Trailing stop works safely for all symbols with minimum stop limits.
Only meaningful SL changes are applied to reduce unnecessary modifications.
✅ v1.02 Improvements:
Trailing stop now respects broker minimum stop level.
Added a small buffer to prevent modification failures.
Only modifies SL when change is significant.
Fully compatible with strict MQL5 validation, Strategy Tester, and live trading.
✅ v1.01 Improvements:
Trailing Stop Added
Introduced a dynamic trailing stop feature to lock in profits automatically.
Adjustable distance in pips.
Default trailing stop: 30 pips.
Can be enabled or disabled via a simple toggle (UseTrailingStop).
Inputs Updated to Pips
StopLoss, TakeProfit, and TrailingStop inputs are now in pips rather than points.
Easier for traders to understand and set risk parameters.
Trailing Stop Logic Corrected for Strict Validation
Replaced PositionSelectByIndex() with PositionGetTicket() + PositionSelectByTicket() for full MQL5 strict validation compatibility.
Ensures smooth compilation and execution on all MT5 builds.
Versioning and Header Update
File renamed to GODFX_SMA_EA_MT5_Advanced.
Version set to 1.01.
Header description updated to reflect new features (Trailing Stop, pips inputs, risk management).
Summary:
The new version improves profit protection (trailing stop), makes inputs more user-friendly (pips), and ensures strict MQL5 compatibility while keeping the original SMA crossover strategy intact.
⚠️ Risk Warning & Disclaimer
High-Risk Investment Notice
Trading Forex, gold, indices, and CFDs involves a high level of risk and may not be suitable for everyone. Leveraged trading can lead to:
-
Significant financial loss
-
Loss of your entire invested capital
-
Rapid drawdowns and margin calls
Only trade with money you can afford to lose.
Expert Advisor Performance Disclaimer
Results from automated systems like GODFX SMA EA are based on:
-
Historical data and strategy simulations
-
Ideal execution and fixed spreads assumptions
Important:
-
Past performance does not guarantee future results.
-
Market conditions, liquidity, and spreads change constantly.
-
Slippage and execution speed can affect results.
🧪 Forward Testing Recommendation
Before deploying on a live account:
-
Conduct forward testing in a real-market environment
-
Start with minimum capital or a Cent account
-
Verify broker conditions: spread, execution speed, commissions
-
Forward testing ensures your strategy works under current market conditions
🛡 Capital Protection Reminder
-
Never risk money needed for essential expenses
-
Avoid over-leveraging
-
Use conservative risk settings
-
Monitor EA performance regularly
Automated trading reduces emotional decisions — but it does not eliminate market risk.
📌 Final Responsibility Statement
All trading decisions remain the sole responsibility of the account holder. By using any Expert Advisor, you acknowledge and accept the risks associated with leveraged financial markets.
Trade informed. Test responsibly. Manage risk intelligently.
