Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
Rejoignez notre page de fans
Rejoignez notre page de fans
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
- Vues:
- 20871
- Note:
- Publié:
- 2018.08.23 12:51
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Absolute Strength Histogram trend-following indicator.
The indicator displays the difference between bulls and bear power of the Absolute Strength Oscillator (ASO) indicator as a histogram
There are five inputs:
- Period - ASO calculation period
- Smoothing - ASO smoothing period
- Mode - ASO calculation mode
- RSI
- Stochastic
- Method - ASO calculation method
- Applied price - ASO calculation price
Calculation:
ASH = BullsStrength - BearsStrength
where:
BullsStrength = MA(AvgBulls, Smoothing, Method)
BearsStrength = MA(AvgBears, Smoothing, Method)
AvgBulls = MA(Bulls, Period, Method)
AvgBears = MA(Bears, Period, Method)
Bulls = Price - Min
Bears = Max - Price
Price - Applied priceMin, Max - the highest and lowest prices within the Period interval
Fig. 1. ASH mode of RSI
Fig. 2. ASH mode of Stochastic
Fig. 3. ASH + ASO
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/21429