I built WFF D because I kept taking the same entry manually and wanted something that would flag it consistently without me sitting there waiting for it. The idea is simple: if you are in a trend, the first clean pullback to the 20 EMA is often the best place to join that trend. That is the whole setup. WFF D automates the recognition part so you are not second-guessing yourself when it arrives.
This guide covers what the indicator does and why it matters, how to configure and use it on TradingView, how to use it in Sierra Chart, and how it fits into a broader trading plan.
What WFF D does and why it matters
WFF D watches three things at once. First, it tracks the 20 EMA relative to a configurable slower EMA (the trend filter) to establish direction. If price is above the slow EMA and the fast EMA is sloping up, the tool is looking for long setups. Below and sloping down, it looks for shorts. No ambiguity.
Second, once direction is confirmed, it waits for price to pull back into the 20 EMA zone. Not a close through it, not a wick through it by 20 points, but a genuine test. When that test meets the minimum spread requirement and hits inside the session window, the indicator marks the signal.
Third, there is a momentum breakout variant. Some trending days never pull back cleanly. Price breaks above a level and never returns to the EMA. The momentum variant catches those by firing on a breakout candle rather than waiting for the retrace. You decide which mode fits the day.
The trail-to-break-even logic is built in. Once unrealized profit reaches the configured offset, the indicator signals that your stop should move to break even plus a small buffer. This keeps a winning trade from turning into a loser without you having to babysit it.
Why does this matter? Because the 20 EMA pullback is one of the highest-context entries you can take in a trend. You are not chasing. You are not guessing a reversal. You are joining a move at a structurally sensible point with a defined risk. The indicator does not make the trade for you, but it removes the hesitation of "is this actually at the EMA or am I just convincing myself."
How to use WFF D on TradingView
Once you have added WFF D to your chart, open the settings panel. Here are the inputs and what each one does.
- EMA lengths. The fast EMA defaults to 20 and the slow EMA defaults to 50. Leave these alone unless you have a specific reason. The 20 is the pullback target. The 50 is the trend filter. If you trade on a 15-minute chart you might tighten the slow EMA to 34 or 40, but start with 20 and 50 and only change them after watching how the signals behave on your instrument.
- Minimum spread. This is the minimum distance in points between the EMA and the current price at the time of the signal. It prevents signals on chop where price is sitting on the EMA the whole time. For NQ I typically use 8 to 12 points. For ES, 2 to 4. Set it to match your instrument's normal tick behavior.
- Stop lookback. This controls how many bars back the indicator scans to place the automatic stop level. A lookback of 3 to 5 bars works well on most setups. It is setting the stop at the most recent structural low (for longs) or high (for shorts) inside that window. If the market is volatile, widen the lookback slightly.
- TP R multiple. This sets your take-profit as a multiple of the initial risk (the distance from entry to the stop). A value of 2.0 means your target is 2R away from entry. I typically run 1.5 to 2.0 on the first target and leave a runner beyond that.
- Trail offset. Once unrealized profit reaches this many points, the indicator marks the trail-to-BE level. For NQ I use 20 to 25 points. For ES, 6 to 8. The offset should feel like a comfortable cushion, not a number you set hoping price barely gets there.
- Session. This restricts signals to a specific time window, in exchange time zone. For NQ and ES I use the regular session: 09:30 to 16:00 ET. If you trade the overnight open (18:00 to 21:00 ET), you can set a separate session window. The indicator will not fire outside the defined window, which keeps you from getting tagged by illiquid noise.
- Momentum mode toggle. This turns on the breakout variant. When enabled, a signal fires on a strong close above resistance (or below support) without waiting for the pullback. I use this sparingly, mostly on high-momentum open prints when the move is already running away.
Concrete steps on TradingView:
- Open a chart on your preferred instrument and timeframe (1-minute, 5-minute, or 15-minute work well).
- Add WFF D from the Indicators panel. It will plot the 20 EMA and the slow EMA directly on the chart, plus signal markers.
- Open Settings and configure EMA lengths, minimum spread, stop lookback, TP R multiple, trail offset, and session window for your instrument as described above.
- A long signal appears as an upward arrow below the signal bar. A short signal appears as a downward arrow above it. The plotted stop and target levels appear as horizontal lines extending right from the signal bar.
- When a signal fires, check context before entering. Is this the first pullback in the move, or the fourth one after the trend is already exhausted? The indicator flags the setup. You confirm it.
- Once in a trade, watch for the trail marker. When it appears, move your stop to break even plus the buffer. The indicator shows the level so there is no manual math involved.
How to use WFF D in Sierra Chart
Sierra Chart users get WFF D as an ACSIL study. The logic is identical to the TradingView version, but the inputs live in the study settings dialog and the signals write to Sierra's built-in alert and drawing systems.
Concrete steps in Sierra Chart:
- Open your chart and go to Analysis, then Studies, then Add Custom Study. Navigate to the WFF D study file and add it.
- Open the study settings. You will see the same inputs as the TradingView version: fast EMA length (default 20), slow EMA length (default 50), minimum spread, stop lookback bars, TP R multiple, trail offset, and session start and end times. Session times are entered in 24-hour format in exchange time (for CME instruments, Central time).
- The study plots two subgraphs on the main price chart: the 20 EMA and the slow EMA. Signal subgraphs plot an arrow at the signal bar. Stop and target subgraphs draw horizontal reference lines from the signal forward.
- To get alerts on signal fires, enable the Alert subgraph and connect it to Sierra's Chart Values Crossing alert type. Set it to trigger when the signal subgraph crosses above zero (long) or below zero (short). This routes through Sierra's native alert system so you get popup and audio alerts without a separate service.
- For the trail-to-BE level, the study writes the trail price to a dedicated subgraph. You can add a Chart Values Crossing alert on that subgraph at the current trade entry price to get notified when the trail condition is met.
- If you are using Sierra Chart's built-in position tracking or the DTC server connection to an auto-trader, the signal subgraph values are available as study references for order entry rules. The signal value is 1 for long, negative 1 for short, and 0 for no signal. This makes it easy to wire into Sierra's automated trading module if you go that route.
One note on the momentum variant in Sierra Chart: it is controlled by a separate input checkbox in the study settings, the same as TradingView. When enabled, breakout signals appear with a different subgraph color so you can visually distinguish them from the pullback signals in replay or review.
How to combine WFF D with the rest of your plan
WFF D is a signal layer, not a complete trading plan. Here is how I use it alongside other pieces.
Higher timeframe bias first. Before the session, I mark the daily and 4-hour trend. WFF D signals that go with that bias get full size. Signals that go against it get skipped or sized down significantly. The indicator does not know what the daily chart looks like. You do.
Economic calendar awareness. If a high-impact event is within 30 minutes, I either skip the signal entirely or wait for the event to pass and let price reset. The EMA pullback setup needs normal session flow. It does not perform well directly around surprise prints.
Pairing with volume context. A pullback to the 20 EMA that happens on shrinking volume is more reliable than one that happens with sellers actively pushing price into the EMA. If you have volume or delta data available (especially in Sierra Chart via the Footprint or Volume Profile studies), a low-delta pullback into the EMA is a cleaner setup than a high-selling-delta test.
Session timing. The highest-quality pullback signals tend to cluster in the first two hours of the regular session and occasionally around the European close. Late afternoon signals, especially after 14:30 ET, are lower odds. The session filter handles this automatically if you configure it tightly, but it is worth understanding the reason behind it, not just the rule.
For more setups that pair well with this approach, see the full indicator and setup breakdown library on the blog.
Test your own version before trading it live
Try this: take your exact WFF D settings (your session window, your minimum spread, your TP multiple) and run them against a full year of NQ data to see how many signals fired, which ones held, and where the setup broke down. The settings above are starting points. The only way to know if your version has an edge is to look at how it actually behaved across different conditions before you put a dollar on it.
Backtest Credits unlock the Qualified tier of the WFF Backtest Lab, where setups that already passed walk-forward testing are coded and ready to compare against your own configurations. You can test against more than 8 years of ES and NQ bar data with your exact inputs, your session window, and your risk parameters.
This is educational content, not financial advice or a recommendation to trade any specific security or strategy. Past results do not guarantee future results. Futures trading involves substantial risk, and most short-term traders lose money. Always test any approach on your own data and trade within your own risk parameters.