INVITE-ONLY SCRIPT
Updated

Trend Pullback Reversal TPR

9896
The TPR(Trend Pullback Reversal) indicator forms a possible price trend with support and resistance lines. It also comes with a unqiue band and center line as additional features.

TPR works on all timeframes and all symbols and all type of bar chart.

TPR never repaints.

There are 4 Parameters:

Period: umber of bars used for calculations
Factor: Multiplier factor, small number for short trend, large number for long trend
Source: the input series, default is Close
ShowBand: enable to show band and center line


Most trend indicators have similar plot, the difference is where and when they change the direction. Unlike other trend indicators, TPR will focus on main trend and filter out most minor price movements. The green cross-line represents an uptrend, the red cross-line represents a downtrend.

The additional band and center line may look like bollinger band, but the TPR band algorithm is completely different from bollingerband. There is no standard deviation in TPR band calculation.





Release Notes
Added a new feature.
Release Notes
Add a new feature and input Band Factor to control the width of the band.
Release Notes
Added plot titles for alert purpose.
Release Notes
Add a new input, Extend Bands which are based on the number of ticks above and below the main TPR plot.
It can be used as trailing stop for intraday chart.
Release Notes
Add a new feature as the Trend Duration Table.
It has the following six info:
  1. Longest Up-Trend
  2. Avg Up-Trend
  3. Latest Up-Trend
  4. Longest Down-Trend
  5. Avg Down-Trend
  6. Latest Down-Trend
Release Notes
Add 2 new alerts.

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.