TradingView
mmoiwgg
8 Jun 2021 pukul 22.20

Zig Lines with Percent & Value 

Bitcoin / TetherUSBinance

Huraian

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.
tradingview.com/script/mRbjBGdL-Double-Zig-Zag-with-HHLL/


The addition of the Value above/below the Percentages is from user Noldo and that script is found here:
tradingview.com/script/UoKRvmD8-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:
tradingview.com/script/pQ0m7MJs-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...

Nota Keluaran

Added option to Enable/Disable the price at each pivot point.
*Requested by b0bbyG
Komen
RogueWick
Excellent indicator. Beautiful code. Clear explanation. Much appreciated!

What I'd love to see is an option for the second number: instead of price at pivot point, % change per candle or $ change per candle. This would put a number on the visually perceptible slope of each movement. I'm curious about the slope as /hr of movement to compare across timeframes, but the simpler per candle version would be very informative. Thanks again!
mmoiwgg
@RogueWick, Thank you! I will definitely look into this and see what updates and changes would best support this indicator.
SG_Investor
@mmoiwgg, I would like to see a minimum % deviation option too. I feel that allows me to see all the deviations above my general stop loss % point.
anthogee2796
Hey all, does anyone know how i can alter this great indicator so that it covers the whole chart? currently i am only able to see the zig zag with %'s from December 2021 until present day
b0bbyG
Hey - great indicator thanks for your work.

Is there a way I could get the price label to go? I'm only interested in the % - it would make my chart less cluttered. I can see you can remove the % but not the price label - much appreciated.
mmoiwgg
@b0bbyG, Added the update - you may have to removed from favorites, then readd to see the new version, but there is now a setting to 'Show Price' and you can untick it if you want it removed.
b0bbyG
@mmoiwgg, Amazing - thanks for your work.
adimof
That's brilliant work. Thank you sir!!!
Is there any chance I can setup a custom alert for >5% HIGH ALERT only?

Kind regards,
Paul.
mmoiwgg
@adimof, Possibly if you do something like
alertcondition(highs and plabel > 5.000, title='High Alert +5%', message='High Alert +5%')

I will play around with it and see what works, and make an updated version if I find something that produces that alert consistently.
miliony
Hi :) thanks for indicator, and for update where we can choose the labels (before i just deleted 2 lines of code).
if i apply indicator on 4h chart i can see labels (% and price) since april 2021,
if i choose only % labeles i can see labeles since january 2021
also in january there is begining of ploting lines.
How to extend labeles and lines for the whole chart?

Thanks
Max
Lebih