OPEN-SOURCE SCRIPT

Zigzag Trend-based Color [SteinG]

已更新
Zigzag Indicator with Trend-based Color Coding and Info Table

This indicator is forked from Trendoscope's Recursive Zigzag

The Zigzag Indicator with Trend-based Color Coding and Info Table is a powerful tool for technical analysis, designed to help you identify significant price swings, visualize trends, and analyze pivot points with ease. This advanced indicator offers enhanced functionalities and improved visual representation.

The primary purpose of the Zigzag Indicator is to identify and highlight important price reversals, commonly referred to as pivot points, in a given chart. These pivot points are essential in recognizing trend changes and potential market turning points. With the Zigzag Indicator, you can quickly identify these pivotal moments and gain valuable insights into market dynamics.

One of the standout features of this indicator is the color coding applied to the Zigzag line, which intuitively reflects the trend associated with each pivot point. The color scheme is as follows:

- Green: Indicates an upward trend, representing a bullish movement in the price.
- Lime: Represents a retracement during an upward trend, indicating a temporary pullback before the uptrend resumes.
- Red: Signifies a downward trend, indicating a bearish movement in the price.
- Orange: Represents a retracement during a downward trend, indicating a temporary bounce before the downtrend resumes.

This color coding allows you to easily visualize the prevailing market sentiment and make more informed trading decisions accordingly.

In addition to the visual representation, the Zigzag Indicator also includes an informative table that provides essential details about each pivot point. The table presents the following information for each pivot point:

1. Pivot Value: The price level at which the pivot point occurs.
2. Direction: Indicates whether the pivot point represents an upward or downward trend.
3. Fibo Ratios: Displays the Fibonacci retracement levels between two consecutive pivot points, offering insights into potential support and resistance levels.

The inclusion of this comprehensive info table enables you to analyze pivot points more effectively, understand the underlying price dynamics, and identify key trading opportunities.
版本注释
v2
Use Open Close Prices added
You can use open close prices for calculating pivots instead of high/low.
版本注释
V3
1. DATETIME added to table
2. PIVOT VALUE decimal place fixed
3. Remove unused function
版本注释
v4
Minor fix
版本注释
v5
typo fixed
colorcodedZigzagZig Zag Indicatorzigzaglinezigzagpattern

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明