PureBytes Links
Trading Reference Links
|
Try this version! I have not tested it yet.
{true strength index by Blau}
Inputs:Price(close),rlength(25),slength(13);
var:TSI(0);
value1 = close - close[1];
value2 = xaverage(xaverage(value1, rlength), slength);
value3 = xaverage(xaverage(absvalue(value1), rlength), slength);
if value3 > 0 then TSI = 100*value2/value3 else TSI = 0;
plot1(TSI);
--
Best regards,
Ernie mailto:ebonugli@xxxxxxxx
|