Gold Star Pro EA
- Experts
- Amponsah Joseph Robert
- 버전: 1.0
- 활성화: 5
Setup Guide & User Documentation (MetaTrader 5)
📌 OverviewGoldStar Pro is an advanced MetaTrader 5 Expert Advisor (EA) designed for structured, risk-controlled automated trading.
🔹 Core Features
-
Smart Trailing Stop System
-
Breakeven Protection
-
High-Impact News Avoidance Filter
-
Advanced Pattern Recognition Engine
-
Compound Risk Management (Balance-Based Position Sizing)
-
Emergency Drawdown Protection
Step 1 – Install the EA File
-
Open MetaTrader 5
-
Click File → Open Data Folder
-
Navigate to:
MQL5 → Experts
-
Copy GoldStar_Pro_EA.mq5 into this folder
Step 2 – Compile the EA
-
Press F4 to open MetaEditor
-
Locate GoldStar_Pro_EA.mq5 in Navigator
-
Double-click to open
-
Press F7 to compile
-
Confirm “0 Errors” in the log
Step 3 – Attach to Chart
-
Open a chart
-
Recommended: XAUUSD (Gold)
-
Recommended timeframe: H1
-
-
Open Navigator → Expert Advisors
-
Drag GoldStar_Pro_EA onto chart
-
Adjust input settings
-
Click OK
Step 4 – Enable Algo Trading
-
Click AutoTrading button (must be green)
-
Confirm smiley face appears in top-right corner of chart
🔹 Risk Management
| Parameter | Description |
|---|---|
| RiskPercent | % of account balance risked per trade |
| MaxDrawdownPercent | Emergency stop level (closes all trades if exceeded) |
| MaxDailyTrades | Maximum trades allowed per day |
| MinRiskAmount | Minimum dollar risk per trade |
🔹 Trailing Stop & Breakeven
| Parameter | Description |
|---|---|
| EnableTrailingStop | Enables trailing stop |
| TrailingStopPips | Distance between price and trailing stop |
| TrailingStepPips | Minimum movement before trail updates |
| TrailingStartPips | Profit required before trailing activates |
| UseBreakeven | Moves stop to entry before trailing |
| BreakevenPips | Profit required to trigger breakeven |
| BreakevenPlusPips | Extra pips added above entry |
🔹 News Filter
Prevents trading during economic news events.
| Parameter | Description |
|---|---|
| EnableNewsFilter | Turns news filtering on/off |
| HighImpactBuffer | Minutes before/after high-impact news |
| MediumImpactBuffer | Buffer for medium-impact events |
| LowImpactBuffer | Buffer for low-impact events |
🔹 Pattern Recognition
GoldStar Pro scans for:
-
Triangle Breakouts
-
Flag Continuations
-
Double Bottom / Double Top
-
Support & Resistance Breakouts
| Parameter | Description |
|---|---|
| PatternLookback | Number of bars used for analysis |
🔹 Trading Sessions
| Parameter | Description |
|---|---|
| StartTime | Trading session start (server time) |
| EndTime | Trading session end |
| AvoidWeekends | Disables trading on weekends |
🔹 Display Settings
| Parameter | Description |
|---|---|
| ShowInfo | Shows info panel on chart |
| ShowNews | Displays news events |
| InfoXPos | Horizontal position of panel |
| InfoYPos | Vertical position of panel |
1️⃣ Trade Entry Logic
Triangle Breakout
-
Detects contracting price structure
-
Enters on breakout confirmation
Flag Continuation
-
Identifies trend + consolidation
-
Enters in trend direction
Double Bottom / Top
-
Detects reversal structure
-
Enters after confirmation break
Support / Resistance Breakout
-
Identifies key price levels
-
Enters on strong momentum break
2️⃣ Position Sizing Formula
Risk Amount = Account Balance × (RiskPercent / 100) Position Size = Risk Amount / (Stop Distance × Pip Value)
This ensures:
-
Compounded growth
-
Controlled exposure
-
Consistent percentage risk
3️⃣ Trade Management Flow
Trade Opens ↓ Price moves in profit ↓ BreakevenPips reached → Stop moves to entry + buffer ↓ TrailingStartPips reached → Trailing activates ↓ Price continues → Stop follows at defined distance ↓ Price reverses → Stop hit → Profit secured
4️⃣ Emergency Protection
If drawdown exceeds MaxDrawdownPercent:
-
All open trades close immediately
-
EA pauses trading
-
Alert notification triggered
Account ($1,000 – $10,000)
RiskPercent: 1 MaxDailyTrades: 8 TrailingStopPips: 30 BreakevenPips: 15
Large Account ($10,000+)
RiskPercent: 0.5 – 1 MaxDailyTrades: 10 TrailingStopPips: 30 BreakevenPips: 15
🚀 Optimized Settings (Improved Risk:Reward)=== RISK MANAGEMENT === RiskPercent: 1 MaxDrawdownPercent: 10 MaxDailyTrades: 6 === TRAILING STOP === TrailingStopPips: 15 TrailingStepPips: 5 TrailingStartPips: 10 BreakevenPips: 8 BreakevenPlusPips: 2 === TRADING SESSION === StartTime: 07:00 EndTime: 16:00
🛑 TroubleshootingEA Not Trading
-
Check AutoTrading is enabled
-
Verify session time settings
-
Confirm news filter not blocking
-
Ensure MaxDailyTrades not reached
No Smiley Face
-
Right-click chart → Expert Advisors → Allow Algo Trading
-
Tools → Options → Expert Advisors → Enable all boxes
Compilation Errors
-
Update MT5 to latest version
-
Ensure file is in:
MQL5 → Experts
-
Recommended Timeframes: H1, H4
-
Recommended Instruments: XAUUSD, Major Forex Pairs
-
Recommended Broker: ECN/STP with low spreads
Trading Forex and CFDs carries substantial risk.
Past performance does not guarantee future results.
Trade responsibly and only risk capital you can afford to lose.
🗂 Version Historyv1.00 – Initial release with full feature set
📞 SupportIf issues occur:
-
Check MT5 “Experts” tab for errors
-
Confirm input parameters are correctly configured
-
Verify broker compatibility
GoldStar Pro EA — Trade Smart. Protect Capital. Scale Consistently. ⭐
