VI

Morning Star, Evening Star Forex Robot

EA that opens trades on the 3-candle Morning Star (BUY) and Evening Star (SELL) reversal patterns at recent lows and highs, with a stop loss beyond the pattern and a pattern panel right on the chart.

Robot Forex MT4MT5 GD-6604v1.0 Lifetime 7-day trial 23/11/2026
Morning Star, Evening Star · H1–Latest patternSao Mai 09:00 23/11Minimum first candle body1000 pointMaximum star body30% of first candleLast candle closes beyond50% of first candleAt the low / high of10 previous candlesWith the patternOnReverseOffStop loss200 points beyond the patternOpen positionBUY 1 · SELL 0Waiting for a Morning Star or Evening Star on H110:00 Opened BUY on H1: Morning Star
The EA panel on the MetaTrader chart (sample data, default inputs). The first line is the latest pattern within 200 candles. The panel can be dragged; click the top-right button to collapse it.
GD-6604 1.00 (XAUUSD,H1)
CommonInputs
VariableValue
ab========================================GENERAL SETTINGS
01Magic number (per product code)
01Max spread to open orders (points, 0 = no limit)
abTrading hours (server time), separate ranges with commas
Timeframe
ab========================================ORDER SETTINGS
½Volume (lot)
Stop loss
01Pattern stop loss: extra distance (points)
01Stop Loss in points (0 = none)
01Take Profit (points, 0 = none)
01Min distance between 2 same-direction orders (points, 0 = no limit)
Close opposite orders on a new signal
ab========================================ORDER LIMITS
01Max total BUY + SELL orders (0 = no limit)
01Max BUY orders (0 = no limit)
01Max SELL orders (0 = no limit)
At most 1 order per candle (of the timeframe)
ab========================================MORNING STAR, EVENING STAR SETTINGS
01Minimum body of the first (large) candle (points)
½Maximum body of the middle (star) candle (% of first candle body)
½Last candle closes beyond (% of first candle body)
01Is the low / high of the previous N candles (0 = off)
ab========================================ENTRY SCENARIOS
With the pattern: Morning Star BUY, Evening Star SELL
Reverse: Morning Star SELL, Evening Star BUY
Trade direction
ab========================================BREAKEVEN AND TRAILING STOP
Move Stop Loss to breakeven
01When the order is in profit by (points)
01Stop Loss beyond entry price (points, to cover costs)
Trailing Stop: Stop Loss follows price
01Start when the order is in profit by (points)
01Keep Stop Loss away from price (points)
01Minimum step (points)
ab========================================OTHER SETTINGS
Phone notification when orders open / close
LoadSave

How the EA works

The EA checks the last 3 closed candles of the entry timeframe (default H1). A valid Morning Star means BUY, an Evening Star means SELL, right as the new candle opens. By default the stop loss goes beyond the pattern low or high.

BUYSELLSELLBUY3-candle patternEntry point
Patterns are detected with the EA's exact rules: first candle body at least 1000 points, star body at most 30% of the first, confirmation candle closing beyond 50% of the first body, at the low (high) of the previous 10 candles. Choose a setup to view: the gold frame is the 3 pattern candles, the gold dot is where the EA opens the trade at the start of the next candle. With the pattern (default): Morning Star BUY, Evening Star SELL; Reverse does the opposite.
  1. 1First candle

    A large candle in the direction of the old move, body from 1000 points (1 gold unit).

    • BUYLarge bearish candle
    • SELLLarge bullish candle
  2. 2Star candle

    A small body, at most 30% of the first candle's body, at the end of the first candle: the old move has run out of steam.

    • BUYStar sits low
    • SELLStar sits high
  3. 3Confirmation candle

    An opposite candle closing past 50% of the first candle's body, with the pattern at the low (high) of the previous 10 candles.

    • BUYBullish candle closes past the middle of the first candle
    • SELLBearish candle closes past the middle of the first candle
  • Pattern stop loss: BUY below the low of the 3 candles, SELL above their high, plus 200 points. For a fixed stop loss choose By points.
  • The panel on the chart shows the latest pattern within 200 candles, handy for checking that the EA detects patterns correctly.
  • 3-candle patterns appear less often than Pinbar or Engulfing; H1 and H4 give the clearest patterns.
3-candle reversal pattern

Large candle, star, confirmation candle: more reliable than 1- or 2-candle patterns thanks to the extra candle confirming the turn.

Adjustable conditions

Minimum first candle body, maximum star body, how far the last candle must close and how many candles to check for the low or high are all inputs.

Low / high position filter

Only patterns whose low (high) is below (above) the previous N candles count, skipping patterns in the middle of a range.

Pattern stop loss

BUY stop loss below the low of the 3 candles, SELL above their high, with a small extra distance. Or choose a stop loss in points.

With the pattern or reverse

By default Morning Star BUY, Evening Star SELL. Reverse mode is for when testing shows the pattern often fails.

Pattern panel on the chart

A draggable panel showing the latest pattern within 200 candles, detection conditions, stop loss mode and open orders.

Overview

