OPEN-SOURCE SCRIPT

Pivot Length Bands

Pivot Length Bands Indicator

Description:
The Pivot Length Bands indicator is designed to visualize price volatility based on pivot points and ATR-adjusted pivot points. I. These bands can help traders identify potential support and resistance levels and assess the current volatility of the market.

Inputs:

Swing Length: The length of the swing used to calculate the pivot points and average true range.
Pivot Length Left Hand Side: The number of candles to the left of the current pivot point to consider when calculating the pivot high and low.
Pivot Length Right Hand Side: The number of candles to the right of the current pivot point to consider when calculating the pivot high and low.
Usage:

Traders can use the bands as potential levels for placing stop-loss orders or profit targets.
The width of the bands adjusts dynamically based on the current volatility of the market.

Note:

This indicator is best used in conjunction with other technical analysis tools and should not be relied upon as a standalone trading signal.

EXAMPLE 1:
Entry:
snapshot

Exit:
snapshot


EXAMPLE 2:
Entry:
snapshot

Exit:
snapshot
Chart patternsPivot points and levelsVolatility

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