TJR Candlestick Pattern Indicator: Complete Trading Guide for 2026
Master candlestick pattern recognition with TJR indicator. Learn Hammer, Doji, and custom pattern detection with threshold-based confirmation for crypto and stock trading.
Profabighi Capital Research Team
January 26, 2026
Trading Risk Warning
Trading Risk Warning: Trading involves substantial risk of loss and is not suitable for all investors. Past performance does not guarantee future results. You should carefully consider your financial situation and consult with financial advisors before making any investment decisions.
TradingView Scripts
Table of Contents
- What is the TJR Candlestick Pattern Indicator?
- How Candlestick Pattern Detection Works
- Pattern Types and Recognition
- Threshold Confirmation System
- Trading Strategies with TJR Patterns
- Pattern Statistics and Performance Tracking
- Best Practices and Tips
- Common Mistakes to Avoid
- FAQ
What is the TJR Candlestick Pattern Indicator?
The TJR Candlestick Pattern indicator is an advanced automated pattern recognition system that identifies 17 classical Japanese candlestick formations and generates systematic trading signals based on their appearance. Unlike manual pattern analysis that can miss complex formations, this indicator automates detection while providing rigorous validation, visual highlighting, and performance tracking.
Key Features of TJR Candlestick Pattern
- 17 Pattern Types: Detects Hammer, Doji, Shooting Star, and custom patterns
- Threshold Confirmation: Validates patterns through breakout confirmation
- Pattern Info Table: Real-time dashboard showing trend, zone, and statistics
- Adaptive Coloring: Color-codes patterns based on historical performance
- Flexible Detection: Standard (immediate) or Threshold (confirmation required) modes
Why Use TJR for Pattern Trading?
The TJR indicator offers several advantages over manual pattern identification:
- Automated Detection: Never miss patterns during fast-moving markets
- Rigorous Validation: Ensures all classical pattern criteria are met
- Performance Tracking: Shows historical win rates and average returns
- Reduced False Signals: Threshold mode requires breakout confirmation
- Multi-Pattern Support: Recognizes both classical and custom formations
How Candlestick Pattern Detection Works
Pattern Validation Process
The indicator validates patterns through multi-stage criteria:
Body Size Validation
- Measures body size relative to overall candle range
- Doji: body < 4% of range (configurable)
- Hammer: specific body-to-wick ratios
Wick Length Validation
- Compares wick lengths to body size and average wick lengths
- Hammer: lower wick ≥ 2x body, upper wick ≤ 35% of body
- Gravestone Doji: upper wick >> lower wick
Trend Context Validation
- Determines if pattern appears in appropriate trend
- Bullish patterns require downtrend context
- Bearish patterns require uptrend context
Detection Modes
Standard Mode
- Immediate pattern detection when criteria are met
- Generates signals on pattern completion
- Suitable for experienced traders
Threshold Mode
- Requires breakout confirmation within set candles
- Pattern must breakout above high or below low
- Reduces false signals, tracks breakout direction separately
Pattern Types and Recognition
Hammer Patterns (Bullish Reversal)
Regular Hammer
- Small body near top of range
- Long lower wick (≥2x body)
- Minimal upper wick
- Forms in downtrend
- Signal: Potential reversal to upside
Takuri Line
- Enhanced hammer (lower wick ≥3x body)
- Very small body at top
- Forms in downtrend
- Signal: Strong bullish reversal
Shooting Star / Hanging Man (Bearish Reversal)
Shooting Star
- Small body near bottom of range
- Long upper wick (≥2x body)
- Minimal lower wick
- Forms in uptrend
- Signal: Potential reversal to downside
Hanging Man
- Similar to hammer but in uptrend
- Long lower wick
- Forms near resistance
- Signal: Bearish reversal warning
Doji Patterns (Indecision / Reversal)
Gravestone Doji
- Very small body
- Long upper wick, minimal lower wick
- Opens and closes near low
- Signal: Bearish reversal at resistance
Dragonfly Doji
- Very small body
- Long lower wick, minimal upper wick
- Opens and closes near high
- Signal: Bullish reversal at support
Long-Legged Doji
- Very small body centered in range
- Long wicks on both sides
- Signal: High indecision, potential reversal
Rickshaw Man Doji
- Long-legged doji with centered body
- Equal upper and lower wicks
- Signal: Extreme indecision
Regular Doji
- Small body near midpoint
- Moderate wicks
- Signal: Trend exhaustion
Northern / Southern Doji
- Trend-specific doji variations
- Northern: uptrend context
- Southern: downtrend context
Gapping Dojis
- Gaps away from previous candle
- Gapping Down: in downtrend
- Gapping Up: in uptrend
- Signal: Reversal with gap confirmation
Custom Patterns
Foundation
- Bullish pattern: long lower wick + body
- Formula: (lower wick + body) * 50% < lower wick
- Signal: Strong support, potential long entry
Ascension
- Bearish pattern: long upper wick + body
- Formula: (upper wick + body) * 50% < upper wick
- Signal: Strong resistance, potential short entry
Anchor
- Very small body (<5% of range)
- Long lower wick (>80% of range)
- Signal: Extreme support, reversal point
Pinnacle
- Very small body (<5% of range)
- Long upper wick (>80% of range)
- Signal: Extreme resistance, reversal point
Threshold Confirmation System
How Threshold Mode Works
Threshold mode adds an additional validation layer:
- Pattern Detection: Pattern meets all classical criteria
- Threshold Setup: Sets breakout levels at pattern high/low
- Confirmation Window: Waits up to N candles for breakout
- Breakout Validation: Confirms if price breaks threshold
- Signal Generation: Only generates signal if breakout occurs
Benefits of Threshold Confirmation
Reduced False Signals
- Filters patterns that don't lead to continuation
- Requires price to "prove" pattern validity
- Especially useful in choppy markets
Directional Tracking
- Separates upward and downward breakouts
- Tracks performance by breakout direction
- Enables refined strategy development
Performance Analytics
- Shows which patterns perform best with confirmation
- Identifies optimal confirmation window (1-5 candles)
- Helps optimize entry timing
Configuration Options
Max Candles to Breakout
- Sets confirmation window (1-5 candles)
- Shorter: faster signals, more strict
- Longer: fewer signals, more confirmation
P/L Anchor Point
- FROM THRESHOLD: measures return from breakout candle
- FROM APPEARANCE: measures return from pattern candle
- Affects performance calculation methodology
Trading Strategies with TJR Patterns
Strategy 1: Bullish Reversal Pattern Trading
Setup:
- Enable Hammer, Takuri Line, Dragonfly Doji, Foundation
- Use Threshold mode with 2-3 candle confirmation
- Require patterns in downtrend context
- Filter for patterns in lower price zone
Entry Rules:
- Standard Mode: Enter on pattern completion
- Threshold Mode: Enter on breakout above pattern high
- Confirm with volume above average
Exit Rules:
- Take profit at next resistance level
- Stop loss below pattern low
- Trail stops as price advances
Best For: Swing trading reversals, buying dips
Strategy 2: Bearish Reversal Pattern Trading
Setup:
- Enable Shooting Star, Hanging Man, Gravestone Doji, Pinnacle
- Use Threshold mode with 2-3 candle confirmation
- Require patterns in uptrend context
- Filter for patterns in upper price zone
Entry Rules:
- Standard Mode: Enter short on pattern completion
- Threshold Mode: Enter on break below pattern low
- Confirm with volume spike
Exit Rules:
- Take profit at next support level
- Stop loss above pattern high
- Cover on bullish reversal pattern
Best For: Short selling, profit-taking on longs
Strategy 3: Multi-Timeframe Pattern Confirmation
Setup:
- Monitor daily charts for major pattern signals
- Use 4-hour for entry timing confirmation
- Execute on 1-hour pattern alignment
Rules:
- All timeframes must show same pattern type
- Enter when all timeframes align
- Exit when any timeframe shows reversal
Best For: High-probability swing trades, position trading
Strategy 4: Pattern Performance-Based Trading
Setup:
- Review pattern statistics in info table
- Focus only on patterns with >60% win rate
- Use patterns with positive average return
- Increase position size on high-performing patterns
Rules:
- Only trade patterns with ≥10 historical instances
- Scale position based on average return %
- Skip patterns in NEI (Not Enough Information) state
Best For: Systematic trading, backtesting-driven strategies
Pattern Statistics and Performance Tracking
Pattern Info Table Dashboard
The real-time pattern info table displays:
Last Pattern: Name of most recently detected formation
Trend: Uptrend or Downtrend context with color coding
Zone: Upper, Middle, or Lower price partition
Status: STANDARD (immediate) or Pending (awaiting threshold)
Instances: Historical occurrence count
- Green: ≥ minimum instances needed
- Gray: Not enough information
Return: Average or Median historical return %
- Navy: Bullish (> positive threshold)
- Maroon: Bearish (< negative threshold)
- Yellow: Neutral (between thresholds)
- Gray: Insufficient data
Mode: Active detection type (STANDARD or THRESHOLD)
Understanding Pattern Statistics
Instance Tracking
- Counts how many times each pattern has formed
- Tracks separately by:
- Pattern type
- Price zone (Upper/Middle/Lower)
- Breakout direction (if threshold mode)
Return Calculation
- Measures % change from pattern to N candles later
- Default: 10 candles after pattern
- Can use Average or Median as reference metric
Adaptive Coloring
- Patterns colored based on historical performance
- Bullish patterns: positive returns → navy
- Bearish patterns: negative returns → maroon
- Neutral: returns between thresholds → yellow
- Insufficient data → gray
Performance Thresholds
- Positive Return Cap: default +3%
- Negative Return Cap: default -3%
- Adjustable based on market volatility
- Can use strict caps or gradient coloring
Best Practices for Pattern Trading
1. Combine Patterns with Support/Resistance
Always validate patterns at key levels:
- Bullish patterns at support levels (higher probability)
- Bearish patterns at resistance levels (higher probability)
- Patterns in mid-range (lower probability)
2. Use Volume Confirmation
High Volume Patterns = Stronger Signals
- Pattern on above-average volume → genuine market interest
- Pattern on low volume → may be noise
- Volume spike on breakout (threshold mode) → confirmation
3. Adjust Settings for Different Markets
Crypto Markets:
- Wider tall candle tolerance (1.75-2.0x)
- Shorter threshold window (1-2 candles)
- Wider return thresholds (±5%)
Stock Markets:
- Standard tall candle tolerance (1.5x)
- Moderate threshold window (2-3 candles)
- Standard return thresholds (±3%)
Forex Markets:
- Lower tall candle tolerance (1.25-1.5x)
- Longer threshold window (3-5 candles)
- Tighter return thresholds (±2%)
4. Focus on High-Performing Patterns
Review pattern statistics regularly:
- Disable patterns with <40% win rate
- Increase position size on patterns with >70% win rate
- Skip patterns without sufficient historical data
5. Proper Risk Management
Position Sizing:
- Risk 1-2% per pattern signal
- Scale positions based on pattern reliability
- Reduce size in low-probability zones
Stop Loss Placement:
- Below pattern low (long positions)
- Above pattern high (short positions)
- Account for typical volatility (ATR-based)
6. Backtest Pattern Performance
Before live trading:
- Test patterns on historical data (minimum 6 months)
- Calculate win rate per pattern type
- Measure average return per zone
- Optimize threshold settings
Common Mistakes to Avoid
Mistake 1: Ignoring Trend Context
Problem: Trading bullish patterns in strong uptrend or bearish patterns in strong downtrend
Solution: Only trade reversal patterns in appropriate trend context
Mistake 2: Over-Trading Pattern Signals
Problem: Taking every pattern without additional confirmation
Solution: Use threshold mode, volume confirmation, and support/resistance validation
Mistake 3: Using Fixed Settings Across All Markets
Problem: Same tall candle and pattern criteria for stocks, crypto, and forex
Solution: Optimize settings for each market's volatility characteristics
Mistake 4: Ignoring Pattern Statistics
Problem: Trading patterns with poor historical performance
Solution: Review pattern info table, focus on high-win-rate formations
Mistake 5: Poor Stop Loss Discipline
Problem: Not setting stops or moving them against position
Solution: Set stops immediately, never widen against position
Advanced Techniques
1. Zone-Based Pattern Filtering
Upper Zone (Resistance Area):
- Prioritize bearish patterns
- Skip bullish patterns unless strong confirmation
- Expect resistance at zone boundary
Middle Zone (Neutral Area):
- Require additional confirmation
- Combine with trend analysis
- Lower position sizes
Lower Zone (Support Area):
- Prioritize bullish patterns
- Skip bearish patterns unless strong confirmation
- Expect support at zone boundary
2. Pattern Clustering
Multiple Patterns in Sequence:
- Stronger signal when multiple patterns align
- Example: Doji followed by Hammer = strong reversal
- Wait for second pattern before entering
3. Divergence with Patterns
Combine patterns with RSI/MACD:
- Bullish pattern + bullish RSI divergence = high probability
- Bearish pattern + bearish MACD divergence = strong short
- Pattern alone (no divergence) = lower probability
4. Custom Pattern Development
Use the custom pattern framework to create unique formations:
- Modify wick-to-body ratios
- Adjust body-to-range ratios
- Create patterns specific to your market
Profabighi Capital TJR Features
The Profabighi Capital implementation includes:
Enhanced Detection Options
- 17 pattern types: comprehensive coverage
- Switchboard mode: enable/disable individual patterns
- Target mode: focus on single pattern type
- Safe and Speed toggles: balance accuracy vs responsiveness
Advanced Confirmation
- Threshold system: breakout-based validation
- Customizable windows: 1-5 candle confirmation
- Directional tracking: separate up/down breakout stats
Visual Enhancements
- Pattern labels: clear pattern names on chart
- Adaptive colors: performance-based coloring
- Info table: real-time statistics dashboard
- Zone backgrounds: visual price partition display
Alert System
- Pattern detection alerts: when pattern forms
- Threshold hit alerts: when breakout occurs
- Threshold miss alerts: when confirmation fails
- Pattern merge alerts: when patterns override
- Return alerts: when P/L is calculated
Customization Options
- Adjustable pattern criteria (body size, wick lengths)
- Configurable tall candle detection
- Multiple moving average types for trend
- Zone boundaries and coloring
- Return thresholds and coloring schemes
FAQ
What's the difference between Standard and Threshold mode?
Standard mode generates signals immediately when patterns form. Threshold mode requires price to break above/below the pattern high/low within a set number of candles before generating signals. Threshold reduces false signals but may miss some valid patterns.
How many patterns can the TJR indicator detect?
The indicator detects 17 patterns: Hammer (4 types), Doji (9 types), and Custom (4 types). You can enable/disable individual patterns based on your strategy.
What are the custom patterns (Foundation, Ascension, Anchor, Pinnacle)?
These are proprietary patterns developed by Profabighi Capital:
- Foundation/Anchor: Bullish patterns with long lower wicks indicating strong support
- Ascension/Pinnacle: Bearish patterns with long upper wicks indicating strong resistance
How does the pattern info table work?
The table displays real-time information about the last detected pattern including its name, trend context, price zone, detection status, historical instance count, and average return percentage. Colors indicate performance quality.
Can I trade only specific pattern types?
Yes! Use Switchboard mode to enable/disable individual patterns, or use Target mode to focus on a single pattern type.
What's the best threshold window setting?
2-3 candles works well for most markets. Use 1-2 for fast-moving crypto markets, 3-5 for slower forex markets. Backtest to optimize for your specific instrument.
How are pattern statistics calculated?
The indicator tracks every pattern occurrence and measures the % price change from pattern formation to N candles later (default 10). Statistics show average/median returns separately by pattern type, zone, and breakout direction.
Should I use Average or Median for pattern statistics?
Median is more robust against outliers and works better in most markets. Average can be skewed by a few extreme returns but shows overall expectancy.
Conclusion
The TJR Candlestick Pattern indicator transforms traditional manual pattern analysis into a systematic, automated trading tool. By combining rigorous pattern validation, threshold-based confirmation, and comprehensive performance tracking, it provides traders with objective signals based on time-tested price action formations.
Key Takeaways:
- 17 automated patterns covering classical and custom formations
- Threshold confirmation reduces false signals through breakout validation
- Pattern info table provides real-time performance tracking
- Adaptive coloring highlights high-performing patterns
- Works across all timeframes and asset classes
- Suitable for swing trading, day trading, and position trading
Start incorporating TJR patterns into your trading strategy today and experience the power of automated pattern recognition combined with systematic signal validation.
Related Indicators: