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

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian