OPEN-SOURCE SCRIPT
AB Lydian Pulse

⚡ AB·LYDIAN PULSE — Professional Candlestick Pattern Analysis System
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
AB·LYDIAN PULSE is a professional analysis system that detects candlestick patterns on your chart, scores the quality of each formation, and displays only meaningful signals.
This is NOT a trend or momentum indicator.
It focuses solely on candlestick formations.
━━━━━━━━━━━━━━━━━━━━━━━━
▲ BULLISH PATTERNS
━━━━━━━━━━━━━━━━━━━━━━━━
🔨 Hammer
Small body with a long lower wick. Lower wick must be at least 60% of total range. Strong reversal signal when formed after a downtrend.
🟢 Bullish Engulfing
A large green candle that completely engulfs the previous small red candle. Valid when the green body fully covers the red body.
⭐ Morning Star
Three-candle pattern: large red → small body → large green. The final candle must close above the midpoint of the first candle.
📌 Piercing Line
Green candle after a red candle. Green opens below the previous low and closes above the midpoint of the red body.
🏛️ Three White Soldiers
Three consecutive bullish candles. Each closes higher than the previous. Upper wicks must be short.
━━━━━━━━━━━━━━━━━━━━━━━━
▼ BEARISH PATTERNS
━━━━━━━━━━━━━━━━━━━━━━━━
💫 Shooting Star
Small body with a long upper wick. Upper wick must be at least 60% of total range. Strong reversal signal when formed after an uptrend.
🔴 Bearish Engulfing
A large red candle that completely engulfs the previous small green candle. Valid when the red body fully covers the green body.
🌙 Evening Star
Three-candle pattern: large green → small body → large red. Mirror image of Morning Star. Final candle must close below the midpoint of the first.
☁️ Dark Cloud Cover
Red candle after a green candle. Red opens above the previous high and closes below the midpoint of the green body.
🏴 Three Black Crows
Three consecutive bearish candles. Each closes lower than the previous. Lower wicks must be short.
━━━━━━━━━━━━━━━━━━━━━━━━
◆ NEUTRAL PATTERNS
━━━━━━━━━━━━━━━━━━━━━━━━
✦ Doji
Open and close at nearly the same level. Signals market indecision. Upper and lower wicks should be balanced.
◧ Harami
Second candle's body is completely contained within the first candle's body. Divided into Bullish Harami (after downtrend) and Bearish Harami (after uptrend).
━━━━━━━━━━━━━━━━━━━━━━━━
🏆 QUALITY GRADING SYSTEM
━━━━━━━━━━━━━━━━━━━━━━━━
Each detected pattern receives a quality score from 0-100:
🟢 Grade A (75-100): Perfect formation. All criteria fully met. Large label on chart.
🟡 Grade B (50-74): Good formation. Most criteria met. Normal label.
🟠 Grade C (30-49): Acceptable. Minimum criteria satisfied. Small label.
Score is calculated based on:
— Wick / body ratio accuracy
— Body size (ATR-based dynamic threshold)
— Volume strength
— Previous candle alignment
— Pattern-specific bonus criteria
━━━━━━━━━━━━━━━━━━━━━━━━
🔍 SMART FILTERS
━━━━━━━━━━━━━━━━━━━━━━━━
📏 ATR Dynamic Threshold: Candle size evaluated against ATR. Auto-adjusts across all timeframes.
📊 Volume Confirmation: Signal strengthens when volume exceeds average. Can be toggled on/off.
🏆 Quality Filter: Only selected grade level and above are displayed (A / B / C).
⏱️ Spam Filter: Consecutive same-direction signals are blocked. Minimum 5-bar cooldown.
🔬 Textbook Validation: Each pattern is verified against its own specific rules.
━━━━━━━━━━━━━━━━━━━━━━━━
📋 PREMIUM PANEL
━━━━━━━━━━━━━━━━━━━━━━━━
🕯️ Last signal name and emoji
📐 Direction (Bullish / Bearish / Neutral)
⏱️ How many bars ago it occurred
🏷️ Pattern type (Reversal / Neutral)
🏆 Quality grade and numeric score (/100)
🎯 Win rate (last 200 bars)
📊 Market bias (based on signal balance)
📈 Last 50 bars statistics
📜 Last 3 signals history
Panel can be moved to 6 different positions and displayed in 3 sizes.
━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━
🌐 Language: Turkish / English (all labels and panel text adapt)
📏 ATR Period (default: 14)
📐 Min Body / ATR Ratio (default: 0.4)
⏱️ Signal Cooldown (default: 5 bars)
📊 Volume SMA Period (default: 20)
🎨 Customizable Bullish / Bearish / Neutral colors
🕯️ Each of the 12 patterns can be individually toggled on/off
📋 Panel position and size adjustable
🔔 Separate alert condition for each pattern
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ DISCLAIMER
This indicator is NOT INVESTMENT ADVICE. It provides technical analysis information only. Base your investment decisions on your own research. Past performance is not a guarantee of future results. The developer cannot be held responsible for any financial losses that may occur from using this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
AB·LYDIAN PULSE is a professional analysis system that detects candlestick patterns on your chart, scores the quality of each formation, and displays only meaningful signals.
This is NOT a trend or momentum indicator.
It focuses solely on candlestick formations.
━━━━━━━━━━━━━━━━━━━━━━━━
▲ BULLISH PATTERNS
━━━━━━━━━━━━━━━━━━━━━━━━
🔨 Hammer
Small body with a long lower wick. Lower wick must be at least 60% of total range. Strong reversal signal when formed after a downtrend.
🟢 Bullish Engulfing
A large green candle that completely engulfs the previous small red candle. Valid when the green body fully covers the red body.
⭐ Morning Star
Three-candle pattern: large red → small body → large green. The final candle must close above the midpoint of the first candle.
📌 Piercing Line
Green candle after a red candle. Green opens below the previous low and closes above the midpoint of the red body.
🏛️ Three White Soldiers
Three consecutive bullish candles. Each closes higher than the previous. Upper wicks must be short.
━━━━━━━━━━━━━━━━━━━━━━━━
▼ BEARISH PATTERNS
━━━━━━━━━━━━━━━━━━━━━━━━
💫 Shooting Star
Small body with a long upper wick. Upper wick must be at least 60% of total range. Strong reversal signal when formed after an uptrend.
🔴 Bearish Engulfing
A large red candle that completely engulfs the previous small green candle. Valid when the red body fully covers the green body.
🌙 Evening Star
Three-candle pattern: large green → small body → large red. Mirror image of Morning Star. Final candle must close below the midpoint of the first.
☁️ Dark Cloud Cover
Red candle after a green candle. Red opens above the previous high and closes below the midpoint of the green body.
🏴 Three Black Crows
Three consecutive bearish candles. Each closes lower than the previous. Lower wicks must be short.
━━━━━━━━━━━━━━━━━━━━━━━━
◆ NEUTRAL PATTERNS
━━━━━━━━━━━━━━━━━━━━━━━━
✦ Doji
Open and close at nearly the same level. Signals market indecision. Upper and lower wicks should be balanced.
◧ Harami
Second candle's body is completely contained within the first candle's body. Divided into Bullish Harami (after downtrend) and Bearish Harami (after uptrend).
━━━━━━━━━━━━━━━━━━━━━━━━
🏆 QUALITY GRADING SYSTEM
━━━━━━━━━━━━━━━━━━━━━━━━
Each detected pattern receives a quality score from 0-100:
🟢 Grade A (75-100): Perfect formation. All criteria fully met. Large label on chart.
🟡 Grade B (50-74): Good formation. Most criteria met. Normal label.
🟠 Grade C (30-49): Acceptable. Minimum criteria satisfied. Small label.
Score is calculated based on:
— Wick / body ratio accuracy
— Body size (ATR-based dynamic threshold)
— Volume strength
— Previous candle alignment
— Pattern-specific bonus criteria
━━━━━━━━━━━━━━━━━━━━━━━━
🔍 SMART FILTERS
━━━━━━━━━━━━━━━━━━━━━━━━
📏 ATR Dynamic Threshold: Candle size evaluated against ATR. Auto-adjusts across all timeframes.
📊 Volume Confirmation: Signal strengthens when volume exceeds average. Can be toggled on/off.
🏆 Quality Filter: Only selected grade level and above are displayed (A / B / C).
⏱️ Spam Filter: Consecutive same-direction signals are blocked. Minimum 5-bar cooldown.
🔬 Textbook Validation: Each pattern is verified against its own specific rules.
━━━━━━━━━━━━━━━━━━━━━━━━
📋 PREMIUM PANEL
━━━━━━━━━━━━━━━━━━━━━━━━
🕯️ Last signal name and emoji
📐 Direction (Bullish / Bearish / Neutral)
⏱️ How many bars ago it occurred
🏷️ Pattern type (Reversal / Neutral)
🏆 Quality grade and numeric score (/100)
🎯 Win rate (last 200 bars)
📊 Market bias (based on signal balance)
📈 Last 50 bars statistics
📜 Last 3 signals history
Panel can be moved to 6 different positions and displayed in 3 sizes.
━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━
🌐 Language: Turkish / English (all labels and panel text adapt)
📏 ATR Period (default: 14)
📐 Min Body / ATR Ratio (default: 0.4)
⏱️ Signal Cooldown (default: 5 bars)
📊 Volume SMA Period (default: 20)
🎨 Customizable Bullish / Bearish / Neutral colors
🕯️ Each of the 12 patterns can be individually toggled on/off
📋 Panel position and size adjustable
🔔 Separate alert condition for each pattern
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ DISCLAIMER
This indicator is NOT INVESTMENT ADVICE. It provides technical analysis information only. Base your investment decisions on your own research. Past performance is not a guarantee of future results. The developer cannot be held responsible for any financial losses that may occur from using this indicator.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Paranın doğduğu topraklardan, piyasanın zihnini okuyan ekosistem.
📊 İndikatörler | Taramalar | Teknik & Temel Analiz
⚠️ Yasal Uyarı: Mindlytic içerikleri yalnızca eğitim amaçlıdır. Hiçbir içerik yatırım tavsiyesi değildir.
📊 İndikatörler | Taramalar | Teknik & Temel Analiz
⚠️ Yasal Uyarı: Mindlytic içerikleri yalnızca eğitim amaçlıdır. Hiçbir içerik yatırım tavsiyesi değildir.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Paranın doğduğu topraklardan, piyasanın zihnini okuyan ekosistem.
📊 İndikatörler | Taramalar | Teknik & Temel Analiz
⚠️ Yasal Uyarı: Mindlytic içerikleri yalnızca eğitim amaçlıdır. Hiçbir içerik yatırım tavsiyesi değildir.
📊 İndikatörler | Taramalar | Teknik & Temel Analiz
⚠️ Yasal Uyarı: Mindlytic içerikleri yalnızca eğitim amaçlıdır. Hiçbir içerik yatırım tavsiyesi değildir.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.