Rejoignez notre page de fans
Better_Bollinger_Band - indicateur pour MetaTrader 5
- Vues:
- 5273
- Note:
- Publié:
- 2018.10.25 15:33
- Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Better Bollinger Band is a Bollinger Band with improved bands calculation.
The October 1998 issue of Futures features the article "Better Bollinger Bands" by Dennis McNicholl, in which the author recommends improving BB by modifying:
- center line equations
- another equation for calculating the bands.
These bands called DEnvelope with the proposed changes follow the price more accurately and respond to volatility changes faster.
The indicator has two input parameters:
- Period - calculation period
- Deviation - deviation value
Calculation:
Central = ((2.0-Alpha) * MT - UT) / (1.0-Alpha) Top = Central + Deviation * DT2 Bottom[i] = Central[i]-Deviation * DT2
where:
MT = Alpha * Median+(1.0-Alpha) * PrevMT UT = Alpha * MT+(1.0-Alpha) * PrevUT Median = (High+Low) / 2.0 DT2 = ((2.0-Alpha) * MT2-UT2) / (1.0-Alpha) MT2 = Alpha * Abs(Median-Central) + (1.0-Alpha) * PrevMT2 UT2 = Alpha * MT2+(1.0-Alpha) * PrevUT2 Alpha = 2.0 / (1.0+Period)
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/22078
Double smoothed MACD Stochastic indicator
Fractal_Bar_IndicatorFractal bar indicator