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)




Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.