Join our fan page
- Views:
- 164
- Published:
- Updated:
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
BlueMoon EA is an Expert Advisor for MetaTrader 5 that uses EMA Envelope signals to identify potential market reversals and automatically manages trades using adaptive basket recovery techniques.
The system has been designed for traders who prefer a structured approach to basket management while maintaining configurable risk controls.
Unlike many simple grid systems, BlueMoon combines technical signal generation with controlled basket management and built-in account protection
Main Features
✔ EMA Envelope signal detection
✔ Automatic BUY and SELL entries
✔ Adaptive basket management
✔ Progressive lot sizing
✔ Configurable grid distance
✔ Single trade take-profit
✔ Basket profit target
✔ Spread protection
✔ Drawdown protection
✔ Automatic recovery after terminal restart
✔ Real-time monitoring dashboard
✔ Supports broker symbol suffixes (example: AUDCAD.c)
✔ Designed for MT5 Hedging accounts
Trading Logic
BlueMoon monitors the market using an Exponential Moving Average (EMA) Envelope.
When price reaches the configured envelope boundaries, the EA can open a position according to the selected settings.
If the market continues moving against the initial position, additional trades may be opened using configurable grid spacing and progressive lot sizing.
Once the basket reaches the configured profit target, the EA closes the basket automatically.
Risk ManagementThe EA includes several configurable protection mechanisms:
• Maximum spread filter
• Maximum basket size
• Maximum lot size
• Total drawdown protection
• Optional trading lock after emergency drawdown
• Automatic basket reconstruction after platform restart
Dashboard
BlueMoon includes an information dashboard displaying:
• Current EA status
• Spread
• EMA values
• Envelope levels
• Basket statistics
• Current drawdown
• Next expected action
• Last trading activity
• Account information
Inputs
The EA allows configuration of:
- EMA period
- Envelope deviation
- Initial lot
- Lot increment
- Maximum lot
- Grid distance
- Basket profit target
- Single trade take-profit
- Maximum spread
- Maximum positions
- Drawdown protection
- Dashboard options
- MetaTrader 5
- Hedging account
- Low spread broker
- VPS recommended for uninterrupted operation
- Test settings on a demo account before using on a live account
Important
Trading involves risk.
This Expert Advisor does not guarantee profits and past performance does not guarantee future results.
Users are encouraged to understand the strategy and perform their own testing before live trading.
PRO SCREENER
Take control of your trading performance with the Pro Dashboard Screener Designed for serious traders, this utility provides a clean, professional, and real-time overview of your account's health directly on your chart.
Breakout Distance - Donchian channel with distance-to-trigger panel in ATR units
Most channel indicators tell you where the breakout level is. This one tells you how far away from it you are, right now, in a form you can act on. The panel shows, for both the upper and the lower channel edge: the level itself the distance from the current price, in the symbol's own price units the same distance expressed in ATR units a proximity bar that fills as price approaches the trigger Why the ATR column matters. A distance of 8 dollars from a breakout means something completely different in a quiet Asian session than it does during a news release. Dividing the distance by the current ATR makes the number comparable across sessions, across volatility regimes and across symbols. A reading of 0.30 ATR means the same thing on gold as it does on EURUSD. Colour coding: normal text : more than InpNearATR away (default 1.0 ATR) gold : within InpNearATR orange red : within InpVeryNearATR (default 0.5 ATR)
Accelerator Oscillator (AC)
The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.
MACD Signals
Indicator edition for new platform.
