OPEN-SOURCE SCRIPT

[JL] Supertrend Zone Pivot Point with zigzag fib

Updated
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.

snapshot

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.
Release Notes
snapshot

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.
Release Notes
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.
snapshot
Change premium/discount line to white as there is no trend notice.
Fibonacci ExtensionFibonacci Retracementpivot_pointsPivot PointsPivot points and levelssupertrendZigzagZig Zag Indicator

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


遁一子交易入道 jesselau.com/
Also on:

Disclaimer