Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 21100
- Rating:
- Published:
- 2018.08.23 12:51
-
Need a robot or indicator based on this code? Order it on Freelance Go to 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
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21429