OPEN-SOURCE SCRIPT
업데이트됨 TrendZone

TrendZone - Fibonacci Trendline Indicator
TrendZone is a custom Pine Script indicator that automatically draws fibonacci-based trendlines between key pivot points on your chart.
Key Features:
3 Pivot Points: Set start point, major pivot (reversal), and end point
Dual Trendlines: First trendline (Point 1 → 2) and second trendline (Point 2 → 3)
Fibonacci Levels: Automatically draws 25%, 50%, and 100% fibonacci levels for each trendline
Auto Trend Detection: Automatically identifies bullish/bearish trends and adjusts colors accordingly
Customizable: Full control over colors, line styles, and widths for each fibonacci level
How it Works:
The indicator uses your selected pivot points to create two connected trendline systems. Point 2 serves as the major pivot where the first trend ends and the reversal begins. Each trendline system includes fibonacci retracement levels that extend to the right, helping identify potential support/resistance zones.
Use Cases:
Identifying trend reversals at key pivot points
Finding potential support/resistance levels using fibonacci projections
Visualizing market structure changes between different time periods
Planning entries/exits based on fibonacci trendline interactions
Perfect for traders who use fibonacci analysis combined with trend structure to identify high-probability trading zones.
TrendZone is a custom Pine Script indicator that automatically draws fibonacci-based trendlines between key pivot points on your chart.
Key Features:
3 Pivot Points: Set start point, major pivot (reversal), and end point
Dual Trendlines: First trendline (Point 1 → 2) and second trendline (Point 2 → 3)
Fibonacci Levels: Automatically draws 25%, 50%, and 100% fibonacci levels for each trendline
Auto Trend Detection: Automatically identifies bullish/bearish trends and adjusts colors accordingly
Customizable: Full control over colors, line styles, and widths for each fibonacci level
How it Works:
The indicator uses your selected pivot points to create two connected trendline systems. Point 2 serves as the major pivot where the first trend ends and the reversal begins. Each trendline system includes fibonacci retracement levels that extend to the right, helping identify potential support/resistance zones.
Use Cases:
Identifying trend reversals at key pivot points
Finding potential support/resistance levels using fibonacci projections
Visualizing market structure changes between different time periods
Planning entries/exits based on fibonacci trendline interactions
Perfect for traders who use fibonacci analysis combined with trend structure to identify high-probability trading zones.
릴리즈 노트
** Table Info added **What the Table Calculates:
The table tracks time and price numerology across three trend segments defined by your pivot points:
Trend 1: From Pivot Point 1 to Pivot Point 2
Trend 2: From Pivot Point 2 to Pivot Point 3
Fib Snake: From Pivot Point 2 to current bar (live updating)
Two Key Measurements:
Bar Count: Number of bars (time periods) in each trend segment
Sum: Numerology reduction of price ranges - converts price movements to single digits (1-9) by adding all digits together until reaching a single digit
Gann Theory Application:
This table is specifically designed for Gann analysis, which heavily emphasized:
Time/Price Relationships: Gann believed certain time periods and price movements had mystical significance
Numerology: He used digit reduction (what this "Sum" row does) to find hidden patterns in price movements
Fibonacci Sequences: Sacred numbers that appear throughout nature and markets
Visual Significance:
Black text = Fibonacci number detected (1,2,3,5,8,13,21,34,55,89,144,233,377,610,987,1597,2584,4181,6765)
White text = Non-Fibonacci number
Trading Utility:
When bar counts or numerology sums hit Fibonacci numbers (showing in black), Gann theory suggests these are significant turning points or continuation signals. The "Fib Snake" column updates live, so you can watch for when current market action reaches these mathematically significant levels.
This combines Gann's time-price numerology with modern Fibonacci analysis for confluence trading signals.
릴리즈 노트
** Small update **Tables on mobile displays look cluttered. You can turn the table off and use the values directly on the chart now if you wish.
Also - hot tip: If you click on the trend lines you can move them about directly on the chart using the built in handles.
Please know that that this is made to be used on a set timeframe. Changing timeframes will mean you need to re-position to display.
릴리즈 노트
Fixed a small display bug when chart refreshed릴리즈 노트
Updated label handling Pivot 1 labels = Trend bar count (above) and Sum of price in range (below)
Pivot 2 labels = Trend bar count (above) and Sum of price in range (below)
Pivot 3 labels = Trend bar count to latest closed bar (above) and Sum of this price range (below)
릴리즈 노트
A sum value of "9" with be highlighted now. An important number in numerology and a potential reversal is happening. 릴리즈 노트
Added Special Matching Logic for Specific Numerological Breakpoints for any values that sum to 9.This mirrors the existing logic for sum=9 but uses different colours and applies to bar counts for any counts that sum to 9.
For example a bar count of 81 would be 8+1=9
릴리즈 노트
Now you get a fib retracement levels automatically in-between the trendline system. 릴리즈 노트
The script has been updated for a cleaner look. 릴리즈 노트
It was missing the 0 and 1 fib retracement line. FIXED릴리즈 노트
Fib Retracement levels are now available for both trends. 릴리즈 노트
Updated to use Bar Index instead of time. There was issues with stocks when the market was not open. Should be more consistent now.
NOTE: there is a limit to how many bars the range can cover. If it fails, you will need to go to a higher time frame.
릴리즈 노트
Consolidated colours. Small fixes 릴리즈 노트
Due to several requests, traders wished to have their own custom levels including projections beyond the 1 level. Now you can set your own custom fib levels. Updated. 릴리즈 노트
Small update. Custom colour for fib number detection added. 릴리즈 노트
Fib Label offsets now work for both sides. FIXED. 오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.