Triple EMA Trend Strategy: Build It, Then Test the Lag

Faster trend lines promise earlier entries. A triple EMA trend strategy puts that promise to a direct test. It uses the Triple Exponential Moving Average, or TEMA, as its only trend line. Then it asks whether the reduced lag actually improves results.
That question matters because speed has a cost. A line that turns early also turns falsely more often. Whether the trade-off pays depends on the market and the timeframe.
This guide builds a long-only example with clear entry and exit rules. It also sets up a fair comparison against a standard EMA. For the indicator’s background, read our TEMA guide.
The settings below are research starting points. They are not backtested recommendations or claimed results.
What Is a Triple EMA Trend Strategy?
A triple EMA trend strategy holds a position while TEMA rises and price stays above it. It exits when either condition fails. It does not try to pick tops or bottoms.
The strategy has two jobs. First, decide whether a trend exists. Second, decide when that trend has ended.
TEMA handles both jobs here. Its direction defines the trend. Price’s position relative to the line confirms it.
This differs from a crossover system. A crossover uses two lines and waits for one to cross the other. This version uses one line and reads its slope instead.
Why TEMA Reacts Faster Than an EMA
A standard EMA lags price. On a steady trend, an EMA always sits behind the market. Longer settings mean bigger delays.
Patrick Mulloy designed TEMA to cut that delay. It combines three EMAs: a single, a double-smoothed and a triple-smoothed version. The formula takes three times the first, minus three times the second, plus the third.
Tulip Indicators documents the calculation with a single period setting. Investopedia’s overview covers the same construction.
On a steady straight-line trend, TEMA’s lag is close to zero. That is its main appeal.
The Price of Lower Lag
TEMA pays for its speed with overshoot. When price reverses sharply, TEMA can swing past the turning point. It then has to swing back.
In choppy markets, that creates false turns. The line flips direction more often than an EMA of the same length. Each flip can mean a losing trade and extra fees.
So the real test is not “is TEMA faster?” It always is. The test is whether faster entries earn more than the extra false signals cost.
Define the Rules Before You Test
Use one liquid spot pair on one exchange feed. Start with completed four-hour candles. Keep these fixed for the first comparison.
| Component | Illustrative rule |
|---|---|
| Trend line | 50-period TEMA on closing prices |
| Slope condition | TEMA now is above TEMA three candles ago |
| Entry trigger | Completed close above TEMA while the slope condition holds |
| Position limit | One open long position; no additions |
| Trend exit | Two consecutive completed closes below TEMA |
| Protective stop | Illustrative 2× ATR below entry, subject to execution risk |
The slope check uses a three-candle lookback, not one. A one-candle comparison flips on tiny wiggles. Three candles smooths that out without adding much delay.
The two-close exit rule has the same purpose. One close below a fast line is common inside healthy trends. Two closes is stronger evidence that the trend has broken.
A Worked Signal Example
Suppose TEMA reads $100 now and $98 three candles ago. The slope condition holds. The latest completed candle closes at $101, above the line.
That permits an entry signal, assuming no position is open. The fill comes on the next available price, perhaps $101.20. Use that fill when measuring risk.
Now suppose two later candles close at $99.50 and $99.10. TEMA reads $100 and $99.80 at those closes. Both closes sit below the line, so the trend exit fires.
Build the Triple EMA Trend Strategy With Visual Blocks
Start with Data Watchers for your exchange, pair and four-hour timeframe. Supply closing prices, plus high and low for the ATR stop.
The indicator-block documentation lists Triple Exponential Moving Average, Lag and Average True Range. Use them to build three branches:
- Trend branch: connect closing prices to a 50-period TEMA block.
- Slope branch: feed the TEMA output into a Lag block set to three candles. Compare current TEMA with the lagged value.
- Position branch: compare the completed close with the current TEMA.
Join the Conditions and Set the Exits
Use Maths Blocks for the comparisons. Join the slope and position conditions with an AND condition block. Both must be true for an entry.
For the exit, check the close against TEMA on the current and previous candle. A Lag block on the “close below TEMA” result gives you the previous candle’s reading.
Action Blocks express the buy and sell signals and their amounts. Add the ATR-based stop as a separate exit. Confirm the amount units before testing.
Arrow Algo provides the no-code visual builder for these user-defined rules. If you choose deployment, your rules signal your own exchange account. The exchange decides whether to accept and execute.
Test TEMA Against a Plain EMA
The key benchmark is the same strategy with a 50-period EMA. Swap only the trend line. Keep every other rule, cost and date range identical.
That comparison isolates the effect of lower lag. If TEMA wins, you know why. If the EMA wins, the extra speed did not pay for its false signals.
Compare these numbers for both versions:
- Net return after fees and slippage
- Maximum drawdown
- Number of completed trades
- Average profit per trade
- Average holding time
Expect TEMA to trade more often. More trades raise fee costs. A small gain in gross return can turn into a loss after costs.
Check Different Market Conditions
Split your test period into trending and sideways stretches. TEMA should do best in clean trends. It should struggle most in chop.
If TEMA only wins in one strong trend, be careful. That result may not repeat. Look for an edge that holds across several regimes.
Also try nearby settings, such as 40 and 60 periods. A useful setting should have useful neighbours. One isolated winner suggests a lucky fit.
What Should You Take Into Your Next Backtest?
- Use TEMA’s slope and price position together, not either alone.
- Require a multi-candle slope check and a two-close exit to filter wiggles.
- Benchmark against an identical EMA version to measure what lower lag adds.
- Include realistic fees, because TEMA tends to trade more often.
- Test across trending and sideways periods before trusting the result.
A plain EMA beating TEMA is a valid finding. Faster is only better when the market rewards it.
Disclaimer: This content is for educational purposes only and does not constitute financial advice. Trading involves significant risk and you should only trade with capital you can afford to lose. Past performance is not indicative of future results. Always conduct your own research before making any trading decisions.
Ready to build your own automated trading strategies without writing a single line of code? Start for free at Arrow Algo and join thousands of traders who've made the switch to systematic trading.