OPEN-SOURCE SCRIPT

Simple Pivots

Super Simple Pivots, based on
Pivot Hilo Support n Resistance Levels R3-3 by JustUncleL

and adapted from
Pivot Points High Low (HH/HL/LH/LL) [Anan]


Will take a low or high point and compare left and right, if its the lowest or highest respectively, a line is drawn forward until another point meets the criteria

The lookback period will delay the formation of new pivots. In the original two indicators, the pivot lines would stop drawing. I have added a line extension from the most recent pivots forward to indicate whether the current market price exceeds or is within the recent pivot point ranges. If the market price is above or below the high or low pivots respectively, the line will become solid. Otherwise, the pivot extension lines will be dotted.

There is an option to place price labels below the historical pivot points. Default is disabled because it clutters the chart.

Removed all alerts and MA from the original two indicators to improve speed.

Let me know if you have any questions!
gkjch
Pivot Points

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