Pivot Based Trailing Maxima & Minima

March 14, 2022

This indicator returns trailing maximums/minimums and their average resetting at the occurrence of a pivot point high/low, thus allowing the highlighting of past and current support and resistance levels.

This indicator returns trailing maximums/minimums and their average resetting at the occurrence of a pivot point high/low, thus allowing the highlighting of past and current support and resistance levels.

Settings

  • Length: Determines the pivot high/low lookback, with higher values allowing to detect longer term tops and bottoms.

Usage

The indicator can highlight points of support and resistances - these are points where price bounced of the average line. These points can eventually be used to draw trendlines .

The trailing maximum/minimum and their average extends to the most recent bar, allowing real time applications of the indicator.

Additionally, users can easily analyze past trends and determine their type by observing the trailing maximum/minimum behavior. For example, trailing maximums/minimums not making new higher high/lower low would indicate a ranging market.

The frequency of new higher high/lower low can also help determine how bullish / bearish a trend was.

Other Stories

HOW-TO: Automatic Pattern Detection in TradingView

5/13/2022
New Feature
Indicator
Educational

Chart patterns are governed by precise identification guidelines and it is important to effectively recognize the presence of a specific pattern. Since this recognition process can be subjective, we designed a robust and efficient algorithm for the detection of traditional chart patterns, saving users valuable time.

Linear Regression Histogram

5/13/2022
New Feature
Indicator
Educational

This indicator is inspired by traditional statistical histograms. It will return the number of occurrences of price falling within each interval (bins) of the linear regression channel. This can be useful to highlight zones of interest within a trend.