正弦加权移动平均线指标是一款正弦加权移动平均线。
它有两个可配置的参数:
- Period - 计算周期
- Applied price
计算:
SineWMA = Sum / Weight
其中:
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))
由MetaQuotes Ltd译自俄语
原代码: https://www.mql5.com/ru/code/22509