Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Rejoignez notre page de fans
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
- Vues:
- 9438
- Note:
- Publié:
- 2018.11.20 12:53
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Trend indicator. The indicator displays the lines and compares direction of two moving averages: Moving Average and Slope Direction Line. If the indicator lines coincide, the price chart displays colored candles.
It has six input parameters:
- MA period - Moving Average calculation period
- MA method - Moving Average calculation method
- MA applied price - Moving Average calculation price
- SDL period - Slope Direction Line calculation period
- SDL method - Slope Direction Line calculation method
- SDL applied price - Slope Direction Line calculation price
- If Moving Average and Slope Direction Line are directed upwards:
- If the candle is bullish, it is colored in green.
- If the candle is bearish, it is colored in light-green
- If Moving Average and Slope Direction Line are directed downwards:
- If the candle is bearish, it is colored in red.
- If the candle is bullish, it is colored in light-red
- In any other case, colored candles are not drawn.
Slope Direction Line indicator is not required - it is calculated by the indicator independently.
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/22945
![Slope_Direction_Line_Bar](https://c.mql5.com/i/code/indicator.png)
Slope Direction Line / Moving Average confirmation bars indicator
![VGridLine_Custom](https://c.mql5.com/i/code/indicator.png)
The indicator plots one vertical line per day in a specified moment of time
![Moving Average applied price](https://c.mql5.com/i/code/indicator.png)
Now you can test the indicator and select the price type from the ENUM_APPLIED_PRICE enumeration
![Mean_Indicator](https://c.mql5.com/i/code/indicator.png)
Mean Indicator indicator