Join our fan page
- Views:
- 27386
- Rating:
- Published:
- 2020.01.08 14:50
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
I use the indicator mainly in my advisors to divide the market into volatile and flat.
Recommended M5 timeframe.
The indicator is displayed by a straight line in a separate one under the window. The meaning of the display colors: Red - strong flat; Yellow is a weak flat; Blue - strong volatility; Green - weak volatility.
https://www.mql5.com/ru/code/27552
The indicator consists of the maximum range of the previous 5-bars divided by a coefficient with further smoothing. The indicator has a threshold level of volatility, and a coefficient that is regulated by external variables.
input int bar = 6; // number of bars to calculate input int koef = 50; // candle division ratio input double level = 0.75; // midline volatility level
![RSI + MOVING AVERAGE](https://c.mql5.com/i/code/indicator.png)
this is RSI indicator that has two moving average inside the window
![Pivots MT4](https://c.mql5.com/i/code/indicator.png)
Simple pivot indicator
![Safe Trend Scalp](https://c.mql5.com/i/code/expert.png)
Safe Trend Scalp is an automatic robot that trades with automatic Trend lines that ea crated with market history.
![Cross](https://c.mql5.com/i/code/expert.png)
Candle Cross above or below Conditions