VI

Candle Colour Lot Step Forex Robot

EA that trades the colour of the candle just closed, one order at a time with Stop Loss and Take Profit. After a loss the next order is larger, after a win it is smaller.

Robot Forex MT4MT5 GD-9001v1.0 Lifetime 7-day trial 21/11/2026
Candle colour · lot stepXAUUSD · H1Next lot0.03Last orderThua -10.00 · 0.02 lotCurrent streak2 losses in a rowTotal wins / losses14 / 11Open orderNoneWaiting for a new H1 candle to enter15:00 Opened SELL 0.02 lot (last order lost)
The EA info panel on the MetaTrader chart (sample data: 2 losses in a row at 0.01 and 0.02 lot, next order 0.03 lot).
GD-9001 1.00 (XAUUSD,H1)
CommonInputs
VariableValue
ab========================================GENERAL SETTINGS
01Magic (0 = auto from product code)
01Max spread (point, 0 = ignore)
abTrading hours (server time)
Candle timeframe
ab========================================STOP LOSS AND TAKE PROFIT
01Stop Loss (point)
01Take Profit (points)
ab========================================LOT STEP BY LAST ORDER
½First order lot
½Up on loss, down on win (lot)
½Max lot (0 = no limit)
Loss at max lot resets to first lot
ab========================================CANDLE COLOUR SIGNAL
01Min candle body (points)
Reverse: bullish candle SELL
Trade direction
ab========================================OTHER SETTINGS
Notify phone on order open / close
LoadSave

How the EA works

The EA holds only one order at a time. At the start of each new candle, if no order is open, it reads the colour of the candle just closed to choose BUY or SELL, then sizes the lot from the last result.

OrderPrevious candleLotResultRunning total
1Bullish: BUY0.01Thua -5-5
2Bearish: SELL0.02Thua -10-15
3Bullish: BUY0.03Win +150
4Bullish: BUY0.02Win +10+10
5Bearish: SELL0.01...

Gold example with default settings, profit and loss in USD (Stop Loss and Take Profit 5 dollars: 0.01 lot wins or loses 5 USD).

Entry signal

  • Candle colourDefault
    • BUYThe closed candle is bullish
    • SELLThe closed candle is bearish
  • ReverseDefault: NO
    • BUYThe closed candle is bearish
    • SELLThe closed candle is bullish

Each order goes through 3 steps

  1. 1Read the closed candle

    Only when no order is open.

    • Within 00:00 - 23:59, spread no more than 250 points
    • Skip doji candles (close equals open)
  2. 2Size the lot

    From the result of the most recently closed order.

    • First order: 0.01 lot
    • Loss: + 0.01 lot, up to 0.10
    • Win: - 0.01 lot, not below 0.01
  3. 3Open and wait

    The order opens with Stop Loss and Take Profit; the EA never closes it by hand.

    • Stop Loss 5000 points, Take Profit 5000 points
    • After it closes, the next order waits for a new candle
  • Win or loss uses the order profit (including swap and commission); an order closed at exactly 0 keeps the lot.
  • The EA reads the account trade history (by magic number and symbol), so after a restart it still sizes the next lot correctly.
  • The MT4 version only sees orders in the Account History tab: choose All History.
  • The info panel at the top left shows the next lot, the last result and the win or loss streak.
Simple signal

A bullish closed candle means BUY, a bearish one means SELL. Doji candles are skipped; you can set a minimum body and turn on Reverse mode.

Lot step by last order

After a loss the next order adds 0.01 lot, after a win it removes 0.01 lot. The first lot and the step are adjustable.

Risk limits

The lot never goes below the first lot or above the max lot (default 0.10). Optionally reset to the first lot after a loss at the max lot.

One order at a time

Each order has Stop Loss and Take Profit of 5000 points (5 dollars on gold). After it closes, the EA waits for a new candle before the next order.

Remembers results after a restart

The EA reads the account trade history to know whether the last order won or lost, so a restart still gives the right next lot.

On-chart info panel

Shows the next lot, the last result, the win or loss streak, total wins and losses, and the open order.

Overview

Candle Colour Lot Step Forex Robot (code GD-9001) is an EA for MetaTrader 4 and MetaTrader 5. It reads the candle just closed: a bullish candle (close above open) opens a BUY, a bearish candle opens a SELL. Only one order is open at a time, with Stop Loss and Take Profit of 5000 points.

The size of each order depends on the last result. After a loss (Stop Loss hit) the next order adds 0.01 lot. After a win (Take Profit hit) it removes 0.01 lot, never below the first lot. Because Stop Loss equals Take Profit, one win at a larger lot covers earlier losses at smaller lots.

Example with defaults on gold: order 1 at 0.01 lot loses 5 USD, order 2 at 0.02 lot loses 10 USD, order 3 at 0.03 lot wins 15 USD. After 3 orders the total is back to 0 with only 1 win; order 4 drops to 0.02 lot.

Default settings are made for gold XAUUSD. With brokers quoting gold to 3 decimals (e.g. 2650.125), 1 dollar = 1000 points: Stop Loss and Take Profit of 5000 points are 5 dollars. With 2 decimals, 1 dollar = 100 points, so divide point settings by 10.

Risk of losing streaks. A long losing streak keeps raising the lot: 9 losses in a row from 0.01 lot make order 10 a 0.10 lot, with about 225 USD lost. The max lot (default 0.10) stops the lot from growing forever. Test on a demo account and size the lot to your capital.

The info panel at the top left of the chart shows the next lot, the last result, the streak and the open order. One file covers the 7-day demo trial and live trading once licensed. Every order carries the comment "www.HoangTrong.com" and the product's own magic number.

Changelog

Version 1.021/11/2026

First release of the Candle Colour Lot Step Forex Robot.

  • Simple signal
  • Lot step by last order
  • Risk limits
  • One order at a time
  • Remembers results after a restart
  • On-chart info panel

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 the Candle Colour Lot Step Forex Robot

Other products from HoangTrong.com

View all products
GD-1001Indicator-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-1002Indicator-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
GD-1003Indicator-basedMT4MT5

Robot Forex Bollinger Bands

The EA opens BUY and SELL orders on Bollinger Bands: price returning inside the bands or breaking out, with built-in stop loss, take profit, break-even and Trailing Stop.

  • Return inside the band to catch reversals, switchable
  • Band breakout to ride momentum, switchable
  • 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.