## New version 18 available now

Subscription & data-feed pricing Class schedule

Margin rates Stock & option commissions

 PCF for TSI 3,9 rising Rate this Topic:
 Previous Topic · Next Topic Watch this topic · Print this topic ·
donv98
 Posted : Thursday, September 07, 2017 2:25:53 PM
Registered User
Joined: 7/29/2010
Posts: 398

Bruce,

In your template for TSI, there is no mention of referencing previous bars unlike almost every other indicator.

Is this just an oversight or the unfortunate reality?

Also, please create a pcf for TSI 3,9 rising if that is possible.

Many thanks,

Don

# True Strength Index (TSI)

This is the same as the SMI Ergodic Indicator.

## Template (v17+)

XAVG(XAVG(C - C1, s), l) / XAVG(XAVG(ABS(C - C1), s), l)

Where s is the short period.
Where l is the long period.

## Example

The following is the formula for a TSI3,9.

XAVG(XAVG(C - C1, 3), 9) / XAVG(XAVG(ABS(C - C1), 3), 9)

Bruce_L
 Posted : Thursday, September 07, 2017 2:35:34 PM

Worden Trainer

Joined: 10/7/2004
Posts: 63,005

It is primarily because of the instances of C - C1 in the fomula. You could do this as:

`XAVG(XAVG(Cz - Cy, s), l) / XAVG(XAVG(ABS(Cz - Cy), s), l)`

Where `s` the short period.
Where l is the long period.
Where `z` is the bars ago parameter.
Where `y` is `z` + 1.

But that seems a bit awkward when you aren't going to be using a bars ago parameter most of the time.

`XAVG(XAVG(C - C1, 3), 9) / XAVG(XAVG(ABS(C - C1), 3), 9) > XAVG(XAVG(C1 - C2, 3), 9) / XAVG(XAVG(ABS(C1 - C2), 3), 9)`

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
donv98
 Posted : Friday, September 08, 2017 2:15:09 PM
Registered User
Joined: 7/29/2010
Posts: 398

Bruce,

Many thanks for this. It is quite straight forward.

Don

Bruce_L
 Posted : Friday, September 08, 2017 2:18:50 PM

Worden Trainer

Joined: 10/7/2004
Posts: 63,005

You're welcome.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

 Forum Jump Customer Training & Support - Ask a Trainer - TC2000 version 12/18 - Ask a Trainer - TC2000 version 7 - Ask a Trainer - StockFinder 5.0 - PCFs, EasyScan and Custom Indicators General Discussions - Stock and Market Talk - TC2000 version 12 or 18 - TC2000 version 7 - StockFinder 5.0 - RealCode for StockFinder 5.0 Tutorial Videos - TC2000 version 12 tutorial videos - TC2000 version 7 tutorial videos You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot delete your posts in this forum. You cannot edit your posts in this forum. You cannot create polls in this forum. You cannot vote in polls in this forum.