Combining Stochastic Reversals with a Dual EMA Trend Signal
Summary
This combined strategy requires agreement between a stochastic-based reversal signal and a two-period exponential moving average signal. The reversal component evaluates recent closing-price sequences alongside fast and slow stochastic values relative to a threshold. The second component derives a directional state from price action around a 20-period EMA and its doubled-period counterpart. Matching bullish or bearish states produce entries; disagreement closes positions.
The document frames the combination as a way to filter isolated signals and capture short-term reversals alongside medium-term direction. It gives indicator settings and BTC_USDT futures backtest dates, but no performance results. The prose and code do not fully align: their described price sequences and stochastic conditions differ, while the implementation uses a custom EMA state calculation rather than a straightforward price crossover. The strategy may also remain inactive or close positions in choppy markets, and it specifies no explicit stop-loss process. These details require validation before interpreting the signal or evaluating its results.
Key ideas
- The strategy combines a stochastic reversal condition with a separate EMA-derived direction signal.
- It enters only when both components agree on direction and closes when they do not.
- The specified inputs include stochastic settings and a 20-period EMA length.
- The prose and source code differ in their account of the reversal conditions and EMA logic.
- No performance results or explicit stop-loss rules are supplied.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.