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)