Candle color EA: no-code builder for MT4 / MT5
Candlestick patternsThe candle color rule looks for several bullish (or bearish) candles in a row, each with a body of at least a set number of points. Simple and direct; often used to confirm short-term momentum or as an exit condition.
Rules you can build with it
Works as an entry rule or an exit rule. Short rules are mirrored automatically.
- LongLast 2 candle(s) bullish, each body at least 10 pointsShortLast 2 candle(s) bearish, each body at least 10 points
- LongLast 2 candle(s) bearish, each body at least 10 pointsShortLast 2 candle(s) bullish, each body at least 10 points
Settings
| Settings | Default | Range |
|---|---|---|
| Min body (points) | 10 | 0 – 2000 |
| Candles in a row | 2 | 1 – 4 |
How the backtest and the EA calculate it
Uses only the open and close of closed candles; body size is measured in points.
Signals use only closed candles and are filled at the next candle's open. The exported EA checks conditions in the same order, so you get similar results in the MT5 Strategy Tester.
Example strategies
- Entry · Candle color: Last 2 candle(s) bullish, each body at least 10 points
- Stop-loss 300 points, take-profit 600 points
- Entry · Candle color: Last 2 candle(s) bullish, each body at least 10 points
- Entry · Moving Average (50, EMA, Close): MA rises
- Stop-loss 300 points, take-profit 600 points
Examples are just a starting point: open one to change settings or add filters, then check it with backtests and robustness tests. Backtest results don't indicate future returns.