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]](https://tradingview.sweetlogin.com/proxy-s3/2/2KE8wTuF_mid.png)
Let me know if any refinements could improve the 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]](https://tradingview.sweetlogin.com/proxy-s3/2/2KE8wTuF_mid.png)
Let me know if any refinements could improve the oscillator.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.