Indicator: CCI coded OBV

19783 görüntülenme
19783 29
OBV is colored green if CCI > threshold, red if CCI < threshold.

Both "threshold" and "CCI Length" can be customized using the options page.

Indicator also displays a 13EMA (length can be changed) over OBV.
Favori Komutlardan Çıkart Favori Komutlara Ekle
// @author LazyBear
study("CCI coded OBV", shorttitle="CCIOBV_LB")
src = close
length = input(20, minval=1, title="CCI Length")
threshold=input(0, title="CCI threshold for OBV coding")
lengthema=input(13, title="EMA length")
obv(src) => 
    cum(change(src) > 0 ? volume : change(src) < 0 ? -volume : 0*volume)
c=cci(src, length)
plot(o, color=c>=threshold?green:red, title="OBV_CCI coded", linewidth=2)
plot(ema(o,lengthema), color=orange, linewidth=2)

Something is not working today with this indicator, on EURUSD at 5 mn chart, 16h20 (Brussels time) There is a huge drop down, unexpected. The regular OBV is not showing this picture.
Cevap Gönder
RichardParker RichardParker

It occurs only with the default settings, (20, 13). So not for (21, 13) , (19, 13), etc....
Cevap Gönder
Great job. Thanks for this and for all that you share. I tweak, customize and combine some but this one is perfect straight up. Thanks again and keep smiling!
Cevap Gönder
Hey i want to ask how you can set an alert on this one when it turns from green to red and from red to green? Thanks for help
+2 Cevap Gönder
Cevap Gönder

How can I use this indicator for Gold & DXY, it is only working on certain things like: USDCAD, BTCUSD?
+12 Cevap Gönder
Thanks for this. Just wondering when one would change the threshold value? What does the threshold value represent? Thank you.
+7 Cevap Gönder
Thank you Lazybear! I found a good explanation on how to use CCI to take trades so I thought I would share it.
+7 Cevap Gönder
AshVecciho ChristopherJuliano
@ChristopherJuliano, I watched it and it goes from -200 0 +200

I don't get the increments used on this indicator though. As shown above 120k to 180k? How do you use that as a gauge for anything with no "0" in the center for a point of reference? I'm looking at it on my chart and it goes from 0 to 2 mil.


Confused in crypto land
+1 Cevap Gönder
Amazing indicator, genius. I started demo trading 3 months ago and have lost 5k all in all so doing pretty poorly

This indicator is a game changer allied to a few others yes but this is key. Have suddenly become consistently profitable

I doff my hat to you lazy bear
+5 Cevap Gönder
Ana Sayfa Hisse Senedi Takipçisi Forex Takipçisi Kripto Takipçisi Ekonomik Takvim Nasıl Çalışır Grafik Özellikleri Ücretlendirme Kurallarımız Moderatörler Web Sitesi & Aracı Kurum Çözümleri Görsel Bileşenler(Widget) Grafik Çözümleri Destek Merkezi Yeni Özellik Talebi Blog ve Haberler SSS Viki Twitter
Profil Profil Ayarları Hesap ve Ödemeler TradingView Koinleri Destek Kayıtlarım Destek Merkezi Yayınlanmış Fikirler Takip Edenler Takip Ediliyor Özel Mesajlar Sohbet Çıkış