Combining EMA Direction Signals with a Price-Range Volatility Filter
Summary
This strategy combines a moving-average direction signal with a measure of bar range relative to price. The description presents the moving averages as short- and longer-term trend guides, and compares current range volatility with a simple moving average of past range readings. A trade is taken only when both components agree; an input can reverse the resulting direction. The settings include a lookback for the range comparison, an averaging length, and a start date. The published test uses BTC/USDT futures on hourly bars over about one month.
The document gives no numerical performance results, so its claims about usefulness in different market conditions are not supported by reported evidence. Its prose refers to double exponential moving averages, while the supplied code computes an EMA-based state signal, and the stated periods do not clearly match the exposed input. It also describes volatility as range divided by close, while the code can instead use absolute range. These differences make the implemented rules less clear and should be resolved before interpreting or reproducing results. The document notes lag, false signals, and over-optimization risks.
Key ideas
- The strategy requires agreement between an EMA-derived direction signal and a bar-range volatility condition.
- The volatility component compares a current range reading with an average of prior readings.
- A reverse-trading option can invert the combined signal.
- The description and source code differ on the moving-average formulation and volatility calculation.
- No numerical results are provided, and the stated backtest period is brief.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.