Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

Indicators

CVI - indicator for MetaTrader 5

Scriptor | English Русский 中文 Deutsch

Views:
77
Rating:
votes: 5
Published:
2018.07.09 13:44
CVI.mq5 (8.82 KB)view

Oscillator CVI (Chartmill Value Indicator) was described by Dirk Vandycke in the Technical Analysis of Stocks & Commodities magazine in January, 2013.

CVI represents a standard deviation from moving average and can be applied to any price series over any period.

The concept is simple. As prices grow, they will finally move away from the moving average. At the end, the moving average will also start growing. When prices start flatting out or consolidating, the gap between the prices and the moving average will start decrease, while the MA will continue moving inertially for some time.

As compared to other oscillators, the indicator displays overbought/oversold areas more efficiently, since the gap between the price and the MA is divided by the average true range, which strongly hardens deviating from the moving average on longer trend-following areas.

The indicator has three configured parameters:

  • Period - calculation period;
  • Method - Moving Average calculation method;
  • Calculation mode - deviation calculation mode:
    • ATR - by ATR;
    • Sqrt ATR - by square root of ATR.

Calculation:

CVI = (Close-VC) / ATR * Mode

where:

VC = MedianMA(Period, Method)
ATR - Average True Range(Period)

If Calculation mode = ATR:

Mode = Period

otherwise:

Mode = SQRT(Period)

Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/21105

APZ APZ

Indicator APZ (Adaptive Price Zone) represents an adaptive price channel.

AML AML

Indicator AML (Adaptive Market Level) displays one of three market states: Flat, uptrend, and downtrend.

IMI IMI

Indicator Intraday Momentum Index.

NV NV

NV (Natenberg's Volatility) - Sheldon Natenberg's historical volatility indicator.