Candlestick Signals Strategy
Feb 6, 2019

The Candlestick Signals Strategy tool identifies nine distinct candlestick patterns and provides a backtesting framework to evaluate their historical performance across different markets and timeframes.
Usage
The Usage section focuses on selecting and testing specific price action formations. Traders can toggle individual patterns on or off to isolate which signals provide the highest edge for a particular asset.
Example usage includes:
- Trend Reversal Identification: Using Morning Star or Evening Star patterns to spot potential shifts in market direction.
- Momentum Confirmation: Utilizing Three White Soldiers or Three Black Crows to confirm the strength of a current move.
- Backtesting: Analyzing the strategy's equity curve based on the "initial_capital" and the success rate of the enabled candlestick signals.
Details
This strategy implements logic for both classic and complex candlestick patterns. It evaluates the relationship between the open, high, low, and close of multiple bars to define patterns. For instance, the "Three Line Strike" logic looks for three consecutive bars of the same direction followed by a large "striking" candle that engulfs the previous three. The strategy uses dynamic position sizing based on current equity to reflect realistic account growth or drawdown during backtesting.
Settings
- Show Doji's: Enables detection and plotting of standard Doji candles (cross shape).
- Gravestone Doji/Dragonfly Doji: Toggles the identification of Gravestone (bearish) and Dragonfly (bullish) Doji variants.
- 3 Red Crows/3 Green Soldiers: Enables detection of these three-bar momentum patterns.
- Three Line Strike: Toggles the identification of the four-bar Three Line Strike pattern.
- Piercing/Dark Cloud: Enables the Piercing Line (bullish) and Dark Cloud Cover (bearish) reversal patterns.
- Morning Star: Toggles the three-bar Morning Star bullish reversal pattern.
- Evening Star: Toggles the three-bar Evening Star bearish reversal pattern.
- Engulfing: Enables Bullish and Bearish Engulfing patterns.
- Hammer: Toggles Bullish and Bearish Hammer patterns.
- Falling Star: Enables Shooting Star (Falling Star) reversal patterns.
FAQ
How do I access the Candlestick Signals Strategy?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Can I use this for automated trading?
Yes, the script includes strategy entry and close calls, and it is optimized with alerts for bullish and bearish signals that trigger on bar close.
Which pattern is the most accurate?
Accuracy varies depending on the timeframe and asset. Users should use the built-in backtesting settings to determine which specific patterns perform best on their chosen chart.
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.