Skip to content
All library documents

EMA Crossovers with Volatility-Based Signal Conditions

Article Strategy library · Author: ChaoZhang

Summary

The strategy description presents a combination of exponential moving averages, Bollinger Bands, and MACD. It outlines short, medium, and long EMA calculations, volatility bands based on a rolling price standard deviation, and MACD settings. The stated idea is to use an EMA crossover together with a volatility condition to signal entries, with the indicator combination intended to confirm trend and momentum.

There is a material discrepancy between that description and the supplied implementation: the code’s actual entry conditions use the 9-period and 30-period EMA crossover plus whether the 20-period standard deviation is rising or falling. It does not use Bollinger Band price breaches or MACD in those conditions; those indicators are calculated or plotted but do not confirm entries. The document gives BTC_USDT futures backtest settings, but no performance results, transaction-cost assumptions, or evidence that the method works. It also leaves parameter choice and robustness to further testing.

Key ideas

  • The described approach combines EMA crossovers with volatility and momentum indicators.
  • The code signals long entries on an upward EMA crossover when standard deviation rises, and short entries on a downward crossover when it falls.
  • MACD is calculated but does not affect the entry conditions in the supplied code.
  • The code does not require price to cross a Bollinger Band, despite that rule in the written description.
  • No backtest performance results are reported, and parameter robustness remains unestablished.

Tags

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