PineCodersTASC

TASC 2022.02 Ehlers' Elegant Oscillator

█ OVERVIEW

TASC's February 2022 edition of Traders' Tips includes the "Inverse ​Fisher Transform Redux — An Elegant Oscillator" article authored by John ​Ehlers. This is the code implementing the "Elegant Oscillator" from the article.


█ CONCEPTS

By applying the inverse Fisher transform to a waveform with a nominal Gaussian probability distribution using root mean square (RMS) scaling and smoothing the result, John ​Ehlers creates an oscillator that swings between -1 and 1.


█ CALCULATIONS

The calculation process uses the following steps:
 • Compute the 2-bar difference of closing prices.
 • Calculate the root mean square (​RMS) of the differences.
 • Scale the differences using the computed ​RMS.
 • Apply the inverse Fisher transform to the scaled values.
 • Smooth the transformed data with the SuperSmoother filter.


Join TradingView!

Tools and ideas for all Pine coders: www.tradingview.com/u/PineCoders/
Pine news broadcasts: t.me/PineCodersSquawkBox or twitter.com/PineCoders
TASC: traders.com/
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?