Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 5245
- Rating:
- Published:
- 2018.12.18 19:15
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Sine Weighted Moving Average indicator is a sine-weighted moving average.
It has two configurable parameters:
- Period - calculation period
- Applied price
Calculation:
SineWMA = 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))
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/22509

Normalized Moving Average Slope indicator

MACD Flat Trend indicator