LazyBear

Indicator: CCI coded OBV

צפיות ‎21789‎
6378
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.
הסר מסקריפטים מועדפים הוסף לסקריפטים מועדפים
// 
// @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

תגובות

Hi

How can I use this indicator for Gold & DXY, it is only working on certain things like: USDCAD, BTCUSD?
+13 השב
You dun goofed. Posted the perfect indicator for free when you should of sold it to a hedge fund manager. :P
+9 השב
:) thanks.
+7 השב
@LazyBear, WHAT PARAMETS FOR 5 MIN CHART? IT TENDS TO GIVE FALSE SIGNALS IN TAHT
השב
Thanks for this. Just wondering when one would change the threshold value? What does the threshold value represent? Thank you.
+7 השב
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
+7 השב
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
+1 השב
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 השב
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
+4 השב
Really nice work here! Is there a way for me to use this indicator? I couldn't figure it out yet.
+2 השב
בית סורק מניות סורק מט"ח סורק מטבעות-קריפטו יומן כלכלי איך זה עובד‏ תכונות גרף מחירון הפנה חבר חוקי הבית מרכז תמיכה כלים לאתרים וברוקרים יישומונים פתרונות גרפיים ספריית גרפים קלי משקל בלוג וחדשות טוויטר‏
פרופיל הגדרות פרופיל חשבון וחיוב הפנה חבר לשוניות התמיכה שלי מרכז תמיכה רעיונות שפורסמו עוקבים עוקב הודעות פרטיות צ'אט התנתק