Page 1 of 1

Sine-Weighted Moving Average

PostPosted: Thu Jul 11, 2013 6:30 am
by Apprentice
swma.png

SineWMA[i]=Sum/Weight, where
Sum=Price[i-N+1]*sin(PI*(N)/(N+1))+Price[i-N+2]*sin(PI*(N-1)/(N+1))+…+Price[i]*sin(PI*1/(N+1))
Weight= sin(PI*(N)/(N+1))+ sin(PI*(N-1)/(N+1))+…+ sin(PI*1/(N+1)).
SWMA.lua
(2.4 KiB) Downloaded 770 times

Re: Sine-Weighted Moving Average

PostPosted: Thu Aug 29, 2013 11:10 am
by Alexander.Gettinger
MQL4 version of Sine-Weighted Moving Average: http://www.fxcodebase.com/code/viewtopi ... 38&t=59353.

Re: Sine-Weighted Moving Average

PostPosted: Fri Jun 22, 2018 8:28 am
by Apprentice
The indicator was revised and updated.