Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | Bollinger_Bandwidth_Delta

Bollinger Bandwidth Delta oscillator displays a relative width of Bollinger Bands for a specified period of time.

There are five inputs:

  • BB period - Bollinger Bands calculation period
  • BB deviation - Bollinger Bands deviation value
  • Delta period - indicator calculation period
  • Applied price
  • Show data in percentage - display calculated correlation of the bands width in % (Yes/No)

Calculation:

  • In %:
    BBD = 100.0 * (Bandwidth-DeltaBandwidth) / DeltaBandwidth
  • In points:
    BBD = (Bandwidth-DeltaBandwidth) / Points  

where:

Bandwidth = 2.0 * BB deviation * StdDev/MA DeltaBandwidth - Bandwidth Delta value 'period' bars ago StdDev - Standard Deviation(Applied price,BB period) MA = SMA(Applied price,BB period)

MetaTrader Experts, Indicators, Scripts and Libraries

Fig. 1. Bollinger Bandwidth Delta in points

MetaTrader Experts, Indicators, Scripts and Libraries

Fig. 2. Bollinger Bandwidth Delta in %

22342