LonesomeTheBlue

RSI Tops and Bottoms

Hello Traders

This script finds Tops when RSI is in overbought area or Bottoms when RSI is in oversold area and checks the divergence between them. it checks divergence at tops/bottoms after RSI exited from OB/OS areas.

You can change overbought / oversold levels.
You can limit the time that RSI is in OB/OS area with the option "Max Number of Bars in OB/OS"
you can set the minimum/maximum distances between Tops/Bottoms with the options "Min Number of Bars between Tops/Bottoms" and "Max Number of Bars between Topss/Bottoms"
and you can set the color and line widths as you wish.

These tops or bottom must be sequential, means there mustn't be another top while checking tops or bottom while checking bottoms between them.

in next example you can see valid and invalid bottoms:

After you got signal then you better use Stop Order, a few pips higher than the high of colored candle for long positions, (vise versa in short positions). so you may escape from traps. ("Stop order" is filled when the price reached a pre-specified price. for example the price is now 10.0 and you set Buy Stop Order at 11.0 then if price reaches 11.0 then your buy order get filled. you can put stoploss a few pips lower than the low of colored candle or you can use ATR to decice stoploss level. how you wish)

For example in following screenshot you can see that buy stop order was not filled and you didn't take long position.


Enjoy!
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Rumah. Anda boleh menyukai skrip ini untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?
If you find my works useful, please consider a donation
BTC: 19qDW9AShZhBZsGuXcgRzam5Fbpc3EU8EV
ETH: 0x39c8552371b9b7f4e324197af460ba8bc8e18ef9

Komen

@LonesomeTheBlue thanks for this!
Please can I set an alert for this?
+8 Balas
@LonesomeTheBlue Once again Thank You for sharing this. One doubt, does it work for small time frame like say 5min, 15min, 30min, if Yes, does the next candle confirmation work (a few pips Higher than the colored candle) ?
+7 Balas
@sourayb, it can work on all time frames, as written above, you should use stop order. time frame depends on your strategy and trading style. also as you should know only one indicator may be be enough to make a desicion, you should confirm the singals by using other indicators
+1 Balas
sourayb LonesomeTheBlue
@LonesomeTheBlue, Thanks for the response.
+1 Balas
So wait...am I assuming correctly that this is showing exaggerated bull/bear divergences? Have been searching for this as there are few out there if so...and of course it would come from you (again...if so)!!! Thanks for your time and amazing work regardless. You always make me so #ContentedTheCheerful. Maybe we should get together and be just .....eh (so-so) that way I can just call you..."TheBlue". I like that more.
+3 Balas
That's just beautifully written. =)
I really like the "maygoup" "maygodown" variables =P
+3 Balas
tjsherlock kurtsmock
@kurtsmock, Agreed. Very well written, easy to follow.
Balas
very powerful tool to identify divergence, thanks for sharing
+1 Balas
LonesomeTheBlue blackcat1402
@blackcat1402, glad to hear, you are welcome ;)
+1 Balas
awesome..thank you very much
+1 Balas
Laman Utama Penyaring Saham Penyaring Forex Penyaring Kripto Kalendar Ekonomi Mengenai Ciri-ciri Carta Harga Rujuk rakan Peraturan Dalaman Pusat Bantuan Laman web dan Penyelesaian Broker Widget Penyelesaian Pencartaan Perpustakaan Pencartaan yang Ringan Blog & Berita Twitter
Profil Tetapan Profil Akaun dan Pengebilan Kawan-kawan yang dirujuk Coin Tiket Sokongan Saya Pusat Bantuan Mesej Peribadi Sembang Daftar Keluar