Skip to content
All library documents

Combining Candlestick Patterns with EMA Trends and Stochastic Filters

Article TradingView scripts

Summary

This TradingView strategy combines a broad set of bullish and bearish candlestick and chart-pattern rules with trend and momentum filters. It defines direction using the ordering of 21, 34, and 90 period exponential moving averages, and uses a short-period Stochastic to flag oversold or overbought conditions. A long signal requires a bullish pattern plus either an uptrend or an oversold reading; a short signal applies the corresponding bearish conditions. Pattern rules include examples such as engulfing candles, doji, wedges, rectangles, and pennants.

The script submits market entries and sets exits using an average true range based stop and profit target, with the target distance twice the stop distance. It also plots the moving averages and signal markers. The document provides implementation rules but no backtest results, market or timeframe evaluation, or evidence that the patterns predict returns. Some pattern definitions are simplified proxies, and the code alone does not establish robustness after costs or across assets.

Key ideas

  • The strategy defines trend by the alignment of price and three exponential moving averages.
  • Bullish and bearish pattern groups include candle formations and simplified chart breakout configurations.
  • A pattern signal is filtered by either trend alignment or a Stochastic extreme.
  • ATR-based exits place the stated profit target farther from entry than the stop.
  • The document supplies code but no reported performance or validation evidence.

Tags

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