Golden Scalper EA
- Experts
- Version: 5.2
- Updated: 14 July 2026
- Activations: 10
Golden Scalper EA — Automated Scalping Expert Advisor with Candlestick Pattern Analysis for MetaTrader 5
OVERVIEW
Golden Scalper EA is a professional trading robot (Expert Advisor) for MetaTrader 5, designed for fully automated trading based on classic Japanese candlestick pattern analysis, with the option to additionally confirm signals using a Moving Average (MA) filter. The EA recognizes reliable candlestick reversal patterns and opens trades according to the selected trading logic.
The system recognizes 11 candlestick patterns, each of which can be enabled or disabled individually. Trade management includes a controlled grid strategy, Smart Risk capital management, trailing stop and breakeven, time-and-distance entry filters, spread control, and a daily trade limit. The EA supports netting and hedging accounts and can be used to trade Forex currency pairs, precious metals, energy commodities, indices, and CFDs.
KEY FEATURES
Analysis of 11 candlestick patterns — Bullish Engulfing, Bearish Engulfing, Hammer, Hanging Man, Shooting Star, Inverted Hammer, Doji, Morning Star, Evening Star, Piercing Line, Dark Cloud Cover. Each pattern is enabled or disabled independently
MA Filter — optional confirmation of signals by a moving average: a buy is allowed only when price is above the MA, a sell only when price is below the MA. Disabled by default; the period, calculation method (SMA, EMA, SMMA, LWMA), and price type are configurable
Choice of trading direction — BUY ONLY, SELL ONLY, and BOTH modes
Controlled grid strategy — as the market moves against the open side, the EA adds orders at a defined step in points; the number of orders is capped by a maximum, and its own level tracking ensures correct operation on netting and hedging accounts. After all positions are fully closed, the grid cycle automatically starts again
Smart Risk capital management — the base volume is calculated in proportion to the balance, and the volume of each subsequent grid order decreases, which helps reduce the cumulative load on the deposit as the grid expands. A fixed-lot mode is also available
Profit protection — Trailing Stop moves the stop loss along behind a profitable price, Break Even moves the position to breakeven; Stop Loss and Take Profit levels in points are available
Entry filters — a combined time-and-distance filter works in four modes: time only, distance only, time OR distance, time AND distance
Trading condition control — a check of spread and free margin before entry, automatic lot adjustment, and a daily trade limit; when the session is closed, opening positions is paused
Information panel and trade history — the chart displays a panel with profit statistics for the day, week, month, and all time, the number of open orders, and the status of protective functions; trade history is shown on the chart, and colors are configurable
CANDLESTICK PATTERN ANALYSIS
Bullish Engulfing — An upward reversal pattern, formed when a bullish candle fully engulfs the previous bearish candle, signaling a change of trend from downward to upward
Bearish Engulfing — A downward reversal pattern, formed when a bearish candle fully engulfs the previous bullish candle, signaling a change of trend from upward to downward
Hammer — An upward reversal pattern, consisting of a single candle with a long lower shadow (at least twice the body length) and a small body, formed mainly at the bottom of a trend
Hanging Man — A downward reversal pattern, visually similar to the Hammer but formed at the top of a trend, signaling a potential reversal downward
Shooting Star — A downward reversal pattern, consisting of a candle with a long upper shadow and a small body, formed at the top of a trend, signaling weakening buyers
Inverted Hammer — An upward reversal pattern, the opposite of the Hammer, with a long upper shadow and a small body, often indicating a potential reversal upward
Doji — A neutral pattern of indecision, formed when the open and close prices nearly coincide. It is informational in nature and is not used as a standalone entry signal
Morning Star — An upward reversal pattern of three candles, usually indicating the end of a bearish trend and the start of a bullish trend
Evening Star — A downward reversal pattern of three candles, usually indicating the end of a bullish trend and the start of a bearish trend
Piercing Line — An upward reversal pattern of two candles, where the second bullish candle closes above the midpoint of the previous bearish candle
Dark Cloud Cover — A downward reversal pattern of two candles, where the second bearish candle closes below the midpoint of the previous bullish candle
EA PARAMETERS
Signal Settings
TimeFrame — the timeframe on which the EA analyzes candles and generates trading signals. Set to M5 by default.
Candlestick Patterns
BullishEngulfing — enables recognition of the Bullish Engulfing pattern (buy signal).
BearishEngulfing — enables recognition of the Bearish Engulfing pattern (sell signal).
Hammer — enables recognition of the Hammer pattern (buy signal).
HangingMan — enables recognition of the Hanging Man pattern (sell signal).
ShootingStar — enables recognition of the Shooting Star pattern (sell signal).
InvertedHammer — enables recognition of the Inverted Hammer pattern (buy signal).
Doji — enables recognition of the Doji pattern. The pattern is neutral and used for information only, without opening trades.
MorningStar — enables recognition of the Morning Star pattern (buy signal).
EveningStar — enables recognition of the Evening Star pattern (sell signal).
PiercingLine — enables recognition of the Piercing Line pattern (buy signal).
DarkCloudCover — enables recognition of the Dark Cloud Cover pattern (sell signal).
MA Filter
EnableMAFilter — enables or disables signal confirmation by a trend filter based on a moving average. Disabled by default.
MAPeriod — the moving average period. Larger values give a smoother, slower trend line; smaller values a more responsive one.
MAMethod — the moving average calculation method (simple, exponential, smoothed, or linear-weighted).
MAPrice — the price on which the moving average is calculated (close, open, high, low, and others).
Lot Settings
LotMethod — selects the position volume calculation method: fixed lot or Smart Risk (automatic calculation based on balance size).
FixedLotSize — the lot size used when the fixed-volume trading mode is selected.
Grid Trading Settings
UseGrid — enables or disables the use of the grid strategy when managing open positions.
GridStep — the distance in points between adjacent grid levels. The larger the value, the less frequently additional orders are opened.
MaxGridOrders — the maximum number of orders the EA can open in one direction when the grid strategy is running. Limits the total grid risk.
Trading Direction
TradeDirection — defines the trading direction: buys only (BUY), sells only (SELL), or trading in both directions (BOTH).
Stop Loss & Take Profit Settings
StopLoss — the stop loss size in points for each new position. A value of 0 disables the Stop Loss.
TakeProfit — the take profit size in points for automatic profit locking. A value of 0 disables the Take Profit.
Trailing Stop & BreakEven Settings
TrailingStop — enables or disables automatic management of profitable positions with a trailing stop.
TrailingStart — the minimum profit in points after which the trailing stop is activated.
TrailingDistance — the distance in points between the current price and the trailing stop level after activation.
TrailingStep — the minimum price change required for each subsequent move of the trailing stop.
BreakEven — enables or disables automatic move of a position to breakeven.
BreakEvenStart — the profit in points required to activate breakeven mode.
BreakEvenOffset — an additional stop loss offset relative to the open price after the position is moved to breakeven.
Trading Rules
MaxSpread — the maximum allowed spread for opening new trades. If the current spread exceeds the set value, opening new positions is temporarily blocked.
MinutesBetweenTrades — the minimum time interval between opening new trades.
FilterMode — defines the entry filter mode: time only, distance only, time OR distance, or time AND distance simultaneously.
MagicNumber — a unique identifier that lets the EA distinguish its own trades from those of other EAs or manual trading.
TradeComment — a comment automatically added to all trades opened by the EA.
DailyLimit — enables or disables the limit on the maximum number of new trades during a single trading day.
MaxOrdersPerDay — the maximum number of trades the EA can open in one trading day.
Display Settings
ShowPanel — enables or disables display of the information panel on the chart.
ShowProfitStats — displays profit statistics for the day, week, month, and the entire operating period of the EA.
ShowTradeHistory — enables display of the executed trade history directly on the chart.
BuyTradeColor — sets the display color for buy trades.
SellTradeColor — sets the display color for sell trades.
TradeFontSize — defines the font size of the trade history labels on the chart.
PanelBackColor — sets the background color of the information panel.
PanelTextColor — defines the text color of the information panel.
PanelEditColor — sets the color of the value fields inside the information panel.
HOW IT WORKS
At the close of each new bar, the EA analyzes the candlestick structure to identify one of the 11 supported patterns. When the MA filter is enabled, the detected pattern is confirmed by the moving average (for bullish patterns, price above the MA; for bearish, price below the MA); when the filter is disabled, the decision is made by the pattern alone. A trade is opened if the signal matches the selected direction mode.
Before a trade is opened, the interval and distance are checked according to the selected filter mode, along with the current spread, the trading session status, and the sufficiency of free margin; if necessary, the volume is reduced and aligned to the broker's allowed lot step. Stop Loss and Take Profit are set in points, taking into account the broker's minimum allowed distance. Open positions are managed with a trailing stop and breakeven, and the grid runs at the defined step and resets its cycle after the side is fully closed.
CONCLUSION
Golden Scalper EA combines classic candlestick pattern analysis, optional signal confirmation using a Moving Average (MA) filter, a controlled grid strategy, and Smart Risk capital management. Flexible pattern configuration, two position volume calculation modes, and full support for netting and hedging accounts make the EA a versatile solution for automated trading on various financial markets using the MetaTrader 5 platform.
IMPORTANT: the EA does not guarantee profit. Always test it on a demo account and in the Strategy Tester before using it on a live account. Trading with automated systems involves the risk of capital loss.

