Skip to content
All library documents

EMA Crossover Signals Filtered by Supertrend and Long-Term Averages

Article Strategy library · Author: ChaoZhang

Summary

This strategy uses a 21-period and 55-period exponential moving average (EMA) relationship to identify directional moves, with a Supertrend indicator intended to confirm the prevailing trend. The document also describes 200- and 233-period averages as long-term filters. The supplied code plots four EMAs and calculates Supertrend using an ATR-based band, but the trading rules do not consistently match the prose: entries use EMA crossover or alignment conditions, with a long-term filter, while the shown execution logic does not apply the Supertrend direction as an entry condition. The short-entry rules are defined but commented out.

The document provides parameter values and a BTC-USDT spot backtest window, but no performance results. It warns that crossover systems can whipsaw, incur transaction costs, and react slowly around turns. The code and explanatory claims should be checked together before interpreting the strategy as a tested Supertrend-filtered system; no evidence here establishes profitability or the effectiveness of the additional filters.

Key ideas

  • The described approach pairs 21- and 55-period EMA signals with Supertrend and longer-term moving averages.
  • The code calculates and plots Supertrend, but the displayed entry and exit rules do not use its direction as a trading filter.
  • Short trade conditions appear in the source, but their execution is commented out.
  • The BTC-USDT backtest settings are stated, but no performance results are reported.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.