INVITE-ONLY SCRIPT
已更新 Chart Analysis Ultimate [KTY]

Chart Analysis Ultimate [KTY]
Chart Analysis Ultimate provides a complete chart analysis environment
with a preset system that organizes 9 independent analysis tools
into three focused workflows.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Key Features
1. All-in-One Analysis Environment
9 tools in a single indicator slot.
Reduces chart clutter and frees remaining slots for your own tools.
2. Preset System
One-click switching between analysis modes.
Structure, Pattern, and Analysis presets
activate relevant feature groups automatically.
Custom mode gives full manual control.
3. Independently Developed Algorithms
All detection logic is built from scratch.
Adaptive pivot calculation, multi-layer glow rendering,
correlation-based pattern matching, and weighted RSI scoring
are original implementations.
4. Built-in Tooltips & Alerts
Hover info icons for detailed explanations of every feature.
Alerts for S&R touch, Trendline touch, Channel touch/break,
Chart Pattern breakout, AB=CD completion, and RSI convergence.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Feature List
Support & Resistance, Trendlines, Parallel Channel,
Fibonacci Retracement, Chart Pattern (Wedge / Triangle / Expanding),
AB=CD Pattern, Similar Pattern Finder, Session Volume Profile,
RSI Scanner
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Preset System — One-Click Workflow
Structure
Market structure and key level analysis.
→ Support & Resistance, Trendlines, Parallel Channel, Fibonacci
Pattern
Chart pattern and harmonic pattern detection.
→ Chart Pattern (Wedge, Triangle, Expanding), AB=CD
Analysis
Quantitative and volume-based analysis.
→ Similar Pattern Finder, Session Volume Profile, RSI Scanner
Custom
Full manual control over all 9 features.
Enable or disable each tool individually.
When preset is not Custom, individual toggles are overridden.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Feature Details
1. Support & Resistance (S&R)
Auto-detects key support and resistance levels from pivot points.
The script identifies pivot highs and lows within a configurable
lookback window, then locates the nearest resistance levels above
and support levels below current price.
Touch detection uses a percentage-based tolerance zone.
Display:
- Up to 3 resistance levels (red) and 3 support levels (green)
- Price labels at each level
- Lines drawn from pivot origin to current bar
Usage Notes:
Price reaction near S&R levels is a key decision point.
When S&R overlaps with Fibonacci or Channel boundaries,
reaction probability increases.
HTF levels carry more significance than LTF levels.

2. Trendlines
Pivot-based automatic trendline detection across multiple lengths.
Four independent pivot lengths run simultaneously.
Bearish trendlines connect consecutive lower pivot highs;
bullish trendlines connect consecutive higher pivot lows.
An angle filter removes lines with extreme slopes.
When price breaks a trendline, the line is automatically removed
after a configurable number of bars.
Display:
- Bullish trendlines (green) / Bearish trendlines (red)
- Solid line for confirmed segment, dotted for projection
- Auto-cleanup after confirmed break
Usage Notes:
While trendline holds, expect trend continuation.
On break, watch for direction change.
Rejection at broken trendline confirms reversal (retest).
Longer pivot lengths produce more significant trendlines.

3. Parallel Channel
Auto-detects parallel price channels in three tiers
using zigzag structure analysis.
Swing points are classified by significance level,
and channels are constructed from aligned swing sequences.
Slope filters ensure only meaningful channels are displayed.
Tiers:
- L (Large): Major swings, 3-layer glow
- M (Medium): Intermediate swings, 2-layer glow
- S (Small): Minor swings, no glow
Display:
- Ascending (green) / Descending (red) channels
- Midline (dotted) divides upper and lower zones
- Fill between midline and boundaries
- Size label at channel origin
- Auto-extended while price stays inside
Usage Notes:
Inside channel, trade band-to-band.
Channel break signals a potential new trend.
Rejection at broken channel confirms reversal.
Channel + Fibonacci overlap increases reaction probability.

4. Fibonacci Retracement
Auto swing detection with adaptive lookback per timeframe.
The script finds the highest high and lowest low
within a timeframe-specific lookback window.
Lookback periods are optimized for each timeframe automatically.
Trend direction is determined by which extreme occurred later.
Levels displayed:
- Retracement: 0.236, 0.382, 0.5, 0.618, 0.707, 0.786, 0.886
- Extension: 1.130, 1.272, 1.414, 1.618, 1.902, 2.0, 2.272, 2.414, 2.618
Display:
- Dashed trend line connecting swing points
- Horizontal level lines with ratio labels
- Extended beyond current bar for forward reference
Usage Notes:
0.618 is the most commonly reactive retracement level.
Extension levels serve as target price references.
Fibonacci overlapping with S&R or Trendline increases probability.

