TradingView
everget
Mar 8, 2018 6:17 PM

Sine Weighted Moving Average 

Euro Fx/U.S. DollarFXCM

Description

Sine Weighted Moving Average indicator.

The result is very similar to the Triangular Moving Average.

Release Notes

  • Add coloring
Comments
Neverstorm
Pardon me but if you use swma(src, length) for the plot doesnt swma activate a built in function instead of your equation?
everget
@Neverstorm, hi.
Nope, because I overwrite built-in name.
You can check it by renaming `swma` in script to, for example, `swma2` and plot this one with built-in `swma`
Neverstorm
@everget, Oh thanks for answering. Looks like youre correct :)
everget
@Neverstorm, no problem
More