Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
3686
Rating:
(2)
Published:
Updated:
MQL5 Freelance 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

EA

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 Management

The 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
Recommended Usage
  • 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 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 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.

Nikkei 225 Gap Continuation EA Nikkei 225 Gap Continuation EA

The Nikkei 225 Gap Continuation EA is a MetaTrader 5 Expert Advisor that trades bullish and bearish continuation movements after the cash-session opening gap. It combines an opening-range breakout with VWAP confirmation, automatic risk-based position sizing, partial profit-taking, break-even management and a forced session exit. The EA supports both netting and hedging accounts.

The Quantitative Microstructure Matrix (SMC / FVG / Z-Score Engine) The Quantitative Microstructure Matrix (SMC / FVG / Z-Score Engine)

Stop trading retail noise. This is an institutional-grade, asynchronous multi-asset scanner. It combines True Fractal CHOCH, Z-Score volumetric anomalies, and Fair Value Gap (FVG) validation to detect high-probability Order Blocks without freezing your terminal.