5. Chart Pattern (Wedge / Triangle / Expanding)
Auto-detects five chart pattern types using adaptive pivot analysis.
An adaptive algorithm dynamically calculates optimal pivot length
based on current market conditions including volatility and trend strength.
From detected pivots, the script identifies valid 4-point formations:
- Falling Wedge: Both lines slope down, converging
- Rising Wedge: Both lines slope up, converging
- Symmetrical Triangle: Lines converge symmetrically
- Expanding Triangle (Bullish): Lines diverge with upward bias
- Expanding Triangle (Bearish): Lines diverge with downward bias
Multi-stage validation filters out low-quality formations.
Breakout is confirmed when price closes beyond a boundary line.
Display:
- Pattern boundary lines with glow effect
- Extended projection lines beyond the last pivot
- Filled polygon for the pattern body
- Pattern name label at the first pivot
- Separate alert for each pattern type
Usage Notes:
Converging patterns build energy for strong breakout moves.
Falling Wedge upward break suggests bullish reversal.
Rising Wedge downward break suggests bearish reversal.
Breakout with volume increases confidence.

6. AB=CD Pattern
Auto-detects harmonic AB=CD patterns with optional time ratio filtering.
The script tracks zigzag swing points and identifies ABC formations
where the BC retracement falls within the configured range.
Three D-point target zones are projected using
Fibonacci extensions: 1.0, 1.272, and 1.618.
When time ratio filtering is enabled, only patterns where the CD leg
duration matches the expected ratio relative to AB are completed.
On completion, TP and SL levels are drawn automatically:
- SL beyond the D point
- TP1/TP2/TP3 at Fibonacci ratios of AD range
Display:
- AB, BC, CD legs with ratio labels
- Target zone boxes from C to projected D area
- TP/SL level lines with price labels after completion
- Completed patterns shown in history color
Usage Notes:
D point near S&R or Fibonacci level increases probability.
Time Ratio Filter ON shows only high-quality patterns.
SL breach invalidates the pattern.

7. Similar Pattern Finder (SPF)
Searches historical data for patterns similar to current price action
and projects the matched pattern's subsequent movement.
The script compares a recent price window against historical segments
using Pearson correlation. The best-matching segment's subsequent
price movement is scaled proportionally and projected forward.
Display:
- Matched Pattern box with dashed overlay line
- Post Movement box showing what happened after the match
- Current Pattern box highlighting the reference window
- Forecast projection line with fill and price label
- Dashboard: direction, signal strength, correlation %, projected change %
Dashboard signals:
STRONG BULL / BULLISH / STRONG BEAR / BEARISH / LOW CONFIDENCE / NO MATCH
Usage Notes:
Higher correlation indicates higher similarity.
Aligns with other features (S&R, Fib) for higher confidence.
Use as directional reference only, not as absolute prediction.

8. Session Volume Profile (SVP)
Analyzes volume distribution by price level within configurable sessions.
Lower-timeframe data is collected and distributed across
a resolution grid spanning the session's price range.
Volume is split into body and wick portions for accurate allocation.
Key features:
- POC (Point of Control): Highest-volume price level per session
- Naked POC: POC not revisited since formation, extended to current bar
- HVN (High Volume Nodes): Zones above a percentile threshold, shown darker
Session types: Auto, Daily, Weekly, Monthly, Quarterly, Yearly
Auto mode selects the optimal session based on chart timeframe.
Timeframe validation displays a warning if the combination is invalid.
Usage Notes:
Near POC, expect strong reaction as it acts as dynamic S&R.
Naked POC serves as a future target reference.
Low volume zones tend to see fast price movement through them.
POC overlapping with S&R creates a very strong reaction zone.

