Jesse.Lau

[JL] Supertrend Zone Pivot Point with zigzag fib

Jesse.Lau Uppdaterad   
This is an open-source Pine script that generates a Supertrend Zone Pivot Point with Zigzag Fib indicator for TradingView. The indicator displays the Supertrend Zone, pivot points, and Fibonacci levels on the chart.

One of the unique features of this indicator is that it uses a Zigzag that does not repaint, ensuring accurate high and low points for the pivot points.

Another feature is that when the Supertrend is in an uptrend, only the highest points are taken as pivot points, and when it's in a downtrend, only the lowest points are taken as pivot points.

The Fibonacci levels are calculated based on the previous high and low pivot points, with labels displaying the corresponding levels on the chart.


The indicator also includes options to show/hide the Zigzag and Fibonacci levels.

Overall, this indicator is useful for identifying key pivot points and Fibonacci levels in the Supertrend Zone, providing valuable information for traders to make informed decisions.
Versionsinformation:

Added Premium/Discount line
When the trend is rising, and the price is under the premium/discount line, it may be a good idea to consider buying as it is in the discount zone.
When the trend is falling, and the price is above the premium/discount line, it may be a good idea to consider selling as it is in the premium zone.
Versionsinformation:
Add show _supertrend and show_premiumdiscount input
Fix pivot point label position bug.

Sometimes we do not need supertrend color, so you can disable it.
Change premium/discount line to white as there is no trend notice.

遁一子交易入道 jesselau.com/
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?