New version 17 available now


Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

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
Gold Customer Gold Customer

Joined: 7/29/2010
Posts: 386

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: 60,346

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.

Anyway, please try the following.

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
Gold Customer Gold Customer

Joined: 7/29/2010
Posts: 386

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: 60,346

You're welcome.



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

Forum Jump
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.