Libertus

Relative Strength Index - Divergences - Libertus

Hello all,

To ease everyone's trading experience I made this script which colors RSI overbought and oversold conditions and as a bonus displays bullish or bearish divergences in last 50 candles (by default, you can change it).
Script is open source, part of code is from Trading View examples. If you have suggestions or you already made some improvements, please report in comment.

Happy trading and good luck!
Oct 04
ملاحظات الأخبار: New version 2.0 of script. Most of logic is updated and upgraded.
Now divergences are shown for whole history.

Be warned that I increased lookback period to 90 bars by default. This is good for time frames up to 4H, even 4H in on the edge here.
Higher time frames then 4H probably need lower lookback period.

Please report any problems you encounter.
Oct 04
ملاحظات الأخبار: TD bugged out when publishing, repeating update.
Oct 05
ملاحظات الأخبار: Minor update: Added ability to set alerts per user request.
Oct 08
ملاحظات الأخبار: Minor update: fixed bug where divergences in some rare cases didn't show, usually on very low time frames


If you find this useful and want to revard me:
BTC TIP JAR: 1i7nojAjxFuyFwvnZx6hbXBTLkWaUjZ8C

Or visit my friends at CryptoCurrently community:
https://www.cryptocurrentlyvip.com/21
Oct 13
ملاحظات الأخبار: Update:
  • ability to remove pivots
  • ability to display smaller/shorter labels
Sep 27
ملاحظات الأخبار: What new:
  • adapted script to new pine language version (v4)
  • removed 8 n/a value that were cluttering indicator interface next to RSI value (only possible with v4 pine language)
  • added option to have colored indicator background instead of BULL/BEAR labels

If you don't want separate indicator for RSI divergences, you can use my RSI Divergences - Candle edition:

If you want OBV divergences script, check out:
إزالة من البرامج النصية المفضلة أضف إلى البرامج النصية المفضلة
hey bud, is there a way to add an alert for the pivots? I cannot find it. Im implementing this in part of my strat. If anything good comes out of it your getting a slice of the pie. FOR REAL!!!
رد
Please add an option to choose to show the labels on current bar, instead of displaced index (which is misleading practice in general).
so, if we get confirmation for pivots at this bar, we should have labels at this bar, not in past bars displaced.
رد
Libertus t_todua
@t_todua hello,
What would that accomplish? It would certainly confuse users since markers wouldn't be on bars that are actually diverging.
رد
Thanks for this source. I was able to make a copy of your candle edition from this and edit the plotshape sizes. The default shape size on your candle edition are too large for me since I'm used to tiny sizes on the plotshape to make it a bit cleaner look on the chart. :)
رد
Libertus francxisz
@francxisz, It's good that you dived into coding! You can also just go to script setting and change plot shape from label to something else, it's much smaller and no coding required. :)
+2 رد
hey there, the script looks amazing, i do have few questions hope you dont mind help to guide me a little!
i wonder does the signal of bull/bear shows immediately after the candle is closed?
if so how many candles behind the divergence? thanks!
رد
Nice work friend, thanks for sharing. I threw your divergences on an implementation of RSX here:
+1 رد
Libertus jaggedsoft
@jaggedsoft, thank you and good job with making that indicator.
+1 رد
Looks great, does it repaint at all?
+1 رد
الصفحة الرئيسية منصة الأسهم منصًة العملات منصّة العملات الرقمية جدول الأعمال الاقتصادي برامج تعليمية كيف نعمل مميزات الرسم البياني أسعار العضوية إحالة صديق قوانين الموقع مركز المساعدة حلول المواقع الإلكترونية والوسطاء الأدوات حلول الرسوم البيانية مكتبة الرسوم البيانية صغيرة الحجم المدوّنة والأخبار تويتر
ملف التعريف إعدادات الصفحة الشخصية الحساب وإعداد الفواتير إحالة صديق تذاكر الدعم الخاصة بي مركز المساعدة التحاليل المنشورة المتابعين تتابع رسالة خاصة المحادثة تسجيل الخروج