INVITE-ONLY SCRIPT
已更新 TRharmonic Ultimate

TRharmonic Ultimate - Professional Harmonic Pattern Detection System
Technical Overview
TRharmonic Ultimate is a real-time harmonic pattern recognition system built on Pine Script v5. The system analyzes 25+ harmonic formations across multiple ZigZag depths simultaneously, providing traders with instant pattern detection and pre-calculated trading levels.
Core Features
The indicator uses a zero-lag ZigZag algorithm with right offset set to 0, eliminating the typical 1-5 bar delay found in standard pivot-based systems.
Pattern detection operates across 10 simultaneous ZigZag depth calculations ranging from 15 to 150 bars, ensuring coverage of both short-term and long-term formations.
Each detected pattern includes automatically calculated entry price, stop loss, and three take-profit levels based on standard Fibonacci retracement principles.
The system validates patterns using adjustable tolerance bands between 7% and 10%, allowing traders to balance between detection sensitivity and accuracy.
MACD confirmation can be optionally enabled to filter signals, reducing false positives by requiring momentum alignment with pattern direction.
Dragon pattern detection uses proprietary ratio validation specifically designed for this rare formation's unique Fibonacci relationships.
Wolfe Wave recognition includes full 6-point structure analysis with automatic EPA (Estimated Price Arrival) line projection.
The algorithm performs geometric validation beyond simple ratio checking, including trendline mathematics and positional requirements.
Pattern drawings automatically adapt to chart theme (dark/light mode) with customizable color schemes for all 25+ formations.
A built-in deduplication system prevents multiple alerts for the same pattern within a specified bar range.
Technical Advantages
The ZigZag calculation method processes pivot points in real-time without requiring bar closure confirmation.
Memory management is optimized to handle 500+ bars of historical data while maintaining calculation speed.
Pattern-specific algorithms account for individual formation characteristics rather than using generic detection logic.
The system can detect rare patterns like Dragon and Wolfe Wave that most commercial indicators cannot identify reliably.
All Fibonacci calculations are performed automatically, eliminating manual measurement errors common in discretionary trading.
The indicator maintains clean chart visualization by automatically removing outdated pattern drawings after a configurable time period.
Multi-layer validation processes include ratio checks, geometric positioning, and optional momentum confirmation.
Pattern labels display Fibonacci ratios directly on formations, providing transparency in detection criteria.
發行說明
Updated to Pine Script v6發行說明
發行說明
minor bug fixed發行說明
The TP1 error belonging to the Alternate Bat Pattern has been fixed發行說明
The zigzag algorithm has been modified, toggle switches have been added to enable/disable pattern groups, and the triangle pattern logic has been updated發行說明
Double top and double bottom labels have been corrected發行說明
We implemented an ATR-based noise filter and right=0 realtime pivots in the ZigZag engine, and aligned the MACD confirmation logic with the new fast-detection design for more responsive and cleaner pattern signals.發行說明
Triangle patterns detection logic has been redesigned from Fibonacci-based detection to slope-based detection.發行說明
A dedicated angular detection algorithm was developed to accurately identify triangle chart patterns.Stop-loss levels have been optimized specifically for 4-point, 5-point, and 6-point triangle formations.
發行說明
The coloring map has been updated.發行說明
Ratios for some patterns have been reviewed, default parameters have been updated, and the deduplication function has been improved.發行說明
Enhanced zigzag calculation and deduplication logic. Resolved mismatch between trading lines cleanup and pattern deduplication mechanism.發行說明
The label stacking function has been modified發行說明
A 3-stage noise filter function has been added.The indicator has been prevented from detecting unnecessary (weak/noisy) pivot highs and pivot lows.
僅限邀請腳本
僅作者批准的使用者才能訪問此腳本。您需要申請並獲得使用許可,通常需在付款後才能取得。更多詳情,請依照作者以下的指示操作,或直接聯絡TRharmonic。
TradingView不建議在未完全信任作者並了解其運作方式的情況下購買或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
Feel free to send me a DM for more information
TRharmonic
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
僅限邀請腳本
僅作者批准的使用者才能訪問此腳本。您需要申請並獲得使用許可,通常需在付款後才能取得。更多詳情,請依照作者以下的指示操作,或直接聯絡TRharmonic。
TradingView不建議在未完全信任作者並了解其運作方式的情況下購買或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
Feel free to send me a DM for more information
TRharmonic
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。