Untitled
unknown
plain_text
24 days ago
377 B
4
Indexable
//@version=2
study(title="FXLIONS MA Trigger", overlay=true)
func_hma(style, length)=>
return = wma((2 * wma(style, length / 2)) - wma(style, length), round(sqrt(length)))
shortPeriod = input(100, title="HMA")
shortHMA = func_hma(close, shortPeriod)
current = shortHMA[0]
prev = shortHMA[1]
plot(shortHMA, color=current > prev ? green : red, linewidth=2, title="HMA")Editor is loading...
Leave a Comment