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에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.