BEST Engulfing + Breakout Strategy
Feb 17, 2020

The BEST Engulfing + Breakout Strategy indicator is a multi-layered trading tool that tracks the convergence of price action reversal patterns and moving average breakouts to identify high-probability momentum shifts. By combining a classic candlestick reversal with a trend-following filter, it seeks to identify entries where price sentiment and structural momentum align.
Usage
The strategy generates signals based on the confluence of two specific conditions:
- Engulfing Patterns: The tool identifies bullish and bearish engulfing candles. A bullish engulfing occurs in a downtrend when a green candle's body fully contains the previous red candle's body. Conversely, a bearish engulfing occurs when a large red candle contains the body of the preceding green candle.
- MA Breakout: Price must be trading on the correct side of a selected Moving Average (MA) to confirm the momentum.
A "Long" signal is triggered when a bullish engulfing pattern appears while price is successfully breaking above the MA. A "Short" signal is triggered when a bearish engulfing pattern appears while price is breaking below the MA. Users can utilize the built-in Take Profit (TP) and Stop Loss (SL) visual levels (circles) to manage their risk in USD terms.
Details
The script uses a flexible Moving Average engine allowing for 11 different smoothing types, including advanced versions like DEMA, TEMA, and Kaufman's Adaptive MA (KMA). The logic requires both conditions (Pattern + MA) to be met simultaneously to trigger an entry. This convergence method reduces the noise often associated with trading candlestick patterns in isolation, as the Moving Average acts as a dynamic trend filter.
Settings
Moving Average
- Source Price vs MA: The price source used for the moving average calculation and crossover detection.
- Type of MA: Selection of the smoothing method (SMA, EMA, WMA, VWMA, HullMA, DEMA, TEMA, etc.).
- MA Length: The lookback period used for the moving average calculation.
Backtest Filtering
- Backtest Start/Stop (Year, Month, Day): Defines the specific date range for the strategy to execute and display backtesting results.
- Backtest Profit Goal (in USD): Sets the target profit amount in absolute dollar value for the exit logic.
- Backtest STOP Goal (in USD): Sets the maximum loss amount in absolute dollar value for the exit logic.
FAQ
How do I use the different MA types?
You can adjust the "Type of MA" in the settings to better fit the volatility of your specific asset. For example, use EMA or DEMA for faster responses to price changes, or SMA for broader trend identification.
What do the red and blue circles on the chart represent?
The blue circles represent your Take Profit (TP) target, while the red circles represent your Stop Loss (SL) target, based on the USD values provided in the settings.
How can I access this tool?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.