Rejoignez notre page de fans
- Vues:
- 5846
- Note:
- Publié:
- 2018.06.14 13:31
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
RSI Candles (RSI that calculates RSI of High, Low, Open and Close and displays those values as candles) with an addition of Trend Envelopes.
This version is having an additional option to filter (smooth) the prices prior to using them in RSI calculation (which, effectively makes it an RSI of average). The averages that can be used in smoothing/filtering are SMA, EMA, SMMA and LWMA. If you wish to avoid price smoothing/filtering, simple set the smoothing period to less than or equal to 1 and the, regardless of the smoothing type, there shall be no smoothing/filtering.
Since the Trend Envelopes are used on the set of Open, High, Low and Close price it only seems logical that it can be applied to this type of indicator (that has the equivalent of all those prices). Results are logical and adding Trend Envelopes to such an RSI seems to be helping in assessing trend based on RSI candles indicator. Some experimenting is advised before using it in live trading.
![Historical Volatility Bands](https://c.mql5.com/i/code/indicator.png)
Historical Volatility Bands constructed using average as the middle line, and upper and lower bands using the Historical Volatility for bands calculation.
![Historical Volatility - High/Low](https://c.mql5.com/i/code/indicator.png)
This version also does not use Close prices for volatility calculation. Instead it uses the High/Low ratio (the calculation is different from the "regular" Historical Volatility indicator).
![Historical Volatility Bands - High/Low](https://c.mql5.com/i/code/indicator.png)
Historical Volatility bands constructed using average as the middle line, and upper and lower bands using the Historical Volatility high/low (instead of "regular" Historical Volatility) for bands calculation.
![Quadratic Regression MA](https://c.mql5.com/i/code/indicator.png)
Quadratic Regression MA is a sort of a linear regression value variation, but faster in response to market changes.