OPEN-SOURCE SCRIPT

SB_Wavetrend_Oscillator

A take on LazyBear's Wavetrend_Oscillator
The idea is bit modified.

Original Idea:
When the oscillator is above the overbought band (red lines) and crosses down the signal (dotted line), it is usually a good SELL signal. Similarly, when the oscillator crosses above the signal when below the Oversold band (green lines), it is a good BUY signal.

Modified Idea:
Carrying the original idea, if the oscillator crosses the overbought band (red lines) and crosses down the signal (dotted line) twice without crossing the Oversold band (green lines) and crosses above the signal (dotted line), a buy or sell signal will take place when the oscillator crosses the dotted line and the value of oscillator is >0(if sell order is to be placed) and <0(if buy order is to be placed).

For the original idea you can refer to:
Indicator: WaveTrend Oscillator [WT]


Let me know if any refinements could improve the oscillator.
lazybearOscillators

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