Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | LWMA_MA

LWMA/SMA ratio oscillator is a colored histogram defining the difference between two moving averages - a simple and a linear-weighted one.

It has one input parameter:

  • Period - calculation period

Calculations:

DMA = (LWMA / SMA)-1.0

where:

LWMA - linear-weighted МА with a Period value
SMA - simple МА with a Period value

MetaTrader Experts, Indicators, Scripts and Libraries

22799