Guarda come scaricare robot di trading gratuitamente
Ci trovi su Facebook!
Unisciti alla nostra fan page
Unisciti alla nostra fan page
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
- Visualizzazioni:
- 19937
- Valutazioni:
- Pubblicato:
- 2018.08.23 12:51
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a 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
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/21429