UnknownUnicorn12070690

WDAHA-My Indicator Script

BITSTAMP:BTCUSD   比特币
Hey I have created a indicator script that you can use, I can't publish it on the free version so I will post it here!
WDAHA (weighted day and half average) which is the average of 1+1/2 or 1.5 candles, simple logic.
Type this into pine editor on tradingview and add to chart to try it. Works better on higher time frames. If you get an error just message me I can try to help fix it. Also bring it to top of visual to see it ontop of the candles (visual order -> bring to front).

//@version=4
study(title="Weighted Moving Average", shorttitle="WDAHA", overlay=true, resolution="")
len = input(1, minval=1, title="Length")
src = input(close, title="Source")
len2 = input(2,minval=1, title="Length")
src2 = input(close, title="Source")
offset = input(title="Offset", type=input.integer, defval=0, minval=-500, maxval=500)
out= (wma(src, len) + wma(src2,len2))/2.0
plot(out, color=color.white, title="WMA", offset=offset)




免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。