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:
3149
Rating:
(8)
Published:
2018.08.23 12:44
PWMA.mq5 (7.79 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Power weighted moving average.

The indicator has three input parameters:

  • Period - calculation period
  • Power
  • Applied price

Calculation:

PWMA = SUM(Applied price(i) * (i^Power), Period) / SUM(i^Power, Period)

If Power is 1, МА is identical to LWMA


Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21415

Period_Extreme Period_Extreme

Period Extreme signal indicator

MA_Oscillator MA_Oscillator

МА as an oscillator

SuperTrend_Dot SuperTrend_Dot

SuperTrend Dot indicator

Trend_ID Trend_ID

Trend identifier indicator