Indicator: Custom COG channel

This is my custom channel (Bear Channel!? :)) derived from BB/STARC. It uses both ATR/STDEV for plotting the bounds.

I use COG (Center of Gravity ) for deriving the baseline. This enables it to track the price action better than many other channels that make use of MAs or simply "close". Indicator also marks "squeezes" (stdev bands come inside ATR bands). Pay attention to these, as these usually indicate a move.

I am still exploring this indicator on different BTCUSD time frames, would love to hear your feedback / setups for other instruments.

Code for this indicator:

Code for COG fibs I mentioned in the comments:
從喜愛的腳本中移除 添加到喜愛的腳本
// @author LazyBear
// This is my custom channel derived from BB/STARC. This uses both ATR/STDEV for plotting the bounds. 
// I use COG for the base line (normally it is SMA/EMA). 
// If you use this code in its original/modified form, do drop me a note. 
study("COG Double Channel [LazyBear]", shorttitle="COGChannel_LB", overlay=true)
src = close
length = input(34)
offset = input(20)
tr_custom() => 
    max(x1, max(x2,x3))
atr_custom(x,y) => 
dev = (mult * stdev(src, length))
basis=linreg(src, length, median)
ul = (basis + dev)
ll = (basis - dev)
tr_v = tr_custom()
acustom=(2*atr_custom(tr_v, length))

// Plot STDEV channel
plot(basis, linewidth=1, color=navy, style=line, linewidth=1, title="Median")
lb=plot(ul, color=red, linewidth=1, title="BB+", style=dashed)
tb=plot(ll, color=green, linewidth=1, title="BB-", style=dashed)
fill(tb,lb, silver, title="Region fill")

// Plot ATR channel
plot(basis, linewidth=2, color=navy, style=line, linewidth=2, title="Median")
ls=plot(uls, color=red, linewidth=1, title="Starc+", style=circles)
ts=plot(lls, color=green, linewidth=1, title="Star-", style=circles)
fill(ts,tb, green, title="Region fill")
fill(ls,lb, red, title="Region fill")

// Mark SQZ
sqz_f=(uls>ul) and (lls<ll)
b_color=sqz_f ? teal : na
plot(sqz_f ? lls-plot_offs_low : na, color=b_color, style=cross, linewidth=2)
plot(sqz_f ? uls+plot_offs_high : na, color=b_color, style=cross, linewidth=2)
Good day. Where can I get the COG Channel +. The indicator seems to only be working for BTC, when I use it with ALTS it gets stuck. Thanks
I use the Custom COG for all tickers. Works perfectly for my trading style. Excellent work. My portfolio is up well over 600% since Jan. by using your indicator. Can't thank you enough!
dpanday bluesqueen23
@bluesqueen23, How do you use this then? Did you automate it?
@dpanday, No, I didn't automate it. I use COG to calculate points that the stocks will trade to and bounce off of.
+4 回覆
Hi, can i use it for daily chart stock market?
thank you .
Nextmil TomTom2017
@TomTom2017, No it repaints
Why the median is set to 0? Thanks.
+1 回覆
MTF COG SQZ indicator with a function that allows a user to alternate three different time frames would be very helpful. If I see 1w 1d 4h all with Sqz indications I know its going to play out a big price move with a high probability. You can also use 5m 15m and 1h signals for confirming short burst
LazyBear QuantitativeExhaustion
I do have MTF version of SQZ. Will add it to my to-publish queue.
+1 回覆
forexopl LazyBear
Hi LazyBear,

Thanks for this indi, i am changing the offset within the settings, but it is not making any changes ? Could you please advise? Thanks!
首頁 股票篩選器 外匯篩選器 加密貨幣篩選器 全球財經日曆 節目 如何運作 圖表功能 價格 網站規則 版主 網站 & 經紀商解決方案 小工具 圖表解決方案 輕量圖表庫 幫助中心 推薦朋友 功能請求 部落格 & 新聞 常見問題 維基 推特
概述 個人資料設定 賬戶和賬單 推薦朋友 我的客服工單 幫助中心 發表的想法 粉絲 正在關注 私人訊息 在線聊天 登出