LazyBear

Indicator: CCI coded OBV

42691 vizualizações
7580
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.
Script de código aberto

No verdadeiro espírito TradingView, o autor deste script o publicou com código aberto, para que os traders possam compreendê-lo e verificá-lo. Um brinde ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para utilizá-lo em um gráfico.

Quer usar esse script no gráfico?
// 
// @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)
    
o=obv(src)
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)
List of my free indicators: http://bit.ly/1LQaPK8
List of my indicators at Appstore: http://blog.tradingview.com/?p=970

Comentários

Hi

How can I use this indicator for Gold & DXY, it is only working on certain things like: USDCAD, BTCUSD?
+38 Resposta
You dun goofed. Posted the perfect indicator for free when you should of sold it to a hedge fund manager. :P
+18 Resposta
LazyBear MrJozza
:) thanks.
+10 Resposta
@LazyBear, WHAT PARAMETS FOR 5 MIN CHART? IT TENDS TO GIVE FALSE SIGNALS IN TAHT
+12 Resposta
Thanks for this. Just wondering when one would change the threshold value? What does the threshold value represent? Thank you.
+15 Resposta
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
+10 Resposta
Thank you Lazybear! I found a good explanation on how to use CCI to take trades so I thought I would share it. https://youtu.be/IJ9I_5M6SUM
+9 Resposta
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.

Thanks,

Confused in crypto land
+3 Resposta
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
+7 Resposta
Really nice work here! Is there a way for me to use this indicator? I couldn't figure it out yet.
+4 Resposta
Início Rastreador de Fundamentos Rastreador Forex Rastreador de Criptomoedas Calendário Econômico Sobre Recursos gráficos Preços Indique um Amigo Regras da Casa Central de Ajuda Soluções para Sites & Corretoras Widgets Soluções em Gráficos Biblioteca de Gráficos Lightweight Blog & Notícias Twitter