n
periods. Developed by Tushar Chande in 1995.aroon(HL, n=20)
HL
or a matrix (if try.xts
fails) containing the columns:aroonUp - aroonDn
).n
periods. If today's price is a new high (low)
Aroon up (down) will be 100. Each subsequent period without another new high (low) causes
Aroon up (down) to decrease by (1 / n
) x 100.CCI
, ADX
, TDI
,
VHF
, GMMA
for other indicators that measure trend direction/strength.## Get Data and Indicator ##
data(ttrc)
trend <- aroon( ttrc[,c("High", "Low")], n=20 )
Run the code above in your browser using DataLab