You’ll learn: a daily-timeframe regime filter, an
ADX(14) strength gate, a
pullback entry confirmed by RSI(14), ATR-based stops and targets, a
trailing stop, and a one-trade-per-day cap. Time: about ten minutes.The idea, in plain English
Five separate conditions, each doing one job:- Regime — only go long when the daily 50-EMA is rising (the bigger trend is up).
- Strength — only when ADX(14) is above 20 on the trading timeframe (the trend has some force behind it).
- Trigger — buy a pullback: RSI(14) turning up from below 40 (price dipped, then started to recover).
- Adaptive risk — stop at 1.5x ATR(14), target at 3x ATR, both measured at entry, plus a 20-tick trailing stop once the trade is in profit.
- Discipline — flatten at end of day, one trade per day, longs only.
Step 1 — Describe it
Type the whole thing in one message. AskFutures reads it as a single connected idea — you don’t need to break it up:On ES 5-minute bars: when the daily 50-EMA is rising and ADX(14) is above 20, buy a pullback to the rising 5-minute 20-EMA confirmed by RSI(14) turning up from below 40. Stop at 1.5x ATR(14), target at 3x ATR, trail by 20 ticks once in profit, and flatten at the end of the day. One trade per day, longs only.
Notice this prompt names everything explicitly — 5-minute bars, longs
only, the EOD flatten, the one-trade-per-day cap. That overrides the
silent defaults (which would otherwise be 1-minute bars,
both directions). When you’re this specific, AskFutures follows your lead.
Step 2 — Read the strategy card
This strategy reads from two timeframes — daily for the regime, 5-minute for the entry — so check the card carefully.Market & timeframes
Trades
ES on 5-minute bars, while reading a daily series for the
50-EMA regime filter. See timeframes &
bars for how the two fit together.Trend filter (regime)
The daily 50-period EMA must be rising. When it’s flat or falling, no long
is allowed — the strategy simply sits out.
Strength gate
ADX(14) above 20. ADX measures trend strength regardless of direction, so
it keeps you out of choppy, going-nowhere stretches.
Entry trigger
A pullback toward the rising 5-minute 20-EMA, confirmed by RSI(14)
turning up from below 40 — the dip-then-recover that gives the strategy its
name.
Exits — adaptive to volatility
A 1.5x ATR(14) stop, a 3x ATR target, and a 20-tick trailing stop
that activates once you’re in profit, plus an end-of-day close. The first
one to trigger wins. Because ATR scales with volatility, your risk widens in
fast markets and tightens in quiet ones.
Step 3 — Backtest and read the results
Backtest it.The engine replays a year of 5-minute ES bars, checking the daily regime on each day before allowing any entry. With a one-trade-per-day cap and several conditions stacked, expect fewer trades than a bare crossover — that’s the point of a selective strategy. What to look at, in order:
Trade count
Trade count
Did the filters leave you any trades? A handful is normal here. Too few to
judge? Loosen one condition (for example, ADX above 15 instead of 20).
Exit reasons
Exit reasons
A healthy trend-pullback shows a mix of
target and trailing stop exits on
winners. A flood of stop exits usually means the regime filter isn’t
actually keeping you on the right side of the trend.Drawdown
Drawdown
Adaptive (ATR) risk is meant to keep losers proportional. If a few outliers
dominate the drawdown, the trailing stop may be activating too late.
Step 4 — Iterate
Change one thing at a time so you can tell what helped. Each edit is a new saved version you can compare.Loosen the strength gate to ADX above 15.
Tighten the ATR stop to 1x and keep the 3x target.
Add a time filter so it only trades between 09:30 and 12:00.
Optimize the ATR stop and target multipliers and the ADX threshold.When you’re ready to search instead of guess, hand the parameters to the optimizer — the ATR multipliers, the ADX threshold, and the RSI level are all natural things to sweep.
Next steps
Spread, z-score and COT
Go advanced: trade the ES-NQ spread with positioning and correlation filters.
Signals & indicators
How ATR, ADX, RSI, and EMA are computed — real TA-Lib, not approximations.
Timeframes, bars & sessions
How a daily regime filter and a 5-minute entry coexist in one strategy.
Optimize a strategy
Sweep the ATR multipliers and ADX threshold instead of guessing.