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