Join our fan page
Deviation_Oscillator - indicator for MetaTrader 5
- Views:
- 3782
- Rating:
- Published:
- 2018.09.27 15:32
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Deviation Oscillator - a volatility oscillator which represents a difference between the price and the MA, normalized within the selected range.
There are four input parameters:
- MA period - MA period;
- Min/Max period - the range of values for normalization;
- Method - calculation method;
- Applied price - price used for calculations.
Calculations:
DO = nf * (PD - Min) - 100.0
where:
PD = Applied price - MA(Applied price, MA period, Method) nf = 200.0 / (Max-Min)
- Max, Min - the maximum and minimum PD values in the 'Min/Max period' range.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21713
The Delta Oscillator indicator displays the difference in the Delta indicator lines as a histogram.
DeltaThe Delta indicator draws two lines: the bar average price line (OHLC)/4 and the line of the decimal logarithm of the current to previous (OHLC)/4 prices ratio.
The DHLBO (Dynamic High/Low Band Overlay) indicator shows on the price chart two bands calculated based on the range Highs/Lows.
DHLPBOThe indicator DHLPBO (Dynamic High/Low Percentage Band Overlay). Unlike DHLBO, which displays two bands calculated based on the Highs/Lows of the range, this indicator constantly narrows the channel width by a certain percentage throughout the whole range.