TradingView
j1O9SB
2016年1月5日晚上11點22分

Keltner Channels Oscillator v2 

Crude Oil (WTI)FXCM

描述

A cleaner aesthetic and an introduction to the indicator's uses.
I would also be very appreciative of any Keltner Channels related ideas or concepts you may have run across to add features to this indicator.
評論
MonkeyNo1
I like this. Turning the KC into an indicator helps to keep my chart clean. If you are going to make another version in the future, could you do one with color coding that represents high/low vs Channel. For example, something like:

Color 1 = High > KC+2 and Low > KC-1
Color 2 = High > KC+1 and High < KC+2 and Low > KC-1
Color 3 = Low < KC-1 and and Low > KC-2 and High < KC+1
Color 4 = Low < KC-2 and High < KC+1
Color 5 = None of the above

Thank you.
ChartSmartTrading
Great Indy, thank you. I am struggling to get the oscilator value to show on the scale, am I missing something?
maroof81
thanks
sriramksharma
Thank you ! for the novel way of representing the Keltner Channel and that too as an Oscillator with a slight twist to the calculation.

Though I am very late to see the Indicator, Just by glancing at this, I started liking it very much. In order to identify extremes, I have added the following third levels.

kc_mult3=input(3,title="Keltner Channel Third Multiple") // added by me​

kc_threeup=kc_ma+kc_rng*kc_mult3 // added by me
kc_threedn=kc_ma-kc_rng*kc_mult3 // added by me

kc_lvlthreeup=(kc_threeup-kc_ma)/kc_rng // added by me
kc_lvlthreedn=(kc_threedn-kc_ma)/kc_rng // added by me

kc_colbar=((kc_lvlclose>kc_lvlonedn)and(kc_lvllow<kc_lvlonedn))?green:((kc_lvlclose<kc_lvloneup)and(kc_lvlhigh>kc_lvloneup))?red:(close>open)?blue:black // moidified by me - instead of white I changed it to blue

plot(kc_lvlthreeup,color=#C285E6,style=line,linewidth=1,editable=false) // added by me
plot(kc_lvlthreedn,color=#C285E6,style=line,linewidth=1,editable=false) // added by me
kinggold
Thank you for coding this, this indicator is a great research tool. I have one idea for the indicator. Can you add an option to change the bars to candles?

j1O9SB
Of course. Just tell me which color you want them to be and I'll have the indicator up asap.
kinggold
Thanks, bull candles white and bear candles red.
j1O9SB
tradingview.com/script/fz3j8J68-KCO-w-Candles/

There is an issue with indicator candles where you can't have alternating wick or candle border colors.
kinggold
Candle color doesn't matter to me. Same candle color in white would be just as great.
j1O9SB
I'll be making the v3 oscillator into a candle version if you're interested.
更多