OPEN-SOURCE SCRIPT

Zig Lines with Percent & Value

Cập nhật
Overview, Features, and Usage:

The Zig Lines with Percent & Value is an indicator that highlights the highest and lowest points of the market from pivot points and zigzag lines based on the ZigZag Period setting. By a default value of 13 for the ZigZag Period this works well on Bitcoin or other alt coins on the 1 hour or higher timeframe charts.

What makes this indicator unique is that it draws a green line to signify an uptrend or a red line to signify a down trend. It will also show the percent difference between the previous point/line, for example: If you see a -negative percentage point with a red line drawn to it, then you are looking at a low pivot point and then as the green line is drawn to a +positive percentage value the percentage you see is the difference between the two points. This is great to see a trend reversal as you can look at previous pivot points and notice about how far the price moves before it changes direction (trend reversal).

There is an invisible EMA line that is used to assist with coloring the negative vs positive values. The value above or below the percentage is the lowest or highest price at that pivot point . The display of the price at the pivot point depends on your ZigZag Period setting and the timeframe of your chart.

Added Bollinger Bands as it fits perfectly with the visuals of the Zig Lines & Pivots.
Usage of Bollinger Bands:
~As the price or candle gets close to the top or bottom of the Bollinger band it can give you a better confirmation that the pivot location is at it's final place, and the trend is more likely to switch directions.

It’s important to know this indicator should not be used for alerts of any type it does repaint as the green or red line is drawing based on live chart data and it can change depending on the direction of the market. This is a great visual tool for trend analysis or to be used with other indicators as a confirmation for a possible good entry or exit position.

Credits (and consent to use):
Credits go to user LonesomeTheBlue for creation of this 'Double Zig Zag with HHLL' script.
Double Zig Zag with HHLL



The addition of the Value above/below the Percentages is from user Noldo and that script is found here:
Function : Pivots High and Low



The Bollinger Bands setup was suggested by user countseven12 and his script that uses the same BB setup is found here:
Hull MA with BB (With Alerts)



References:

1. Chen, James. (2021 March 15). Zig Zag Indicator . Received from http: investopedia.com/terms/z/zig...
2. Mitchell, Cory. (2021 April 30). Pivot Points . Received from http: investopedia.com/trading/usi...
Phát hành các Ghi chú
Added option to Enable/Disable the price at each pivot point.
*Requested by b0bbyG
Bollinger Bands (BB)percentagepivotPivot PointstrendZigzagZig Zag Indicator

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Thông báo miễn trừ trách nhiệm