Unisciti alla nostra fan page
- Visualizzazioni:
- 4766
- Valutazioni:
- Pubblicato:
- 2018.07.09 13:44
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
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:
where:
VC = MedianMA(Period, Method) ATR - Average True Range(Period)
If Calculation mode = ATR:
otherwise:
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/21105