Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
4533
Rating:
(9)
Published:
2018.12.18 19:15
SineWMA.mq5 (7.86 KB) view
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

Smoothed_RSI Smoothed_RSI

Smoothed RSI indicator

SRSI SRSI

Slow RSI indicator

Normalized_Moving_Average_Slope Normalized_Moving_Average_Slope

Normalized Moving Average Slope indicator

MACD_Flat_Trend MACD_Flat_Trend

MACD Flat Trend indicator