In this chart we can see an adaptation I made of an indicator a certain fellow named nanningbob uses in one of his trading systems.
It's a great thing to have, since Forex pairs are mostly ranging markets. It captures price movement very well, and gives realistic take profit levels, without having to risk major drawdown if used wisely.

Hope you like it and find it useful.

*Props to ucsgears for the original code I modified.

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

ivanlabrie.substack.com/
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?
study(title="WMA Bands", shorttitle="WMAB", overlay=true)
source = close
length = input(240, minval=1, title = "WMA Length")
atrlen = input(500, minval=1, title = "ATR Length")
mult1 = 3.2
mult2 = 6.4
mult3 = 9.5
ma = wma(source, length)
range =  tr
rangewma = wma(range, atrlen)

up1 = ma + rangewma * mult1
up2 = ma + rangewma * mult2
up3 = ma + rangewma * mult3

dn1 = ma - rangewma * mult1
dn2 = ma - rangewma * mult2
dn3 = ma - rangewma * mult3

plot(ma, color=black)

color1 = silver
color2 = red
color3 = maroon

up01 = plot(up1, color = color1)
up02 = plot(up2, color = color2)
up03 = plot(up3, color = color3)

dn01 = plot(dn1, color = color1)
dn02 = plot(dn2, color = color2)
dn03 = plot(dn3, color = color3)