Gold Sniper Cloud
- エキスパート
- Edwin Baktian
- バージョン: 2.0
⭐ Gold Sniper Cloud EA (Cloud Trend Strategy)
Gold Sniper Cloud EA is an automated trading robot based on the Cloud indicator.
It trades only when strong trend conditions are confirmed, helping traders avoid false signals and over-trading.
The EA is specially optimized for Gold (XAUUSD) but can also be used on other trending symbols.
✅ Main Advantages
✔ Fully automated trading
✔ Uses multi-confirmation Cloud strategy
✔ Smart risk and money management
✔ Automatic Stop Loss and Take Profit
✔ Optional trailing stop
✔ Trend reversal exit with Chikou Span
✔ Built-in drawdown protection
✔ One trade per symbol (safe netting logic)
✔ Works on any timeframe
✔ Suitable for beginners and advanced traders
✔ Optimized for backtesting
✔ Stable and broker-safe order execution
🎯 Trading Strategy
BUY signal when:
-
Price closes above the Cloud
-
Cloud color is bullish (Span A > Span B)
-
Tenkan-sen is above Kijun-sen
-
Chikou Span is above the past cloud
SELL signal when:
-
Price closes below the Cloud
-
Cloud color is bearish (Span A < Span B)
-
Tenkan-sen is below Kijun-sen
-
Chikou Span is below the past cloud
The EA opens only one position at a time to reduce risk.
🛡 Risk & Money Management
-
Automatic lot calculation based on risk percentage
-
Fixed or Cloud-based Stop Loss
-
Fixed Take Profit or Risk-Reward TP
-
Maximum lot size limit
-
Minimum balance protection
-
Maximum drawdown protection (auto stop trading)
-
Margin check before opening trades
🔁 Exit Strategies
-
Chikou Span exit when trend reverses
-
Optional Kijun-sen trailing stop
-
Automatic SL and TP management
-
Time-based safety close for old positions
⚙ Input Parameters
=== Cloud Settings ===
-
TenkanSen – Tenkan-sen period
-
KijunSen – Kijun-sen period
-
SenkouSpanB – Senkou Span B period
=== Trade Management ===
-
LotSize – Fixed lot size (0 = automatic lot based on risk)
-
MagicNumber – Unique ID for EA trades
-
Slippage – Maximum allowed slippage in points
=== Risk Management ===
-
StopLossMode –
0 = Cloud-based Stop Loss
1 = Fixed pip Stop Loss -
StopLossPips – Fixed Stop Loss in pips
-
RiskReward – Risk/Reward ratio (example: 2.0 = 1:2)
-
TakeProfitPips – Fixed Take Profit (0 = use RiskReward)
=== Money Management ===
-
RiskPercent – Percent of balance risked per trade
-
MaxLot – Maximum allowed lot size
-
MinBalance – Minimum balance required to trade
-
MaxDrawdown – Maximum drawdown % before stopping trading
=== Exit Strategy ===
-
UseChikouExit – Close trade when Chikou crosses price
-
UseKijunTrail – Trail Stop Loss using Kijun-sen
=== Signal Filters ===
-
RequireCloudColor – Require cloud color confirmation
-
RequireCross – Require Tenkan/Kijun cross
-
RequireChikou – Require Chikou confirmation
=== Backtest Settings ===
-
PrintLogs – Enable log output
-
IgnoreMargin – Ignore margin check (for backtest only)
📌 Recommended Settings
-
Symbol: XAUUSD (Gold)
-
Timeframe: M15 / M30 / H1
-
Risk per trade: 1% – 2%
-
RiskReward: 1:2 or higher
-
VPS recommended for live trading
⚠ Important Notes
-
Best performance in trending markets
-
Always test on demo account before live trading
-
Past performance does not guarantee future results
-
Use proper risk management
👤 Suitable For
-
Trend followers
-
Beginners who want automation
-
Advanced traders who want strict money management
👤 Setting for Test
Timeframe 5-15 minutes
SET : https://c.mql5.com/31/1884/Gold_Sniper_Cloud.set
XAU/USD
//+------------------------------------------------------------------+
//| Input Parameters |
//+------------------------------------------------------------------+
// === Cloud Settings ===
input int InpTenkanSen = 9; // Tenkan-sen period
input int InpKijunSen = 26; // Kijun-sen period
input int InpSenkouSpanB = 52; // Senkou Span B period
// === Trade Management ===
input double InpLotSize = 0.0; // Lot size (0 = auto lot based on risk)
input int InpMagicNumber = 123456; // Magic number
input int InpSlippage = 30; // Slippage (points)
// === Risk Management ===
input int InpStopLossMode = 0; // SL mode: 0=Cloud, 1=Fixed pips
input int InpStopLossPips = 100; // Fixed SL pips (if mode=1) - DIUBAH LEBIH BESAR
input double InpRiskReward = 2.0; // Risk:Reward ratio (1:R)
input int InpTakeProfitPips = 0; // Fixed TP pips (0=use RR ratio) - DITAMBAHKAN DEFAULT
// === Money Management ===
input double InpRiskPercent = 2.0; // Risk percent per trade (0.1% - 2%)
input double InpMaxLot = 1.0; // Maximum lot size
input double InpMinBalance = 100.0; // Minimum balance required to trade
input double InpMaxDrawdown = 20.0; // Maximum drawdown % before stopping
// === Exit Strategy ===
input bool InpUseChikouExit = true; // Exit when Chikou crosses price
input bool InpUseKijunTrail = false; // Trail stop using Kijun-sen
// === Filter ===
input bool InpRequireCloudColor = true; // Require cloud color confirmation
input bool InpRequireCross = true; // Require Tenkan/Kijun cross
input bool InpRequireChikou = true; // Require Chikou vs cloud
// === Backtest Optimization ===
input bool InpPrintLogs = true; // Print trade logs
input bool InpIgnoreMargin = false; // Ignore margin check (for backtest)
