Rejoignez notre page de fans
- Vues:
- 6554
- Note:
- Publié:
- 2015.01.23 11:15
- Mise à jour:
- 2023.03.29 13:45
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Real author:
Ivan Kornilov
RegressionPolynomial is a trend indicator calculating values of polynomial regression on each bar.
Optimized methods of calculation are used for the first and the second degrees, QRMA, described here, is of special interest. Well known formula 3 * LWMA - 2 * SMA is used for the first degree. The code also has a function calculating QWMA of more sensitive moving than LWMA.
The indicator uses SmoothAlgorithms.mqh library classes (must be copied to the terminal_data_folder\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".
This indicator was first implemented in MQL4 and published in CodeBase on April 27, 2012.
Fig.1. RegressionPolynomial Indicator
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/11388
![BnB_HTF](https://c.mql5.com/i/code/indicator.png)
The BnB indicator with the timeframe selection option available in input parameters.
![BoDi_HTF](https://c.mql5.com/i/code/indicator.png)
The BoDi indicator with the timeframe selection option available in input parameters.
![XVolume](https://c.mql5.com/i/code/indicator.png)
Volume indicator.
![XVolume_HTF](https://c.mql5.com/i/code/indicator.png)
The XVolume indicator with the timeframe selection option available in input parameters.