Atb trend indikatörü
Tavsiye edilen:
atb21 ve atb55 pivotlarının çakışmasını baz almaktır. her ürünün farklı noktalarda al sat üretmeleri mümkündür kendinize göre deneyerek en uygun noktaları kullanarak işlem yapabilirsiniz.
kod:
//@version=4
////////////////////////////////////////////////////////////
// Copyright by atb v1.0 21/01/2023
////////////////////////////////////////////////////////////
study(title="atb trend", shorttitle="atb trend", overlay = true)
Length = input(21, minval=1)
xPrice = close
xvnoise = abs(xPrice - xPrice[1])
nAMA = 0.0
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]))
plot(nAMA, color=color.rgb(54, 41, 231), title="Kaufman")
atb21 = ((ema(close, 21) /4) + (sma(close, 21)/4) + (wma(close, 21)/4) + (hma(close, 21)/4) / 1)
plot(atb21, color = color.rgb(86, 86, 255), title="atb21")
atb55 = ((ema(close, 55) /4) + (sma(close, 55)/4) + (wma(close, 55)/4) + (hma(close, 55)/4) / 1)
plot(atb55, color = color.rgb(241, 0, 0), title="atb55")
atb89 = ((ema(close, 89) /4) + (sma(close, 89)/4) + (wma(close, 89)/4) + (hma(close, 89)/4) / 1)
plot(atb89, color = color.rgb(255, 127, 0), title="atb89")
atb100 = ((ema(close, 100) /4) + (sma(close, 100)/4) + (wma(close, 89)/4) + (hma(close, 100)/4) / 1)
plot(atb100, color = color.rgb(235, 15, 206), title="atb100")
atb200 = ((ema(close, 200) /4) + (sma(close, 200)/4) + (wma(close, 200)/4) + (hma(close, 200)/4) / 1)
plot(atb200, color = color.rgb(14, 13, 13), title="atb200")
İndikatör ve stratejilerin tradingview den linklerine, otomatik ekleme, favorilere alma sayfasına ulaşmak için oluşturulan bu konuyu ziyaret edebilirsiniz.
Yorum Gönder