S-ONE ROBOT – MT5 EA Developer Brief
1. Trading Pairs & Timeframes
Pair Timeframe Strategy Type
Gold (XAU/USD) M15–H1 Scalping + Trend-following + Attacking
EUR/USD H1–H4 Swing trading + Attacking
Separate configurable parameters per pair (risk %, max trades, SL/TP, indicators).
Timeframe Logic:
Lower timeframe → precise entries (M15 for Gold, H1 for EUR/USD)
Higher timeframe → trend confirmation (M30/H1 for Gold, H4 for EUR/USD)
Attacking trades activated only if lower and higher timeframe align
2. Strategy
Hybrid Approach: Price Action + Trend Following + News Awareness +Attacking Mode
Entry Logic:
1. Detect key support/resistance zones dynamically.
2. Recognize candlestick patterns: engulfing, pin bars, hammer, shooting star.
3. Confirm trend using Moving Averages, RSI, Stochastic.
4. Breakout detection: momentum moves beyond key zones.
5. Attacking Mode (Optional):
Aggressive entry when trend confirmed on multiple timeframes.
Tighter SL/TP possible for fast profits.
Can trade on news spikes if enabled.
6. Multi-timeframe confirmation: signals must align on at least 2 timeframes.
News Handling:
Pause trading during high-impact news (MT5 economic calendar).
Optional: trade news spikes (configurable).
Auto lot sizing (% of account balance, configurable 1–2%).
ATR-based dynamic SL/TP.
Trailing stop to lock in profits.
Daily profit/loss limits; stop trading after thresholds reached.
Max concurrent trades per pair (1–3).
Attacking mode adjustments: optional tighter SL/TP.
4. Dashboard & Notifications
Chart panel shows:
Open trades, entry/SL/TP, P/L per trade
Total exposure and risk per trade
Active strategy mode (standard/attacking)
MT5 alerts, email, or push notifications on trade events
Optional customizable colors and layout
5. Trading Rules & Code Standards
Fully automated trading.
Unique MAGIC numbers for EA trades.
Modular and well-commented code for easy maintenance.
Safe handling of volatile market events.
Realistic win rate: ~85–95% (backtesting target).
Attacking mode optional per pair; must follow risk rules.
6. Developer Parameters (Suggested MT5 Inputs)
Parameter Type Default Description
RiskPercent double 1.0 % of account balance per trade
MaxTrades int 3 Max simultaneous trades per pair
DailyProfitTarget double 200 Stop trading after profit reached
DailyLossLimit double 100 Stop trading after loss reached
UseAttackingStrategy bool true Enable aggressive entries
ATRMultiplier double 1.5 Multiplier for dynamic SL/TP
NewsFilter bool true Pause trading during high-impact news
MultiTimeframeConfirmation bool true Require ≥2 timeframe confirmation
TrailingStop bool true Enable trailing stop
TrailingStopDistance int 50 Distance in points for trailing stop
7. Special Features (What Makes S-ONE ROBOT Unique)
1. Hybrid strategy combining price action, trend following, and news awareness.
2. Optional attacking mode for fast, aggressive trades.
3. Multi-timeframe confirmation ensures higher accuracy.
4. Integrated news handling for safe trading.
5. Dynamic ATR-based risk management.
6. Modular, well-commented code for future upgrades.
7. Customizable dashboard and notifications.
8. Deliverables
Fully working .mq5 source file.
Optional .ex5 compiled file.
Documentation/comments for all inputs and logic.
Ensure all inputs are configurable via MT5 input parameters.
Optimize code for performance on lower/higher timeframes.
Implement full error handling for volatile market events.
Attacking strategy must never override daily risk limits.
📌 S-ONE ROBOT VII – Developer Checklist
🔑 Core Requirements
1. Platform: MT5 only (no MT4).
2. Pairs:
Gold (XAU/USD) → default for accounts ≥ $100.
EUR/USD → always allowed, especially for small accounts.
3. Mode Detection: EA must detect account balance and adjust automatically.
⚙ Ultra-Low Balance Mode (< $100, e.g., $50 startup)
Pairs: Trade EUR/USD only (disable Gold).
Lot Size: Fixed 0.01 lots.
Risk: Max 0.5–1% per trade.
MaxTrades: 1 trade at a time.
DailyProfitTarget: $2–$10.
DailyLossLimit: $3.
Priority: Account survival > profit.
⚙ Normal Mode (≥ $100 balance)
Pairs: Gold (XAU/USD) + EUR/USD.
Risk: Dynamic lot size by RiskPercent (default 1–2%).
Lot Size: Minimum 0.01, scale up with balance.
MaxTrades: Gold = 3, EUR/USD = 2 (configurable).
DailyProfitTarget: Example $200 (scales with account).
DailyLossLimit: Example $100 (scales with account).
AttackMode: Optional aggressive strategy toggle.
NewsFilter: Built-in, configurable per pair.
📊 Configurable Parameters (per pair)
Each pair must have its own input block:
Enable/Disable pair.
Timeframe (default: Gold M15, EUR/USD H1).
RiskPercent.
MaxTrades.
DailyProfitTarget.
DailyLossLimit.
NewsFilter On/Off.
AttackMode On/Off.
📌 Scaling Rules
EA must run from $50 up to $5,000+ with the same file.
Auto-adjust risk, lot size, and pair selection based on account balance.
Must always respect broker minimum lot size (0.01).
🛡 Safety Features
Stop trading if DailyProfitTarget or DailyLossLimit is hit.
Hard equity protection: Stop trading if drawdown > X% (user input).
Spread filter + slippage filter.
Account margin check before opening any trade.
✅ In short:
S-ONE ROBOT must be able to start with $50 (EUR/USD only, micro-lot),
and scale automatically as the balance grows (unlocking Gold, higher risk, more trades)
Objective:
S-ONE ROBOT must be designed to trade under any market condition (trend, range, news, small/big balance) by automatically adapting its behavior.
🔑 Adaptation Rules
1. Balance Adaptation
If balance < $100 → “Ultra-Low Mode” (EUR/USD only, 0.01 lots, survival settings).
If balance ≥ $100 → “Normal Mode” (Gold + EUR/USD, dynamic risk scaling).
2. Market Condition Adaptation
Trending markets: Use trend-following logic (attack mode optional).
Ranging/sideways markets: Use scalping logic, lower targets.
High volatility/news:
If NewsFilter = ON → pause trading around high-impact news.
If NewsFilter = OFF → attack moves aggressively.
3. Risk & Safety
Auto-calculate lots by RiskPercent, respecting broker min lot (0.01).
MaxTrades limited by mode (Ultra-Low = 1, Normal = user input).
DailyProfitTarget / DailyLossLimit enforced strictly.
Hard equity protection (stop trading if drawdown > X%).
✅ Developer Goal
Make one robot file that can:
Run from $50 up to $5,000+ without user needing different versions.
Adjust trading automatically depending on balance, pair, and condition.
Be flexible enough to survive bad markets and profit in good ones.
This short spec will make it clear that S-ONE ROBOT is universal and adaptive.