OPEN-SOURCE SCRIPT

Pivot Points (Channel | Fib | Support/Resistances)

Updated
auto pivot point channel, channel fibonacci and support/resistance lines
Release Notes
Update:

- Better way to find pivot points and suitable support and resistance channel lines, more options so you can adjust the channel to better fit your chart. The bug where the channel changed once the price went over the main resistance/support line is now fixed, channel now updates when better one is found when new pivot points are added.

- Customizable styles and colors for main support/resistance lines.

- Customizable styles and colors for fib lines.

- RSI Heatmap inside the channel. Because why not :)
Heres an example with a normal heatmap :
snapshot

- Alerts (WIP)
Work in progress, alerts wont trigger, so for now it shows a label when the price is within X% of the main support or resistance line.
Release Notes
Bugfix: No channel found when max pivot points = 2.
Release Notes
Update:
- separated pivot points source into two sources (a test and a value source) for more flexibility.
- ex. Pivot high test source is used to test for a high pivot point, if yes the price is taken from Pivot high source. Previously used the same source for both.

- added support to use the old method for finding the best channel, someone said in the comments it was better.
- keep [ Pivot high source = high ] and [ Pivot low source = low ] to get the same results as the first version of this script (before the update).
Bands and ChannelsforecastingPivot points and levels

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?

Disclaimer