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:
- 4838
- Note:
- Publié:
- 2018.07.09 12:54
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Informational indicator. It displays a histogram in different colors, depending on the ratio between the candlestick prices and the moving average.
There are three adjustable parameters:
- MA Period - MA calculation period;
- MA Method - Moving Average calculation method;
- Applied price - price used for calculations.
Calculation:
If Low > MA: MA > PrevMA = color 1 MA < PrevMA = color 2 If High < MA: MA < PrevMA = color 3 MA > PrevMA = color 4
Otherwise = color 5
where:
MA is the moving average with the Period, by Method, and at Applied price PrevMA - moving average on the previous bar
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/21036