Morning Star, Evening Star Forex Robot (code GD-6604) is an EA for MetaTrader 4 and MetaTrader 5 that trades the 3-candle Morning Star and Evening Star reversal patterns. They are two classic Japanese candlestick reversals, signalling that a decline (or rally) has run out of steam and price is about to turn.

A Morning Star is a large bearish candle, a small star sitting low, then a bullish candle closing past the middle of the first candle's body; at a low the EA opens a BUY. An Evening Star is the mirror at a high, and the EA opens a SELL. Every condition (first candle body, star size, how far the last candle closes, low/high position) is adjustable. By default the stop loss goes beyond the pattern low or high.

Default settings are made for gold XAUUSD. On brokers quoting gold with 3 decimals (e.g. 2650.125), 1 gold price unit = 1000 points: a 1000-point minimum first candle body is 1 unit, a 5000-point take profit is 5 units. On brokers quoting gold with 2 decimals, 1 unit = 100 points, so divide the point inputs by 10.

Example on H1: the 07:00 candle falls from 2652.400 to 2648.900 (3500-point body), the 08:00 candle has a small 600-point body around 2648.700, and the 09:00 candle rises to close at 2651.300, past the middle of the first body (2650.650). The pattern low at 2647.950 is below the previous 10 candles. At 10:00 the EA opens a 0.01 lot BUY with stop loss at 2647.750 (200 points below the low) and take profit 5000 points from entry.

The panel on the chart shows the latest pattern, detection conditions, active setups, stop loss mode and open orders. One single file runs a 7-day trial on a demo account and runs live with a license. Every order carries the comment "www.HoangTrong.com" and the product's own magic number.

Changelog

Version 1.023/11/2026

First release of Morning Star, Evening Star Forex Robot.

  • 3-candle reversal pattern
  • Adjustable conditions
  • Low / high position filter
  • Pattern stop loss
  • With the pattern or reverse
  • Pattern panel on the chart

FAQ

Is the trial version different from the full version?

No. Each product has a single file. Without a license it runs for 7 days on a demo account. Buy a license for your account ID and it runs on your live account, no new download needed.

What is WebRequest and why does the EA need it?

WebRequest is the permission that lets an EA connect to an address on the internet. HoangTrong.com EAs use it to activate the license, then check themselves offline. See how to enable WebRequest.

How do I activate the license?

Buy a license for the correct MetaTrader account ID, then click Activation in the EA. You don't need to enter or store any key. After reinstalling, just activate again.

What if I want to use the EA on another account ID?

A license is permanently tied to the account ID it was bought for. To use the EA on another ID, buy an extra ID right on the product page: if you already own the license, each extra ID costs only 100,000 VND.

Multi-account licenses

Extra IDs only 100,000 VND/ID

Each license includes 1 account ID. Each extra ID is only 100,000 VND, for both retail and COMBO prices, valid forever.

  1. What is an account ID?It's your MT4/MT5 login number, shown in MetaTrader and in the email the broker sends when you open the account.
  2. Buy several IDs at onceEnter IDs separated by commas, for example 12345678, 87654321. Up to 20 IDs per order.
  3. Add IDs laterOnce you have a license, come back to this page, enter the new ID and click Buy a license. You're only charged 100,000 VND per ID, not the license price again.
Buying extra IDs: sign in firstSign in with the website account you bought the license with to get the 100,000 VND per ID price. With a different website account, the system cannot see your license and charges the full license price.
Example1 ID3 ID
Retail price500,000 VND700,000 VND
COMBO price5,000,000 VND5,200,000 VND
Add IDs later100,000 VND per ID (signed in)

Besides Morning Star, Evening Star Forex Robot

Other products from HoangTrong.com

View all products
GD-8801Indicator-basedMT4MT5

RSI Overbought Oversold Forex Robot

The EA opens BUY and SELL orders on RSI signals in the overbought and oversold zones, with built-in stop loss, take profit, break-even and Trailing Stop.

  • 3 RSI entry scenarios, each can be switched on or off
  • Stop loss, take profit, break-even and Trailing Stop
  • Limits on order count, trading hours, spread, 1 order per candle
Retail price500,000 VND
Details
GD-8805Indicator-basedMT4MT5

Multi-Timeframe RSI Forex Robot

EA opens orders on RSI overbought and oversold signals, filters signals with the RSI of 5 timeframes switched on or off separately, multi-timeframe RSI table right on the chart.

  • 3 RSI entry scenarios, same as GD-8801
  • 5 RSI filter timeframes, each with its own inputs and on/off
  • Multi-timeframe RSI table on the chart, unused filters clearly marked
Retail price500,000 VND
Details
GD-8802Indicator-basedMT4MT5

MA Crossover Forex Robot

The EA opens BUY and SELL orders when the fast MA crosses the slow MA, with built-in stop loss, take profit, break-even and Trailing Stop.

  • BUY when the fast MA crosses up, SELL when it crosses down
  • Separate period and MA type for each line
  • Stop loss, take profit, break-even and Trailing Stop
Retail price500,000 VND
Details

Need a different feature?

Order a custom EA built on your strategy, priced per feature.