TradingView
Libertus
٢٩ أيلول سبتمبر ٢٠١٨ ١٢:٥٣

Relative Strength Index - Divergences - Libertus 

Ethereum / U. S. DollarKraken

الوصف

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!

ملاحظات الأخبار

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.

ملاحظات الأخبار

TD bugged out when publishing, repeating update.

ملاحظات الأخبار

Minor update: Added ability to set alerts per user request.

ملاحظات الأخبار

Update:
  • ability to remove pivots
  • ability to display smaller/shorter labels

ملاحظات الأخبار

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:
tradingview.com/script/8VIHaB5m-RSI-Divergences-Candle-Edition-Libertus/

If you want OBV divergences script, check out:
tradingview.com/script/K7trCyvk-OBV-On-Balance-Volume-Divergences-Libertus/

ملاحظات الأخبار

Small fix: Pivots didn't hide if you checked both "Hide pivot" and "Color background".

ملاحظات الأخبار

Per popular demand, added alerts to pivot high and low.
Some code cosmetics.

ملاحظات الأخبار

Added mid line with value 50 separating bullish and bearish momentum.
Changed colors for bullish and bearish momentum parts.
If you want to change colors or any value, you can do it in script settings (style part).
التعليقات
zzcnc
Bull :What does it represent
Pivot :What does it represent
Bear :What does it represent
Red thread :What does it represent
Libertus
arialexander2
@Libertus, what is pivot? i know what over bought and over sold is
ersin10066
@zzcnc, sorularınızın cevabınızı buldunuzmu?
MDicko123
Looks great, does it repaint at all?
emmanueldesk
@MikeDickens, no
rashmi_kamaldeep_ico
Hi, are the signals provided immediately or two candles late?
Libertus
@rashmi_kamaldeep_ico, Divergence signal is provided after two conditions are met: 1. last closed candle has divergences 2. current candle rsi/price is under (bear) or over (bull) last candle rsi/close price.
In real world that mean anything between few seconds after candle close or whole candle time, depending when price meets condition. Pivot is provided after 2 candles, but that isn't important for divergences.
timati525
Excellent indicator!! Thanks!
Is there an option to set an alert for PIVOT? It will be great!
المزيد