PureBytes Links
Trading Reference Links
|
Does anyone have TS2K code for the True Strength Index, as described in
the September issue of Active Trader Magazine?
The code as presented in the article is:
TSI(close,r,s) = 100*EMA(EMA(mtm,r),s)/EMA(EMA(|mtm|,r),s)
where mtm = closetoday - closeyesterday
EMA(mtm,r) = exponential moving average of mtm with period length = r
EMA(EMA(mtm,r),s) = exponential moving average of EMA(mtm,r)
with period length = s
|mtm| = absolute value of mtm
r = 25, s = 13
Thanks in advance.
Mike
|