UnknownUnicorn12070690

WDAHA-My Indicator Script

BITSTAMP:BTCUSD   Bitcoin
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)




Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.