Watch how to download trading robots for free
Find us on Facebook!
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:
219
Rating:
(1)
Published:
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

One of the main drawbacks of the simple moving average (SMA) is that it lags behind market trends. To reduce this lag, the average rate of price movement can be taken into account. The proposed indicator incorporates three different algorithms for measuring price. The central velocity provides a smoother value.

Forward velocity is measured relative to the current bar. This makes the indicator more sensitive to recent price changes.

Backward velocity is measured relative to the initial bar, which allows the history of price movements to be taken into account.

Using any of the three options reduces lag. As a result, this indicator can be used as a replacement for the standard SMA.

Indicator parameters:

  • Type – a parameter allowing you to select the type of velocity measurement.
  • iPeriod – the indicator’s period.

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

MA Gauge Pro - AKM MA Gauge Pro - AKM

Dynamic approach vastly outperforms relying on a single MA.

Aegis Quantum Lite Aegis Quantum Lite

Educational MT5 Expert Advisor using completed-candle EMA 9/21 alignment and RSI 14 filtering, with fixed-lot execution and a compact black-and-gold dashboard.

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

MACD Signals MACD Signals

Indicator edition for new platform.