Join waitlist
Strategies / Trend / EMA 200 Candle Color Bracket

EMA 200 Candle Color Bracket

The strategy buys a green candle that closes above the 200-period EMA and sells short on a red candle that closes below it. Each trade has a 1% stop and a 2% target, and a new trade can start on any later qualifying bar.

TrendLong & shortIntradayEUR/USD3 min
n/aProfit factor
85,263Net profit USD
11.73%Win rate
9,070Trades
-78,382Max drawdown
9.40Avg trade

Best run of 4. EUR/USD, 3 min, spread 1, from run sweeps:2026-10-11-EURUSD-3m-opt.tsv:20.

Entry rules, long

  1. The bar is green, with its close above its open

Entry rules, short

  1. The bar is red, with its close below its open

Exit rules

  1. The target is 2% from the fill price
  2. An opposite signal reverses the position

Test conditions

PeriodUp to 2026-10-11
InstrumentEUR/USD, 3 minutes
Spread1 points
Starting capital1,000,000
CostsSpread only. Commissions and overnight financing are not included.
BarsUp to 200,000 bars, fewer where the instrument has less history
Last tested2026-10-11

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
EUR/USDBest run3 minn/a 9,07011.7385,263 USD-78,382
USD/JPYDailyn/a 2,00432.781,780,180 USD-824,630
EUR/USDDailyn/a 1,84132.2163,766 USD-48,179
GBP/USDDailyn/a 1,90932.4820,267 USD-8,616

Charts

Results by run

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// EMA 200 Candle Color Bracket
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long & short
// Timeframe tested: 3 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

slow = ExponentialAverage[200](close)

16 more lines: the entry and exit rules.

Setup

How to load it

  1. Copy the code with the copy button on the code block.
  2. In ProRealTime, open a chart of the instrument and timeframe you want to test, then open ProOrder > New trading system and choose "Create with programming".
  3. Paste the code, give the system a name and save it.
  4. Click "Backtest", set your own spread and position size, and run it before you consider trading it live.

Indicators used

EMA
Read this firstKnown weaknesses2 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The maximum drawdown of 78,382 USD is large next to the net profit of 85,263 USD.

Questions

About this strategy

Can I run EMA 200 Candle Color Bracket in ProOrder?

Yes. The code is ProBuilder and runs as an automated ProOrder system. Backtest it on your own account with your own spread and position size before trading it live.

Which markets was it tested on?

It was tested on 4 market and timeframe combinations. The best run by trade count was EUR/USD, 3 minutes, with 9,070 trades.

How large was the drawdown?

The best run had a maximum drawdown of 78,382 USD at the tested position size, against a net result of 85,263 USD.

Does it trade long, short or both?

It trades both long and short.

Related

Strategies like this one

Reversal Pattern With Chaikin Volatility

Uses the same indicator.

2.26 PF · 6,872 trades

Slow MACD Slope

Best run on the same market, EUR/USD.

6.80 PF · 7,305 trades

ADX Filtered EMA Cross

Also a trend strategy.

1.15 PF · 607 trades

Get the full rules, the complete code and the ProRealAlgos portfolio as a member.

The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.

Past backtest results do not guarantee future results. This is not financial advice. Curated and maintained by ProRealAlgos. ProRealTime™ is a trademark of ProRealTime SAS. prorealalgos.comStatsDocs