gkjch

Simple Pivots

Super Simple Pivots, based on
and adapted from

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
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?