9. RSI Scanner
Monitors RSI across 5 timeframes simultaneously
with weighted scoring and two-layer background analysis.
RSI (14) is calculated for 5M, 15M, 1H, 4H, and 1D timeframes.
Higher timeframes carry greater weight in the scoring system.
Two independent background layers provide visual context:
Layer 1 — Trend Direction (subtle):
Based on how many TFs have RSI above 50, weighted by significance.
When 4H and 1D momentum align (both rising or both falling),
the background darkens to confirm stronger trend conviction.
Layer 2 — Overbought/Oversold (strong):
Based on how many TFs have RSI above 70 or below 30.
Appears when weighted score reaches the threshold.
All TFs converging produces the strongest signal.
Display:
- Dashboard table showing RSI values for all 5 timeframes
- Timeframe text color: Green (overbought), Red (oversold), White (neutral)
- TREND row: Quick summary of market bias
→ 🔥 STRONG BULL/BEAR: High score + HTF momentum confirmed
→ ▲▼ BULL/BEAR: High score
→ △▽ Lean Bull/Bear: Moderate score
→ — Neutral: No clear direction
- Two-layer background color on chart
Usage Notes:
Subtle background shows trend direction at a glance.
Darker background means HTF momentum is confirming.
Strong background indicates OB/OS convergence zone.
TREND row gives instant market bias without reading numbers.
Combine with S&R or Fibonacci for better decision accuracy.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Alert System
S&R: Resistance touch, Support touch
Trendlines: Bullish trendline touch, Bearish trendline touch
Channel: Bull/Bear channel touch, Bull/Bear channel break
Chart Pattern: Falling Wedge, Rising Wedge, Sym Triangle,
Expanding Bull, Expanding Bear, Any Pattern breakout
AB=CD: D point reached
RSI: Overbought convergence, Oversold convergence,
All-TF overbought, All-TF oversold,
Strong uptrend + momentum, Strong downtrend + momentum
Setup: ALT + A → Select this indicator → Create alert
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Code Origin
All detection algorithms in this script are independently developed.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Limitations
- All request.security() calls use barmerge.lookahead_off (no future data)
- Session Volume Profile requires minimum timeframe per session type
(warning displayed if timeframe is too low)
- Defaults are starting points, not optimized for specific markets
- Similar Pattern Finder results are statistical references, not predictions
- Past zone reactions and pattern completions do not predict future behavior
- This is an analysis tool, not a trade signal generator
- Users are responsible for all trading decisions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Disclaimer
This indicator is an analysis tool, not a trade signal service.
It does not guarantee profits or specific outcomes.
All trading decisions and associated risks are the user's responsibility.
Chart Analysis Ultimate provides a complete chart analysis environment
with a preset system that organizes 9 independent analysis tools
into three focused workflows.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Key Features
1. All-in-One Analysis Environment
9 tools in a single indicator slot.
Reduces chart clutter and frees remaining slots for your own tools.
2. Preset System
One-click switching between analysis modes.
Structure, Pattern, and Analysis presets
activate relevant feature groups automatically.
Custom mode gives full manual control.
3. Independently Developed Algorithms
All detection logic is built from scratch.
Adaptive pivot calculation, multi-layer glow rendering,
correlation-based pattern matching, and weighted RSI scoring
are original implementations.
4. Built-in Tooltips & Alerts
Hover info icons for detailed explanations of every feature.
Alerts for S&R touch, Trendline touch, Channel touch/break,
Chart Pattern breakout, AB=CD completion, and RSI convergence.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Feature List
Support & Resistance, Trendlines, Parallel Channel,
Fibonacci Retracement, Chart Pattern (Wedge / Triangle / Expanding),
AB=CD Pattern, Similar Pattern Finder, Session Volume Profile,
RSI Scanner
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Preset System — One-Click Workflow
Structure
Market structure and key level analysis.
→ Support & Resistance, Trendlines, Parallel Channel, Fibonacci
Pattern
Chart pattern and harmonic pattern detection.
→ Chart Pattern (Wedge, Triangle, Expanding), AB=CD
Analysis
Quantitative and volume-based analysis.
→ Similar Pattern Finder, Session Volume Profile, RSI Scanner
Custom
Full manual control over all 9 features.
Enable or disable each tool individually.
When preset is not Custom, individual toggles are overridden.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Feature Details
1. Support & Resistance (S&R)
Auto-detects key support and resistance levels from pivot points.
The script identifies pivot highs and lows within a configurable
lookback window, then locates the nearest resistance levels above
and support levels below current price.
Touch detection uses a percentage-based tolerance zone.
Display:
- Up to 3 resistance levels (red) and 3 support levels (green)
- Price labels at each level
- Lines drawn from pivot origin to current bar
Usage Notes:
Price reaction near S&R levels is a key decision point.
When S&R overlaps with Fibonacci or Channel boundaries,
reaction probability increases.
HTF levels carry more significance than LTF levels.
2. Trendlines
Pivot-based automatic trendline detection across multiple lengths.
Four independent pivot lengths run simultaneously.
Bearish trendlines connect consecutive lower pivot highs;
bullish trendlines connect consecutive higher pivot lows.
An angle filter removes lines with extreme slopes.
When price breaks a trendline, the line is automatically removed
after a configurable number of bars.
Display:
- Bullish trendlines (green) / Bearish trendlines (red)
- Solid line for confirmed segment, dotted for projection
- Auto-cleanup after confirmed break
Usage Notes:
While trendline holds, expect trend continuation.
On break, watch for direction change.
Rejection at broken trendline confirms reversal (retest).
Longer pivot lengths produce more significant trendlines.
3. Parallel Channel
Auto-detects parallel price channels in three tiers
using zigzag structure analysis.
Swing points are classified by significance level,
and channels are constructed from aligned swing sequences.
Slope filters ensure only meaningful channels are displayed.
Tiers:
- L (Large): Major swings, 3-layer glow
- M (Medium): Intermediate swings, 2-layer glow
- S (Small): Minor swings, no glow
Display:
- Ascending (green) / Descending (red) channels
- Midline (dotted) divides upper and lower zones
- Fill between midline and boundaries
- Size label at channel origin
- Auto-extended while price stays inside
Usage Notes:
Inside channel, trade band-to-band.
Channel break signals a potential new trend.
Rejection at broken channel confirms reversal.
Channel + Fibonacci overlap increases reaction probability.
4. Fibonacci Retracement
Auto swing detection with adaptive lookback per timeframe.
The script finds the highest high and lowest low
within a timeframe-specific lookback window.
Lookback periods are optimized for each timeframe automatically.
Trend direction is determined by which extreme occurred later.
Levels displayed:
- Retracement: 0.236, 0.382, 0.5, 0.618, 0.707, 0.786, 0.886
- Extension: 1.130, 1.272, 1.414, 1.618, 1.902, 2.0, 2.272, 2.414, 2.618
Display:
- Dashed trend line connecting swing points
- Horizontal level lines with ratio labels
- Extended beyond current bar for forward reference
Usage Notes:
0.618 is the most commonly reactive retracement level.
Extension levels serve as target price references.
Fibonacci overlapping with S&R or Trendline increases probability.
5. Chart Pattern (Wedge / Triangle / Expanding)
Auto-detects five chart pattern types using adaptive pivot analysis.
An adaptive algorithm dynamically calculates optimal pivot length
based on current market conditions including volatility and trend strength.
From detected pivots, the script identifies valid 4-point formations:
- Falling Wedge: Both lines slope down, converging
- Rising Wedge: Both lines slope up, converging
- Symmetrical Triangle: Lines converge symmetrically
- Expanding Triangle (Bullish): Lines diverge with upward bias
- Expanding Triangle (Bearish): Lines diverge with downward bias
Multi-stage validation filters out low-quality formations.
Breakout is confirmed when price closes beyond a boundary line.
Display:
- Pattern boundary lines with glow effect
- Extended projection lines beyond the last pivot
- Filled polygon for the pattern body
- Pattern name label at the first pivot
- Separate alert for each pattern type
Usage Notes:
Converging patterns build energy for strong breakout moves.
Falling Wedge upward break suggests bullish reversal.
Rising Wedge downward break suggests bearish reversal.
Breakout with volume increases confidence.
6. AB=CD Pattern
Auto-detects harmonic AB=CD patterns with optional time ratio filtering.
The script tracks zigzag swing points and identifies ABC formations
where the BC retracement falls within the configured range.
Three D-point target zones are projected using
Fibonacci extensions: 1.0, 1.272, and 1.618.
When time ratio filtering is enabled, only patterns where the CD leg
duration matches the expected ratio relative to AB are completed.
On completion, TP and SL levels are drawn automatically:
- SL beyond the D point
- TP1/TP2/TP3 at Fibonacci ratios of AD range
Display:
- AB, BC, CD legs with ratio labels
- Target zone boxes from C to projected D area
- TP/SL level lines with price labels after completion
- Completed patterns shown in history color
Usage Notes:
D point near S&R or Fibonacci level increases probability.
Time Ratio Filter ON shows only high-quality patterns.
SL breach invalidates the pattern.
7. Similar Pattern Finder (SPF)
Searches historical data for patterns similar to current price action
and projects the matched pattern's subsequent movement.
The script compares a recent price window against historical segments
using Pearson correlation. The best-matching segment's subsequent
price movement is scaled proportionally and projected forward.
Display:
- Matched Pattern box with dashed overlay line
- Post Movement box showing what happened after the match
- Current Pattern box highlighting the reference window
- Forecast projection line with fill and price label
- Dashboard: direction, signal strength, correlation %, projected change %
Dashboard signals:
STRONG BULL / BULLISH / STRONG BEAR / BEARISH / LOW CONFIDENCE / NO MATCH
Usage Notes:
Higher correlation indicates higher similarity.
Aligns with other features (S&R, Fib) for higher confidence.
Use as directional reference only, not as absolute prediction.
8. Session Volume Profile (SVP)
Analyzes volume distribution by price level within configurable sessions.
Lower-timeframe data is collected and distributed across
a resolution grid spanning the session's price range.
Volume is split into body and wick portions for accurate allocation.
Key features:
- POC (Point of Control): Highest-volume price level per session
- Naked POC: POC not revisited since formation, extended to current bar
- HVN (High Volume Nodes): Zones above a percentile threshold, shown darker
Session types: Auto, Daily, Weekly, Monthly, Quarterly, Yearly
Auto mode selects the optimal session based on chart timeframe.
Timeframe validation displays a warning if the combination is invalid.
Usage Notes:
Near POC, expect strong reaction as it acts as dynamic S&R.
Naked POC serves as a future target reference.
Low volume zones tend to see fast price movement through them.
POC overlapping with S&R creates a very strong reaction zone.
9. RSI Scanner
Monitors RSI across 5 timeframes simultaneously
with weighted scoring and two-layer background analysis.
RSI (14) is calculated for 5M, 15M, 1H, 4H, and 1D timeframes.
Higher timeframes carry greater weight in the scoring system.
Two independent background layers provide visual context:
Layer 1 — Trend Direction (subtle):
Based on how many TFs have RSI above 50, weighted by significance.
When 4H and 1D momentum align (both rising or both falling),
the background darkens to confirm stronger trend conviction.
Layer 2 — Overbought/Oversold (strong):
Based on how many TFs have RSI above 70 or below 30.
Appears when weighted score reaches the threshold.
All TFs converging produces the strongest signal.
Display:
- Dashboard table showing RSI values for all 5 timeframes
- Timeframe text color: Green (overbought), Red (oversold), White (neutral)
- TREND row: Quick summary of market bias
→ 🔥 STRONG BULL/BEAR: High score + HTF momentum confirmed
→ ▲▼ BULL/BEAR: High score
→ △▽ Lean Bull/Bear: Moderate score
→ — Neutral: No clear direction
- Two-layer background color on chart
Usage Notes:
Subtle background shows trend direction at a glance.
Darker background means HTF momentum is confirming.
Strong background indicates OB/OS convergence zone.
TREND row gives instant market bias without reading numbers.
Combine with S&R or Fibonacci for better decision accuracy.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Alert System
S&R: Resistance touch, Support touch
Trendlines: Bullish trendline touch, Bearish trendline touch
Channel: Bull/Bear channel touch, Bull/Bear channel break
Chart Pattern: Falling Wedge, Rising Wedge, Sym Triangle,
Expanding Bull, Expanding Bear, Any Pattern breakout
AB=CD: D point reached
RSI: Overbought convergence, Oversold convergence,
All-TF overbought, All-TF oversold,
Strong uptrend + momentum, Strong downtrend + momentum
Setup: ALT + A → Select this indicator → Create alert
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Code Origin
All detection algorithms in this script are independently developed.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Limitations
- All request.security() calls use barmerge.lookahead_off (no future data)
- Session Volume Profile requires minimum timeframe per session type
(warning displayed if timeframe is too low)
- Defaults are starting points, not optimized for specific markets
- Similar Pattern Finder results are statistical references, not predictions
- Past zone reactions and pattern completions do not predict future behavior
- This is an analysis tool, not a trade signal generator
- Users are responsible for all trading decisions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Disclaimer
This indicator is an analysis tool, not a trade signal service.
It does not guarantee profits or specific outcomes.
All trading decisions and associated risks are the user's responsibility.
版本注释
.仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系Kim-Thank_You。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
👉 Get Access Here: https://litt.ly/kim_thank_you
KTY | Kim Thank You 🙏
Years of trading experience turned into
high-performance indicators
for real-world trading. 📊
💬 Indicator access & inquiries
👉 litt.ly/kim_thank_you
Years of trading experience turned into
high-performance indicators
for real-world trading. 📊
💬 Indicator access & inquiries
👉 litt.ly/kim_thank_you
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系Kim-Thank_You。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
👉 Get Access Here: https://litt.ly/kim_thank_you
KTY | Kim Thank You 🙏
Years of trading experience turned into
high-performance indicators
for real-world trading. 📊
💬 Indicator access & inquiries
👉 litt.ly/kim_thank_you
Years of trading experience turned into
high-performance indicators
for real-world trading. 📊
💬 Indicator access & inquiries
👉 litt.ly/kim_thank_you
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。