
Golden Night EA – Smart Grid Trading Under the Moonlight 🌙📊
🔥 Shoutout:
"When the market sleeps, Golden Night trades – turning night into profit with precision grid strategy!"
📌 Overview
The Golden Night is a grid-based Expert Advisor (EA) for MetaTrader 4, designed to trade during low-volatility night sessions (typically London-Asian overlap). It uses a martingale-style grid system with dynamic lot sizing and risk management to capitalize on small price movements.
✅ Best for: EURUSD, GBPUSD (low spreads at night)
✅ Timeframe: M5-H1 (optimized for night trading)
✅ Strategy Type: Grid/Martingale with time-based activation
⚙️ Input Parameters (Settings)
ParameterDescriptionRecommended Value
RiskRisk per trade (% of balance)0.5 (adjust based on account size)
MaxRiskMaximum allowed risk (%)3 (safety cap)
TakeProfitFixed TP in pips10 (small targets for scalping)
StopMinusMax loss before shutdown (% of balance)10 (emergency stop)
UpLotLot multiplier for grid levels1.2 (moderate martingale)
StepGrid spacing in pips10 (adjust based on volatility)
MaxOrdersMax open trades in grid30 (prevents overexposure)
TimeStartStart trading hour (server time)0 (midnight)
TimeEndStop trading hour (server time)9 (9 AM)
MagicUnique EA identifier7777 (change if running multiple EAs)
📊 How It Works
1. Entry Conditions (Grid Activation)
Only trades between TimeStart & TimeEnd (default: 00:00–09:00 server time).
First trade is triggered by candle patterns:
BUY: After 3 consecutive bearish candles followed by 2 bullish candles.
SELL: After 3 consecutive bullish candles followed by 2 bearish candles.
2. Grid System (Martingale Logic)
If the first trade loses, the EA adds another trade in the same direction with:
Increased lot size (UpLot multiplier, e.g., 1.2x).
Same Step distance (e.g., 10 pips away from last entry).
Averages all positions and sets a unified TakeProfit at TakeProfit pips from the average price.
3. Exit Conditions
Profit-taking: Closes all trades when the combined TP is hit.
Stop Loss: If total losses exceed StopMinus% of the account, all trades are closed.
💰 Money & Risk Management
Dynamic Lot Sizing:
Base lot = AccountBalance() × Risk% / (TickValue × 100 × 10)
Max lot = AccountBalance() × MaxRisk% / (TickValue × 100 × 10)
Emergency Stop: If losses hit StopMinus%, the EA shuts down.
🚀 How to Use This EA
Attach to EURUSD M15/H1 chart (best for low spreads at night).
Set TimeStart & TimeEnd (e.g., 0 to 9 for midnight–9 AM).
Adjust Risk & MaxRisk (e.g., 0.5% risk per trade, 3% max exposure).
Test in demo first! Grid strategies can be risky in trending markets.
🎯 Best Settings for Live Trading
ParameterConservativeAggressive
Risk0.30.7
MaxRisk25
TakeProfit1015
Step158
UpLot1.11.3
TimeStart0 (midnight)1 (1 AM)
TimeEnd6 (6 AM)9 (9 AM)
📈 Expected Performance
✔ Works best in sideways markets (low volatility at night).
✔ Small, frequent profits due to tight TP (10 pips).
⚠ Risk Warning:
Martingale can amplify losses in strong trends.
Requires monitoring during high-impact news events.
🎉 Final Verdict:
Golden Night is a disciplined grid EA that trades only at night, avoiding daytime volatility. It’s not fully hands-off—monitor during extreme moves.
🌙 Ready to trade the night away? Test it in a demo, then let Golden Night work while you sleep!