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
Indicators

VolatilityMA - indicator for MetaTrader 5

Views:
3188
Rating:
(10)
Published:
2018.07.09 11:06
VolatilityMA.mq5 (11.23 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The indicator represents a moving average that resets its calculation period, as soon as the current standard deviation exceeds the previous one twice or more when the bar is closing.

It is useful for detecting the trade direction.

There are three adjustable parameters:

  • Period - calculation period
  • Barrier - if this barrier is exceeded, the period calculation is reset to the minimum
  • Applied price - calculation price

VolMA = SMA(Price, Length)

where:

Price = Applied price PrevPrice = previous Applied price

If Abs(sDevNow) > Barrier Length = 1 otherwise Length = PrevLength+1

sDevNow = RAW / Price * sDev sDev = SQRT(VAR / Period)

VAR = POW(RAW[Period] + RawAVG

RAW = (Price - PrevPrice) / Price RawAVG = SMA(RAW, Period)

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

TCI V2 TCI V2

Indicator Trend Confirmation Index

Speed_of_trade Speed_of_trade

Indicator Speed of Trade

WAMI WAMI

A.W. Warren's Momentum Indicator

CADX CADX

An indicator of relative trend strength.