Page 1 of 1

Sine Weighted Moving Average

PostPosted: Mon Jan 25, 2016 9:12 am
by Alexander.Gettinger
Sine Weighted Moving Average

Formula:
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)).

SineWMA_MQL.PNG


Download:
SineWMA.mq4
(1.94 KiB) Downloaded 1091 times