Rejoignez notre page de fans
- Publié par:
- Mladen Rakic
- Vues:
- 6899
- Note:
- Publié:
- 2018.02.01 11:42
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
RSI that can use 4 different types of averages for RSI calculation was originally developed for MetaTrader 4 by Igor Durkin ( (originally posted here: https://www.mql5.com/en/forum/175870).
...
So-called normal RSI uses EMA smoothing with period = 2*Length-1 (or Wilder's smoothing with period=Length).
I've developed RSI indicator with my algorithm of calculation.
Now you can use any values for length and any kinds of smoothing.
...
This version can use up to 2 Moving Averages applied to that RSI in order to filter out some false signals (when RSI is used in combination with levels crosses). In this version you can use smoothed values of the RSI for signals. To set any of the averages off, set the average period to less than or equal to 0.
Recommendations
- Use some short period for fast period (default is 2) to help filtering out some of the RSI sudden value and direction changes.
- Use some longer period for slow period (default is 8).
- Try using the crosses of the averages as signals.
![Rsi(var)](https://c.mql5.com/i/code/indicator.png)
RSI variation.
![Reduce_risks](https://c.mql5.com/i/code/expert.png)
This is an MQL5 version of the Expert Advisor described in the article "How to reduce trader's risks" (https://www.mql5.com/en/articles/4233).
![HOPS and LOPS](https://c.mql5.com/i/code/indicator.png)
HOPS and LOPS indicator. The "HOPS" and "LOPS" stand for High Of the Previous Session and Low Of the Previous Sessions.
![ATR Probability Levels](https://c.mql5.com/i/code/indicator.png)
Probability levels based on ATR. "Probability" is calculated based on the projected Average True Range and previous period Close.