IvanLabrie

POC bands 2.0 and other assorted goodies

IvanLabrie Cập nhật   
I updated my old indicator that plotted a Kalman filter avg. of the bars inside a higher timeframe bar, to attempt to find the most frequent price in that bar's timespan.
It ended up being somewhat close, but not exact, but the result is that you get a pseudo-vwap without a need for volume data, that isn't cumulative and can indicate trend direction, or if the market's ranging.
This is very powerful information!

I highlight a trade setup we get here, derived from observing the indicator's slope and knowing how to read price action, assisted by rgmov and cci readings.
To get the code for the other indicator's you will have to click on share, and then on 'Make it mine' so you get the whole layout.

Good luck and hope you find these of use.
Cheers,

Ivan.
Bình luận:

A few uses...

🔒Want to dive deeper? Check out my paid services below🔒

linktr.ee/ivanlabrie
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?
study(title = "POC bands 2.0", shorttitle="POCB", overlay=true)
resCustom = input(title="Timeframe", type=resolution, defval="240")
Length = input(6, minval=1)
xPrice = security(tickerid, resCustom, hlc3)
xvnoise = abs(xPrice - xPrice[1])
nfastend = 0.666
nslowend = 0.0645
nsignal = abs(xPrice - xPrice[Length])
nnoise = sum(xvnoise, Length)
nefratio = iff(nnoise != 0, nsignal / nnoise, 0)
nsmooth = pow(nefratio * (nfastend - nslowend) + nslowend, 2) 
nAMA = nz(nAMA[1]) + nsmooth * (xPrice - nz(nAMA[1]))
basis = nAMA
atr = ema(tr,11)
upper = basis[3] + (atr*3)
lower = basis[3] - (atr*3)

plot(basis, color=blue)
plot(upper, color=blue)
plot(lower, color=blue)