Open joshuaulrich opened 9 years ago
Internal Bar Strength (IBS) is a mean-reversion indicator described in a couple posts on the QUSMA blog.
The calculation is IBS = (Close - Low) / (High - Low), which equivalent to a 1-period stochastic oscillator with no smoothing. For example:
IBS = (Close - Low) / (High - Low)
getSymbols("SPY") IBS <- (Cl(SPY)-Lo(SPY))/(Hi(SPY)-Lo(SPY)) ibs <- stoch(HLC(SPY), 1) sum(ibs$fastK - IBS, na.rm=TRUE) # 0 (or close to it)
Internal Bar Strength (IBS) is a mean-reversion indicator described in a couple posts on the QUSMA blog.
The calculation is
IBS = (Close - Low) / (High - Low)
, which equivalent to a 1-period stochastic oscillator with no smoothing. For example: