OPEN-SOURCE SCRIPT

Parabolic SAR Oscillator [LuxAlgo]

This indicator is a detrended price series using the Parabolic Stop and Reverse (SAR) trailing stop, resulting in a bounded oscillator in the range (-100, 100). The SAR output is also normalized to obtain a noiseless oscillator which can complement the detrended price.

Settings

  • Start: Initial value of the convergence factor used when a new trend is detected by the SAR
  • Increment: Increment value of the convergence factor
  • Maximum: Maximum value of the convergence factor


Usage

The price is detrended by subtracting the closing price to the SAR, this result is then normalized.

An up-trending market is indicated once the normalized SAR reaches -100, while a value of 100 indicates a down-trending market. One can anticipate trends when the normalized SAR crosses above/under 0.

snapshot

The converging nature of the SAR trailing stop allows for the trader to obtain a very apparent leading oscillator.
Release Notes
Minor changes.
LUXluxalgonormalizedOscillatorsparabolicParabolic Stop and Reverse (PSAR)psarSARtrailingstopTrend Analysis

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?


Get access to our exclusive tools: luxalgo.com

Join our 150k+ community: discord.gg/lux

All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
Also on:

Disclaimer