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


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Pring's KST indicator Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
jaybird1
Posted : Friday, July 15, 2005 9:20:05 AM
Registered User
Joined: 2/12/2005
Posts: 28
Do you know how to write a formula for Pring's KST indicator in worden's custom indicator?
Craig_S
Posted : Friday, July 15, 2005 10:15:59 AM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
We found the formula for the indicator. We are looking into it now. Tune back here to see what we come up with.

- Craig
Here to Help!
Bruce_L
Posted : Saturday, July 16, 2005 5:13:31 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Simple v18:

10 * (AVG(C / C10, 10) + 2 * AVG(C / C15, 10) + 3 * AVG(C / C20, 10) + 4 * AVG(C / C30, 15) - 10)

Exponential v18:

10 * (XAVG(C / C10, 10) + 2 * XAVG(C / C15, 10) + 3 * XAVG(C / C20, 10) + 4 * XAVG(C / C30, 15) - 10)

Daily KST Simple Moving Average or 10/15-Minute Bar Short-term KST:
((C / C10 + C1 / C11 + C2 / C12 + C3 / C13 + C4 / C14 + C5 / C15 + C6 / C16 + C7 / C17 + C8 / C18 + C9 / C19) * 30 + (C / C15 + C1 / C16 + C2 / C17 + C3 / C18 + C4 / C19 + C5 / C20 + C6 / C21 + C7 / C22 + C8 / C23 + C9 / C24) * 60 + (C / C20 + C1 / C21 + C2 / C22 + C3 / C23 + C4 / C24 + C5 / C25 + C6 / C26 + C7 / C27 + C8 / C28 + C9 / C29) * 90 + (C / C30 + C1 / C31 + C2 / C32 + C3 / C33 + C4 / C34 + C5 / C35 + C6 / C36 + C7 / C37 + C8 / C38 + C9 / C39 + C10 / C40 + C11 / C41 + C12 / C42 + C13 / C43 + C14 / C44) * 80) / 3 - 1000

The formula is based on a 10-Period Simple Moving Average of a 10-Period Price Percent Change plus two times a 10-Period SMA of a 15-Period PPC plus three times a 10-Period SMA of a 20-Period PPC plus four times a 15-Period SMA of a 30-Period PPC.

I am also providing an Exponential version with the same Moving Average and Price Percent Change Periods:

Warning: This formula is long enough that using it as a Custom Indicator causes a short delay when switching charts on my system.

18.3635802753612 * (C / C10 + 9 / 11 * (C1 / C11 + 9 / 11 * (C2 / C12 + 9 / 11 * (C3 / C13 + 9 / 11 * (C4 / C14 + 9 / 11 * (C5 / C15 + 9 / 11 * (C6 / C16 + 9 / 11 * (C7 / C17 + 9 / 11 * (C8 / C18 + 9 / 11 * (C9 / C19 + 9 / 11 * (C10 / C20 + 9 / 11 * (C11 / C21 + 9 / 11 * (C12 / C22 + 9 / 11 * (C13 / C23 + 9 / 11 * (C14 / C24 + 9 / 11 * (C15 / C25 + 9 / 11 * (C16 / C26 + 9 / 11 * (C17 / C27 + 9 / 11 * (C18 / C28 + 9 / 11 * (C19 / C29 + 9 / 11 * (C20 / C30 + 9 / 11 * (C21 / C31 + 9 / 11 * (C22 / C32))))))))))))))))))))))) + 36.7271605507224 * (C / C15 + 9 / 11 * (C1 / C16 + 9 / 11 * (C2 / C17 + 9 / 11 * (C3 / C18 + 9 / 11 * (C4 / C19 + 9 / 11 * (C5 / C20 + 9 / 11 * (C6 / C21 + 9 / 11 * (C7 / C22 + 9 / 11 * (C8 / C23 + 9 / 11 * (C9 / C24 + 9 / 11 * (C10 / C25 + 9 / 11 * (C11 / C26 + 9 / 11 * (C12 / C27 + 9 / 11 * (C13 / C28 + 9 / 11 * (C14 / C29 + 9 / 11 * (C15 / C30 + 9 / 11 * (C16 / C31 + 9 / 11 * (C17 / C32 + 9 / 11 * (C18 / C33 + 9 / 11 * (C19 / C34 + 9 / 11 * (C20 / C35 + 9 / 11 * (C21 / C36 + 9 / 11 * (C22 / C37))))))))))))))))))))))) + 55.0907408260836 * (C / C20 + 9 / 11 * (C1 / C21 + 9 / 11 * (C2 / C22 + 9 / 11 * (C3 / C23 + 9 / 11 * (C4 / C24 + 9 / 11 * (C5 / C25 + 9 / 11 * (C6 / C26 + 9 / 11 * (C7 / C27 + 9 / 11 * (C8 / C28 + 9 / 11 * (C9 / C29 + 9 / 11 * (C10 / C30 + 9 / 11 * (C11 / C31 + 9 / 11 * (C12 / C32 + 9 / 11 * (C13 / C33 + 9 / 11 * (C14 / C34 + 9 / 11 * (C15 / C35 + 9 / 11 * (C16 / C36 + 9 / 11 * (C17 / C37 + 9 / 11 * (C18 / C38 + 9 / 11 * (C19 / C39 + 9 / 11 * (C20 / C40 + 9 / 11 * (C21 / C41 + 9 / 11 * (C22 / C42))))))))))))))))))))))) + 50.4713316670116 * (C / C30 + .875 * (C1 / C31 + .875 * (C2 / C32 + .875 * (C3 / C33 + .875 * (C4 / C34 + .875 * (C5 / C35 + .875 * (C6 / C36 + .875 * (C7 / C37 + .875 * (C8 / C38 + .875 * (C9 / C39 + .875 * (C10 / C40 + .875 * (C11 / C41 + .875 * (C12 / C42 + .875 * (C13 / C43 + .875 * (C14 / C44 + .875 * (C15 / C45 + .875 * (C16 / C46 + .875 * (C17 / C47 + .875 * (C18 / C48 + .875 * (C19 / C49 + .875 * (C20 / C50 + .875 * (C21 / C51 + .875 * (C22 / C52 + .875 * (C23 / C53 + .875 * (C24 / C54 + .875 * (C25 / C55 + .875 * (C26 / C56 + .875 * (C27 / C57 + .875 * (C28 / C58 + .875 * (C29 / C59 + .875 * (C30 / C60 + .875 * (C31 / C61 + .875 * (C32 / C62 + .875 * (C33 / C63 + .875 * (C34 / C64))))))))))))))))))))))))))))))))))) - 1000



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Bruce_L
Posted : Monday, July 18, 2005 10:15:57 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Simple v18:

10 * (AVG(C / C10, 10) + 2 * AVG(C / C13, 13) + 3 * AVG(C / C15, 15) + 4 * AVG(C / C20, 20) - 10)

Exponential v18:

10 * (XAVG(C / C10, 10) + 2 * XAVG(C / C13, 13) + 3 * XAVG(C / C15, 15) + 4 * XAVG(C / C20, 20) - 10)

Intermediate KST Simple Moving Average:
((C / C10 + C1 / C11 + C2 / C12 + C3 / C13 + C4 / C14 + C5 / C15 + C6 / C16 + C7 / C17 + C8 / C18 + C9 / C19) * 130 + (C / C13 + C1 / C14 + C2 / C15 + C3 / C16 + C4 / C17 + C5 / C18 + C6 / C19 + C7 / C20 + C8 / C21 + C9 / C22 + C10 / C23 + C11 / C24 + C12 / C25) * 200 + (C / C15 + C1 / C16 + C2 / C17 + C3 / C18 + C4 / C19 + C5 / C20 + C6 / C21 + C7 / C22 + C8 / C23 + C9 / C24 + C10 / C25 + C11 / C26 + C12 / C27 + C13 / C28 + C14 / C29) * 260 + (C / C20 + C1 / C21 + C2 / C22 + C3 / C23 + C4 / C24 + C5 / C25 + C6 / C26 + C7 / C27 + C8 / C28 + C9 / C29 + C10 / C30 + C11 / C31 + C12 / C32 + C13 / C33 + C14 / C34 + C15 / C35 + C16 / C36 + C17 / C37 + C18 / C38 + C19 / C39) * 260) / 13 - 1000

The formula is based on a 10-Period Simple Moving Average of a 10-Period Price Percent Change plus two times a 13-Period SMA of a 13-Period PPC plus three times a 15-Period SMA of a 15-Period PPC plus four times a 20-Period SMA of a 20-Period PPC.

Intermediate KST Exponential Moving Average:

Warning: This formula is long enough that using it as a Custom Indicator causes a short delay when switching charts on my system.

18.3635802753612 * (C / C10 + 9 / 11 * (C1 / C11 + 9 / 11 * (C2 / C12 + 9 / 11 * (C3 / C13 + 9 / 11 * (C4 / C14 + 9 / 11 * (C5 / C15 + 9 / 11 * (C6 / C16 + 9 / 11 * (C7 / C17 + 9 / 11 * (C8 / C18 + 9 / 11 * (C9 / C19 + 9 / 11 * (C10 / C20 + 9 / 11 * (C11 / C21 + 9 / 11 * (C12 / C22 + 9 / 11 * (C13 / C23 + 9 / 11 * (C14 / C24 + 9 / 11 * (C15 / C25 + 9 / 11 * (C16 / C26 + 9 / 11 * (C17 / C27 + 9 / 11 * (C18 / C28 + 9 / 11 * (C19 / C29 + 9 / 11 * (C20 / C30 + 9 / 11 * (C21 / C31 + 9 / 11 * (C22 / C32))))))))))))))))))))))) + 28.8544432823975 * (C / C13 + 6 / 7 * (C1 / C14 + 6 / 7 * (C2 / C15 + 6 / 7 * (C3 / C16 + 6 / 7 * (C4 / C17 + 6 / 7 * (C5 / C18 + 6 / 7 * (C6 / C19 + 6 / 7 * (C7 / C20 + 6 / 7 * (C8 / C21 + 6 / 7 * (C9 / C22 + 6 / 7 * (C10 / C23 + 6 / 7 * (C11 / C24 + 6 / 7 * (C12 / C25 + 6 / 7 * (C13 / C26 + 6 / 7 * (C14 / C27 + 6 / 7 * (C15 / C28 + 6 / 7 * (C16 / C29 + 6 / 7 * (C17 / C30 + 6 / 7 * (C18 / C31 + 6 / 7 * (C19 / C32 + 6 / 7 * (C20 / C33 + 6 / 7 * (C21 / C34 + 6 / 7 * (C22 / C35 + 6 / 7 * (C23 / C36 + 6 / 7 * (C24 / C37 + 6 / 7 * (C25 / C38 + 6 / 7 * (C26 / C39 + 6 / 7 * (C27 / C40 + 6 / 7 * (C28 / C41 + 6 / 7 * (C29 / C42)))))))))))))))))))))))))))))) + 37.8534987502587 * (C / C15 + .875 * (C1 / C16 + .875 * (C2 / C17 + .875 * (C3 / C18 + .875 * (C4 / C19 + .875 * (C5 / C20 + .875 * (C6 / C21 + .875 * (C7 / C22 + .875 * (C8 / C23 + .875 * (C9 / C24 + .875 * (C10 / C25 + .875 * (C11 / C26 + .875 * (C12 / C27 + .875 * (C13 / C28 + .875 * (C14 / C29 + .875 * (C15 / C30 + .875 * (C16 / C31 + .875 * (C17 / C32 + .875 * (C18 / C33 + .875 * (C19 / C34 + .875 * (C20 / C35 + .875 * (C21 / C36 + .875 * (C22 / C37 + .875 * (C23 / C38 + .875 * (C24 / C39 + .875 * (C25 / C40 + .875 * (C26 / C41 + .875 * (C27 / C42 + .875 * (C28 / C43 + .875 * (C29 / C44 + .875 * (C30 / C45 + .875 * (C31 / C46 + .875 * (C32 / C47 + .875 * (C33 / C48 + .875 * (C34 / C49))))))))))))))))))))))))))))))))))) + 38.4435237448891 * (C / C20 + 19 / 21 * (C1 / C21 + 19 / 21 * (C2 / C22 + 19 / 21 * (C3 / C23 + 19 / 21 * (C4 / C24 + 19 / 21 * (C5 / C25 + 19 / 21 * (C6 / C26 + 19 / 21 * (C7 / C27 + 19 / 21 * (C8 / C28 + 19 / 21 * (C9 / C29 + 19 / 21 * (C10 / C30 + 19 / 21 * (C11 / C31 + 19 / 21 * (C12 / C32 + 19 / 21 * (C13 / C33 + 19 / 21 * (C14 / C34 + 19 / 21 * (C15 / C35 + 19 / 21 * (C16 / C36 + 19 / 21 * (C17 / C37 + 19 / 21 * (C18 / C38 + 19 / 21 * (C19 / C39 + 19 / 21 * (C20 / C40 + 19 / 21 * (C21 / C41 + 19 / 21 * (C22 / C42 + 19 / 21 * (C23 / C43 + 19 / 21 * (C24 / C44 + 19 / 21 * (C25 / C45 + 19 / 21 * (C26 / C46 + 19 / 21 * (C27 / C47 + 19 / 21 * (C28 / C48 + 19 / 21 * (C29 / C49 + 19 / 21 * (C30 / C50 + 19 / 21 * (C31 / C51 + 19 / 21 * (C32 / C52 + 19 / 21 * (C33 / C53 + 19 / 21 * (C34 / C54 + 19 / 21 * (C35 / C55 + 19 / 21 * (C36 / C56 + 19 / 21 * (C37 / C57 + 19 / 21 * (C38 / C58 + 19 / 21 * (C39 / C59 + 19 / 21 * (C40 / C60 + 19 / 21 * (C41 / C61 + 19 / 21 * (C42 / C62 + 19 / 21 * (C43 / C63 + 19 / 21 * (C44 / C64 + 19 / 21 * (C45 / C65 + 19 / 21 * (C46 / C66))))))))))))))))))))))))))))))))))))))))))))))) - 1000

The formula is based on a 10-Period Exponential Moving Average of a 10-Period Price Percent Change plus two times a 13-Period EMA of a 13-Period PPC plus three times a 15-Period EMA of a 15-Period PPC plus four times a 20-Period EMA of a 20-Period PPC.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Bruce_L
Posted : Monday, July 18, 2005 10:31:09 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Simple v18:

10 * (AVG(C / C9, 6) + 2 * AVG(C / C12, 6) + 3 * AVG(C / C18, 6) + 4 * AVG(C / C24, 9) - 10)

Exponential v18:

10 * (XAVG(C / C9, 6) + 2 * XAVG(C / C12, 6) + 3 * XAVG(C / C18, 6) + 4 * XAVG(C / C24, 9) - 10)

Long-term Monthly KST Simple Moving Average:
((C / C9 + C1 / C10 + C2 / C11 + C3 / C12 + C4 / C13 + C5 / C14) * 150 + (C / C12 + C1 / C13 + C2 / C14 + C3 / C15 + C4 / C16 + C5 / C17) * 300 + (C / C18 + C1 / C19 + C2 / C20 + C3 / C21 + C4 / C22 + C5 / C23) * 450 + (C / C24 + C1 / C25 + C2 / C26 + C3 / C27 + C4 / C28 + C5 / C29 + C6 / C30 + C7 / C31 + C8 / C32) * 400) / 9 - 1000

The formula is based on a 6-Period Simple Moving Average of a 9-Period Price Percent Change plus two times a 6-Period SMA of a 12-Period PPC plus three times a 6-Period SMA of a 18-Period PPC plus four times a 9-Period SMA of a 24-Period PPC.

I am also providing an Exponential version with the same Moving Average and Price Percent Change Periods:

Warning: This formula is long enough that using it as a Custom Indicator causes a short delay when switching charts on my system.

28.8308856261147 * (C / C9 + 5 / 7 * (C1 / C10 + 5 / 7 * (C2 / C11 + 5 / 7 * (C3 / C12 + 5 / 7 * (C4 / C13 + 5 / 7 * (C5 / C14 + 5 / 7 * (C6 / C15 + 5 / 7 * (C7 / C16 + 5 / 7 * (C8 / C17 + 5 / 7 * (C9 / C18 + 5 / 7 * (C10 / C19 + 5 / 7 * (C11 / C20 + 5 / 7 * (C12 / C21 + 5 / 7 * (C13 / C22)))))))))))))) + 57.6617712522294 * (C / C12 + 5 / 7 * (C1 / C13 + 5 / 7 * (C2 / C14 + 5 / 7 * (C3 / C15 + 5 / 7 * (C4 / C16 + 5 / 7 * (C5 / C17 + 5 / 7 * (C6 / C18 + 5 / 7 * (C7 / C19 + 5 / 7 * (C8 / C20 + 5 / 7 * (C9 / C21 + 5 / 7 * (C10 / C22 + 5 / 7 * (C11 / C23 + 5 / 7 * (C12 / C24 + 5 / 7 * (C13 / C25)))))))))))))) + 86.4926568783441 * (C / C18 + 5 / 7 * (C1 / C19 + 5 / 7 * (C2 / C20 + 5 / 7 * (C3 / C21 + 5 / 7 * (C4 / C22 + 5 / 7 * (C5 / C23 + 5 / 7 * (C6 / C24 + 5 / 7 * (C7 / C25 + 5 / 7 * (C8 / C26 + 5 / 7 * (C9 / C27 + 5 / 7 * (C10 / C28 + 5 / 7 * (C11 / C29 + 5 / 7 * (C12 / C30 + 5 / 7 * (C13 / C31)))))))))))))) + 80.7447387656543 * (C / C24 + .8 * (C1 / C25 + .8 * (C2 / C26 + .8 * (C3 / C27 + .8 * (C4 / C28 + .8 * (C5 / C29 + .8 * (C6 / C30 + .8 * (C7 / C31 + .8 * (C8 / C32 + .8 * (C9 / C33 + .8 * (C10 / C34 + .8 * (C11 / C35 + .8 * (C12 / C36 + .8 * (C13 / C37 + .8 * (C14 / C38 + .8 * (C15 / C39 + .8 * (C16 / C40 + .8 * (C17 / C41 + .8 * (C18 / C42 + .8 * (C19 / C43 + .8 * (C20 / C44))))))))))))))))))))) - 1000



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Bruce_L
Posted : Monday, July 18, 2005 10:38:51 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Simple v18:

10 * (AVG(C / C6, 10) + 2 * AVG(C / C10, 10) + 3 * AVG(C / C15, 8) + 4 * AVG(C / C20, 15) - 10)

Exponential v18:

10 * (XAVG(C / C6, 10) + 2 * XAVG(C / C10, 10) + 3 * XAVG(C / C15, 8) + 4 * XAVG(C / C20, 15) - 10)

5-Minute Bar Short-term KST:
((C / C6 + C1 / C7 + C2 / C8 + C3 / C9 + C4 / C10 + C5 / C11 + C6 / C12 + C7 / C13 + C8 / C14 + C9 / C15) * 60 + (C / C10 + C1 / C11 + C2 / C12 + C3 / C13 + C4 / C14 + C5 / C15 + C6 / C16 + C7 / C17 + C8 / C18 + C9 / C19) * 120 + (C / C15 + C1 / C16 + C2 / C17 + C3 / C18 + C4 / C19 + C5 / C20 + C6 / C21 + C7 / C22) * 225 + (C / C20 + C1 / C21 + C2 / C22 + C3 / C23 + C4 / C24 + C5 / C25 + C6 / C26 + C7 / C27 + C8 / C28 + C9 / C29 + C10 / C30 + C11 / C31 + C12 / C32 + C13 / C33 + C14 / C34) * 160) / 6 - 1000

The formula is based on a 10-Period Simple Moving Average of a 6-Period Price Percent Change plus two times a 10-Period SMA of a 10-Period PPC plus three times a 8-Period SMA of a 15-Period PPC plus four times a 15-Period SMA of a 20-Period PPC.

I am also providing an Exponential version with the same Moving Average and Price Percent Change Periods:

Warning: This formula is long enough that using it as a Custom Indicator causes a short delay when switching charts on my system.

18.3635802753612 * (C / C6 + 9 / 11 * (C1 / C7 + 9 / 11 * (C2 / C8 + 9 / 11 * (C3 / C9 + 9 / 11 * (C4 / C10 + 9 / 11 * (C5 / C11 + 9 / 11 * (C6 / C12 + 9 / 11 * (C7 / C13 + 9 / 11 * (C8 / C14 + 9 / 11 * (C9 / C15 + 9 / 11 * (C10 / C16 + 9 / 11 * (C11 / C17 + 9 / 11 * (C12 / C18 + 9 / 11 * (C13 / C19 + 9 / 11 * (C14 / C20 + 9 / 11 * (C15 / C21 + 9 / 11 * (C16 / C22 + 9 / 11 * (C17 / C23 + 9 / 11 * (C18 / C24 + 9 / 11 * (C19 / C25 + 9 / 11 * (C20 / C26 + 9 / 11 * (C21 / C27 + 9 / 11 * (C22 / C28))))))))))))))))))))))) + 36.7271605507224 * (C / C10 + 9 / 11 * (C1 / C11 + 9 / 11 * (C2 / C12 + 9 / 11 * (C3 / C13 + 9 / 11 * (C4 / C14 + 9 / 11 * (C5 / C15 + 9 / 11 * (C6 / C16 + 9 / 11 * (C7 / C17 + 9 / 11 * (C8 / C18 + 9 / 11 * (C9 / C19 + 9 / 11 * (C10 / C20 + 9 / 11 * (C11 / C21 + 9 / 11 * (C12 / C22 + 9 / 11 * (C13 / C23 + 9 / 11 * (C14 / C24 + 9 / 11 * (C15 / C25 + 9 / 11 * (C16 / C26 + 9 / 11 * (C17 / C27 + 9 / 11 * (C18 / C28 + 9 / 11 * (C19 / C29 + 9 / 11 * (C20 / C30 + 9 / 11 * (C21 / C31 + 9 / 11 * (C22 / C32))))))))))))))))))))))) + 67.2340075486547 * (C / C15 + 7 / 9 * (C1 / C16 + 7 / 9 * (C2 / C17 + 7 / 9 * (C3 / C18 + 7 / 9 * (C4 / C19 + 7 / 9 * (C5 / C20 + 7 / 9 * (C6 / C21 + 7 / 9 * (C7 / C22 + 7 / 9 * (C8 / C23 + 7 / 9 * (C9 / C24 + 7 / 9 * (C10 / C25 + 7 / 9 * (C11 / C26 + 7 / 9 * (C12 / C27 + 7 / 9 * (C13 / C28 + 7 / 9 * (C14 / C29 + 7 / 9 * (C15 / C30 + 7 / 9 * (C16 / C31 + 7 / 9 * (C17 / C32 + 7 / 9 * (C18 / C33))))))))))))))))))) + 50.4713316670116 * (C / C20 + .875 * (C1 / C21 + .875 * (C2 / C22 + .875 * (C3 / C23 + .875 * (C4 / C24 + .875 * (C5 / C25 + .875 * (C6 / C26 + .875 * (C7 / C27 + .875 * (C8 / C28 + .875 * (C9 / C29 + .875 * (C10 / C30 + .875 * (C11 / C31 + .875 * (C12 / C32 + .875 * (C13 / C33 + .875 * (C14 / C34 + .875 * (C15 / C35 + .875 * (C16 / C36 + .875 * (C17 / C37 + .875 * (C18 / C38 + .875 * (C19 / C39 + .875 * (C20 / C40 + .875 * (C21 / C41 + .875 * (C22 / C42 + .875 * (C23 / C43 + .875 * (C24 / C44 + .875 * (C25 / C45 + .875 * (C26 / C46 + .875 * (C27 / C47 + .875 * (C28 / C48 + .875 * (C29 / C49 + .875 * (C30 / C50 + .875 * (C31 / C51 + .875 * (C32 / C52 + .875 * (C33 / C53 + .875 * (C34 / C54))))))))))))))))))))))))))))))))))) - 1000



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Bruce_L
Posted : Monday, July 18, 2005 10:52:09 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Simple v18:

10 * (AVG(C / C60, 30) + 2 * AVG(C / C90, 40) + 3 * AVG(C / C120, 60) + 4 * AVG(C / C200, 100) - 10)

Exponential v18:

10 * (XAVG(C / C60, 30) + 2 * XAVG(C / C90, 40) + 3 * XAVG(C / C120, 60) + 4 * XAVG(C / C200, 100) - 10)

5-Minute Bar Long-term KST:

Warning: This formula is long enough that using it as a Custom Indicator causes a short delay when switching charts on my system.

((C / C60 + C1 / C61 + C2 / C62 + C3 / C63 + C4 / C64 + C5 / C65 + C6 / C66 + C7 / C67 + C8 / C68 + C9 / C69 + C10 / C70 + C11 / C71 + C12 / C72 + C13 / C73 + C14 / C74 + C15 / C75 + C16 / C76 + C17 / C77 + C18 / C78 + C19 / C79 + C20 / C80 + C21 / C81 + C22 / C82 + C23 / C83 + C24 / C84 + C25 / C85 + C26 / C86 + C27 / C87 + C28 / C88 + C29 / C89) * 10 + (C / C90 + C1 / C91 + C2 / C92 + C3 / C93 + C4 / C94 + C5 / C95 + C6 / C96 + C7 / C97 + C8 / C98 + C9 / C99 + C10 / C100 + C11 / C101 + C12 / C102 + C13 / C103 + C14 / C104 + C15 / C105 + C16 / C106 + C17 / C107 + C18 / C108 + C19 / C109 + C20 / C110 + C21 / C111 + C22 / C112 + C23 / C113 + C24 / C114 + C25 / C115 + C26 / C116 + C27 / C117 + C28 / C118 + C29 / C119 + C30 / C120 + C31 / C121 + C32 / C122 + C33 / C123 + C34 / C124 + C35 / C125 + C36 / C126 + C37 / C127 + C38 / C128 + C39 / C129) * 15 + (C / C120 + C1 / C121 + C2 / C122 + C3 / C123 + C4 / C124 + C5 / C125 + C6 / C126 + C7 / C127 + C8 / C128 + C9 / C129 + C10 / C130 + C11 / C131 + C12 / C132 + C13 / C133 + C14 / C134 + C15 / C135 + C16 / C136 + C17 / C137 + C18 / C138 + C19 / C139 + C20 / C140 + C21 / C141 + C22 / C142 + C23 / C143 + C24 / C144 + C25 / C145 + C26 / C146 + C27 / C147 + C28 / C148 + C29 / C149 + C30 / C150 + C31 / C151 + C32 / C152 + C33 / C153 + C34 / C154 + C35 / C155 + C36 / C156 + C37 / C157 + C38 / C158 + C39 / C159 + C40 / C160 + C41 / C161 + C42 / C162 + C43 / C163 + C44 / C164 + C45 / C165 + C46 / C166 + C47 / C167 + C48 / C168 + C49 / C169 + C50 / C170 + C51 / C171 + C52 / C172 + C53 / C173 + C54 / C174 + C55 / C175 + C56 / C176 + C57 / C177 + C58 / C178 + C59 / C179) * 15 + (C / C200 + C1 / C201 + C2 / C202 + C3 / C203 + C4 / C204 + C5 / C205 + C6 / C206 + C7 / C207 + C8 / C208 + C9 / C209 + C10 / C210 + C11 / C211 + C12 / C212 + C13 / C213 + C14 / C214 + C15 / C215 + C16 / C216 + C17 / C217 + C18 / C218 + C19 / C219 + C20 / C220 + C21 / C221 + C22 / C222 + C23 / C223 + C24 / C224 + C25 / C225 + C26 / C226 + C27 / C227 + C28 / C228 + C29 / C229 + C30 / C230 + C31 / C231 + C32 / C232 + C33 / C233 + C34 / C234 + C35 / C235 + C36 / C236 + C37 / C237 + C38 / C238 + C39 / C239 + C40 / C240 + C41 / C241 + C42 / C242 + C43 / C243 + C44 / C244 + C45 / C245 + C46 / C246 + C47 / C247 + C48 / C248 + C49 / C249 + C50 / C250 + C51 / C251 + C52 / C252 + C53 / C253 + C54 / C254 + C55 / C255 + C56 / C256 + C57 / C257 + C58 / C258 + C59 / C259 + C60 / C260 + C61 / C261 + C62 / C262 + C63 / C263 + C64 / C264 + C65 / C265 + C66 / C266 + C67 / C267 + C68 / C268 + C69 / C269 + C70 / C270 + C71 / C271 + C72 / C272 + C73 / C273 + C74 / C274 + C75 / C275 + C76 / C276 + C77 / C277 + C78 / C278 + C79 / C279 + C80 / C280 + C81 / C281 + C82 / C282 + C83 / C283 + C84 / C284 + C85 / C285 + C86 / C286 + C87 / C287 + C88 / C288 + C89 / C289 + C90 / C290 + C91 / C291 + C92 / C292 + C93 / C293 + C94 / C294 + C95 / C295 + C96 / C296 + C97 / C297 + C98 / C298 + C99 / C299) * 12) / 3 - 1000

The formula is based on a 30-Period Simple Moving Average of a 60-Period Price Percent Change plus two times a 40-Period SMA of a 90-Period PPC plus three times a 60-Period SMA of a 120-Period PPC plus four times a 100-Period SMA of a 200-Period PPC.

I am also providing an Exponential version with the same Moving Average and Price Percent Change Periods:

Warning: This formula is long enough that using it as a Custom Indicator causes a significant delay when switching charts on my system. It's use as a Custom Indicator is not recommended.

6.51275012514149 * (C / C60 + 29 / 31 * (C1 / C61 + 29 / 31 * (C2 / C62 + 29 / 31 * (C3 / C63 + 29 / 31 * (C4 / C64 + 29 / 31 * (C5 / C65 + 29 / 31 * (C6 / C66 + 29 / 31 * (C7 / C67 + 29 / 31 * (C8 / C68 + 29 / 31 * (C9 / C69 + 29 / 31 * (C10 / C70 + 29 / 31 * (C11 / C71 + 29 / 31 * (C12 / C72 + 29 / 31 * (C13 / C73 + 29 / 31 * (C14 / C74 + 29 / 31 * (C15 / C75 + 29 / 31 * (C16 / C76 + 29 / 31 * (C17 / C77 + 29 / 31 * (C18 / C78 + 29 / 31 * (C19 / C79 + 29 / 31 * (C20 / C80 + 29 / 31 * (C21 / C81 + 29 / 31 * (C22 / C82 + 29 / 31 * (C23 / C83 + 29 / 31 * (C24 / C84 + 29 / 31 * (C25 / C85 + 29 / 31 * (C26 / C86 + 29 / 31 * (C27 / C87 + 29 / 31 * (C28 / C88 + 29 / 31 * (C29 / C89 + 29 / 31 * (C30 / C90 + 29 / 31 * (C31 / C91 + 29 / 31 * (C32 / C92 + 29 / 31 * (C33 / C93 + 29 / 31 * (C34 / C94 + 29 / 31 * (C35 / C95 + 29 / 31 * (C36 / C96 + 29 / 31 * (C37 / C97 + 29 / 31 * (C38 / C98 + 29 / 31 * (C39 / C99 + 29 / 31 * (C40 / C100 + 29 / 31 * (C41 / C101 + 29 / 31 * (C42 / C102 + 29 / 31 * (C43 / C103 + 29 / 31 * (C44 / C104 + 29 / 31 * (C45 / C105 + 29 / 31 * (C46 / C106 + 29 / 31 * (C47 / C107 + 29 / 31 * (C48 / C108 + 29 / 31 * (C49 / C109 + 29 / 31 * (C50 / C110 + 29 / 31 * (C51 / C111 + 29 / 31 * (C52 / C112 + 29 / 31 * (C53 / C113 + 29 / 31 * (C54 / C114 + 29 / 31 * (C55 / C115 + 29 / 31 * (C56 / C116 + 29 / 31 * (C57 / C117 + 29 / 31 * (C58 / C118 + 29 / 31 * (C59 / C119 + 29 / 31 * (C60 / C120 + 29 / 31 * (C61 / C121 + 29 / 31 * (C62 / C122 + 29 / 31 * (C63 / C123 + 29 / 31 * (C64 / C124 + 29 / 31 * (C65 / C125 + 29 / 31 * (C66 / C126 + 29 / 31 * (C67 / C127 + 29 / 31 * (C68 / C128 + 29 / 31 * (C69 / C129)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) + 9.8501899256099 * (C / C90 + 39 / 41 * (C1 / C91 + 39 / 41 * (C2 / C92 + 39 / 41 * (C3 / C93 + 39 / 41 * (C4 / C94 + 39 / 41 * (C5 / C95 + 39 / 41 * (C6 / C96 + 39 / 41 * (C7 / C97 + 39 / 41 * (C8 / C98 + 39 / 41 * (C9 / C99 + 39 / 41 * (C10 / C100 + 39 / 41 * (C11 / C101 + 39 / 41 * (C12 / C102 + 39 / 41 * (C13 / C103 + 39 / 41 * (C14 / C104 + 39 / 41 * (C15 / C105 + 39 / 41 * (C16 / C106 + 39 / 41 * (C17 / C107 + 39 / 41 * (C18 / C108 + 39 / 41 * (C19 / C109 + 39 / 41 * (C20 / C110 + 39 / 41 * (C21 / C111 + 39 / 41 * (C22 / C112 + 39 / 41 * (C23 / C113 + 39 / 41 * (C24 / C114 + 39 / 41 * (C25 / C115 + 39 / 41 * (C26 / C116 + 39 / 41 * (C27 / C117 + 39 / 41 * (C28 / C118 + 39 / 41 * (C29 / C119 + 39 / 41 * (C30 / C120 + 39 / 41 * (C31 / C121 + 39 / 41 * (C32 / C122 + 39 / 41 * (C33 / C123 + 39 / 41 * (C34 / C124 + 39 / 41 * (C35 / C125 + 39 / 41 * (C36 / C126 + 39 / 41 * (C37 / C127 + 39 / 41 * (C38 / C128 + 39 / 41 * (C39 / C129 + 39 / 41 * (C40 / C130 + 39 / 41 * (C41 / C131 + 39 / 41 * (C42 / C132 + 39 / 41 * (C43 / C133 + 39 / 41 * (C44 / C134 + 39 / 41 * (C45 / C135 + 39 / 41 * (C46 / C136 + 39 / 41 * (C47 / C137 + 39 / 41 * (C48 / C138 + 39 / 41 * (C49 / C139 + 39 / 41 * (C50 / C140 + 39 / 41 * (C51 / C141 + 39 / 41 * (C52 / C142 + 39 / 41 * (C53 / C143 + 39 / 41 * (C54 / C144 + 39 / 41 * (C55 / C145 + 39 / 41 * (C56 / C146 + 39 / 41 * (C57 / C147 + 39 / 41 * (C58 / C148 + 39 / 41 * (C59 / C149 + 39 / 41 * (C60 / C150 + 39 / 41 * (C61 / C151 + 39 / 41 * (C62 / C152 + 39 / 41 * (C63 / C153 + 39 / 41 * (C64 / C154 + 39 / 41 * (C65 / C155 + 39 / 41 * (C66 / C156 + 39 / 41 * (C67 / C157 + 39 / 41 * (C68 / C158 + 39 / 41 * (C69 / C159 + 39 / 41 * (C70 / C160 + 39 / 41 * (C71 / C161 + 39 / 41 * (C72 / C162 + 39 / 41 * (C73 / C163 + 39 / 41 * (C74 / C164 + 39 / 41 * (C75 / C165 + 39 / 41 * (C76 / C166 + 39 / 41 * (C77 / C167 + 39 / 41 * (C78 / C168 + 39 / 41 * (C79 / C169 + 39 / 41 * (C80 / C170 + 39 / 41 * (C81 / C171 + 39 / 41 * (C82 / C172 + 39 / 41 * (C83 / C173 + 39 / 41 * (C84 / C174 + 39 / 41 * (C85 / C175 + 39 / 41 * (C86 / C176 + 39 / 41 * (C87 / C177 + 39 / 41 * (C88 / C178 + 39 / 41 * (C89 / C179 + 39 / 41 * (C90 / C180 + 39 / 41 * (C91 / C181 + 39 / 41 * (C92 / C182))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) + 9.93259175779564 * (C / C120 + 59 / 61 * (C1 / C121 + 59 / 61 * (C2 / C122 + 59 / 61 * (C3 / C123 + 59 / 61 * (C4 / C124 + 59 / 61 * (C5 / C125 + 59 / 61 * (C6 / C126 + 59 / 61 * (C7 / C127 + 59 / 61 * (C8 / C128 + 59 / 61 * (C9 / C129 + 59 / 61 * (C10 / C130 + 59 / 61 * (C11 / C131 + 59 / 61 * (C12 / C132 + 59 / 61 * (C13 / C133 + 59 / 61 * (C14 / C134 + 59 / 61 * (C15 / C135 + 59 / 61 * (C16 / C136 + 59 / 61 * (C17 / C137 + 59 / 61 * (C18 / C138 + 59 / 61 * (C19 / C139 + 59 / 61 * (C20 / C140 + 59 / 61 * (C21 / C141 + 59 / 61 * (C22 / C142 + 59 / 61 * (C23 / C143 + 59 / 61 * (C24 / C144 + 59 / 61 * (C25 / C145 + 59 / 61 * (C26 / C146 + 59 / 61 * (C27 / C147 + 59 / 61 * (C28 / C148 + 59 / 61 * (C29 / C149 + 59 / 61 * (C30 / C150 + 59 / 61 * (C31 / C151 + 59 / 61 * (C32 / C152 + 59 / 61 * (C33 / C153 + 59 / 61 * (C34 / C154 + 59 / 61 * (C35 / C155 + 59 / 61 * (C36 / C156 + 59 / 61 * (C37 / C157 + 59 / 61 * (C38 / C158 + 59 / 61 * (C39 / C159 + 59 / 61 * (C40 / C160 + 59 / 61 * (C41 / C161 + 59 / 61 * (C42 / C162 + 59 / 61 * (C43 / C163 + 59 / 61 * (C44 / C164 + 59 / 61 * (C45 / C165 + 59 / 61 * (C46 / C166 + 59 / 61 * (C47 / C167 + 59 / 61 * (C48 / C168 + 59 / 61 * (C49 / C169 + 59 / 61 * (C50 / C170 + 59 / 61 * (C51 / C171 + 59 / 61 * (C52 / C172 + 59 / 61 * (C53 / C173 + 59 / 61 * (C54 / C174 + 59 / 61 * (C55 / C175 + 59 / 61 * (C56 / C176 + 59 / 61 * (C57 / C177 + 59 / 61 * (C58 / C178 + 59 / 61 * (C59 / C179 + 59 / 61 * (C60 / C180 + 59 / 61 * (C61 / C181 + 59 / 61 * (C62 / C182 + 59 / 61 * (C63 / C183 + 59 / 61 * (C64 / C184 + 59 / 61 * (C65 / C185 + 59 / 61 * (C66 / C186 + 59 / 61 * (C67 / C187 + 59 / 61 * (C68 / C188 + 59 / 61 * (C69 / C189 + 59 / 61 * (C70 / C190 + 59 / 61 * (C71 / C191 + 59 / 61 * (C72 / C192 + 59 / 61 * (C73 / C193 + 59 / 61 * (C74 / C194 + 59 / 61 * (C75 / C195 + 59 / 61 * (C76 / C196 + 59 / 61 * (C77 / C197 + 59 / 61 * (C78 / C198 + 59 / 61 * (C79 / C199 + 59 / 61 * (C80 / C200 + 59 / 61 * (C81 / C201 + 59 / 61 * (C82 / C202 + 59 / 61 * (C83 / C203 + 59 / 61 * (C84 / C204 + 59 / 61 * (C85 / C205 + 59 / 61 * (C86 / C206 + 59 / 61 * (C87 / C207 + 59 / 61 * (C88 / C208 + 59 / 61 * (C89 / C209 + 59 / 61 * (C90 / C210 + 59 / 61 * (C91 / C211 + 59 / 61 * (C92 / C212 + 59 / 61 * (C93 / C213 + 59 / 61 * (C94 / C214 + 59 / 61 * (C95 / C215 + 59 / 61 * (C96 / C216 + 59 / 61 * (C97 / C217 + 59 / 61 * (C98 / C218 + 59 / 61 * (C99 / C219 + 59 / 61 * (C100 / C220 + 59 / 61 * (C101 / C221 + 59 / 61 * (C102 / C222 + 59 / 61 * (C103 / C223 + 59 / 61 * (C104 / C224 + 59 / 61 * (C105 / C225 + 59 / 61 * (C106 / C226 + 59 / 61 * (C107 / C227 + 59 / 61 * (C108 / C228 + 59 / 61 * (C109 / C229 + 59 / 61 * (C110 / C230 + 59 / 61 * (C111 / C231 + 59 / 61 * (C112 / C232 + 59 / 61 * (C113 / C233 + 59 / 61 * (C114 / C234 + 59 / 61 * (C115 / C235 + 59 / 61 * (C116 / C236 + 59 / 61 * (C117 / C237 + 59 / 61 * (C118 / C238 + 59 / 61 * (C119 / C239 + 59 / 61 * (C120 / C240 + 59 / 61 * (C121 / C241 + 59 / 61 * (C122 / C242 + 59 / 61 * (C123 / C243 + 59 / 61 * (C124 / C244 + 59 / 61 * (C125 / C245 + 59 / 61 * (C126 / C246 + 59 / 61 * (C127 / C247 + 59 / 61 * (C128 / C248 + 59 / 61 * (C129 / C249 + 59 / 61 * (C130 / C250 + 59 / 61 * (C131 / C251 + 59 / 61 * (C132 / C252 + 59 / 61 * (C133 / C253 + 59 / 61 * (C134 / C254 + 59 / 61 * (C135 / C255 + 59 / 61 * (C136 / C256 + 59 / 61 * (C137 / C257 + 59 / 61 * (C138 / C258))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) + 7.99959835251774 * (C / C200 + 99 / 101 * (C1 / C201 + 99 / 101 * (C2 / C202 + 99 / 101 * (C3 / C203 + 99 / 101 * (C4 / C204 + 99 / 101 * (C5 / C205 + 99 / 101 * (C6 / C206 + 99 / 101 * (C7 / C207 + 99 / 101 * (C8 / C208 + 99 / 101 * (C9 / C209 + 99 / 101 * (C10 / C210 + 99 / 101 * (C11 / C211 + 99 / 101 * (C12 / C212 + 99 / 101 * (C13 / C213 + 99 / 101 * (C14 / C214 + 99 / 101 * (C15 / C215 + 99 / 101 * (C16 / C216 + 99 / 101 * (C17 / C217 + 99 / 101 * (C18 / C218 + 99 / 101 * (C19 / C219 + 99 / 101 * (C20 / C220 + 99 / 101 * (C21 / C221 + 99 / 101 * (C22 / C222 + 99 / 101 * (C23 / C223 + 99 / 101 * (C24 / C224 + 99 / 101 * (C25 / C225 + 99 / 101 * (C26 / C226 + 99 / 101 * (C27 / C227 + 99 / 101 * (C28 / C228 + 99 / 101 * (C29 / C229 + 99 / 101 * (C30 / C230 + 99 / 101 * (C31 / C231 + 99 / 101 * (C32 / C232 + 99 / 101 * (C33 / C233 + 99 / 101 * (C34 / C234 + 99 / 101 * (C35 / C235 + 99 / 101 * (C36 / C236 + 99 / 101 * (C37 / C237 + 99 / 101 * (C38 / C238 + 99 / 101 * (C39 / C239 + 99 / 101 * (C40 / C240 + 99 / 101 * (C41 / C241 + 99 / 101 * (C42 / C242 + 99 / 101 * (C43 / C243 + 99 / 101 * (C44 / C244 + 99 / 101 * (C45 / C245 + 99 / 101 * (C46 / C246 + 99 / 101 * (C47 / C247 + 99 / 101 * (C48 / C248 + 99 / 101 * (C49 / C249 + 99 / 101 * (C50 / C250 + 99 / 101 * (C51 / C251 + 99 / 101 * (C52 / C252 + 99 / 101 * (C53 / C253 + 99 / 101 * (C54 / C254 + 99 / 101 * (C55 / C255 + 99 / 101 * (C56 / C256 + 99 / 101 * (C57 / C257 + 99 / 101 * (C58 / C258 + 99 / 101 * (C59 / C259 + 99 / 101 * (C60 / C260 + 99 / 101 * (C61 / C261 + 99 / 101 * (C62 / C262 + 99 / 101 * (C63 / C263 + 99 / 101 * (C64 / C264 + 99 / 101 * (C65 / C265 + 99 / 101 * (C66 / C266 + 99 / 101 * (C67 / C267 + 99 / 101 * (C68 / C268 + 99 / 101 * (C69 / C269 + 99 / 101 * (C70 / C270 + 99 / 101 * (C71 / C271 + 99 / 101 * (C72 / C272 + 99 / 101 * (C73 / C273 + 99 / 101 * (C74 / C274 + 99 / 101 * (C75 / C275 + 99 / 101 * (C76 / C276 + 99 / 101 * (C77 / C277 + 99 / 101 * (C78 / C278 + 99 / 101 * (C79 / C279 + 99 / 101 * (C80 / C280 + 99 / 101 * (C81 / C281 + 99 / 101 * (C82 / C282 + 99 / 101 * (C83 / C283 + 99 / 101 * (C84 / C284 + 99 / 101 * (C85 / C285 + 99 / 101 * (C86 / C286 + 99 / 101 * (C87 / C287 + 99 / 101 * (C88 / C288 + 99 / 101 * (C89 / C289 + 99 / 101 * (C90 / C290 + 99 / 101 * (C91 / C291 + 99 / 101 * (C92 / C292 + 99 / 101 * (C93 / C293 + 99 / 101 * (C94 / C294 + 99 / 101 * (C95 / C295 + 99 / 101 * (C96 / C296 + 99 / 101 * (C97 / C297 + 99 / 101 * (C98 / C298 + 99 / 101 * (C99 / C299 + 99 / 101 * (C100 / C300 + 99 / 101 * (C101 / C301 + 99 / 101 * (C102 / C302 + 99 / 101 * (C103 / C303 + 99 / 101 * (C104 / C304 + 99 / 101 * (C105 / C305 + 99 / 101 * (C106 / C306 + 99 / 101 * (C107 / C307 + 99 / 101 * (C108 / C308 + 99 / 101 * (C109 / C309 + 99 / 101 * (C110 / C310 + 99 / 101 * (C111 / C311 + 99 / 101 * (C112 / C312 + 99 / 101 * (C113 / C313 + 99 / 101 * (C114 / C314 + 99 / 101 * (C115 / C315 + 99 / 101 * (C116 / C316 + 99 / 101 * (C117 / C317 + 99 / 101 * (C118 / C318 + 99 / 101 * (C119 / C319 + 99 / 101 * (C120 / C320 + 99 / 101 * (C121 / C321 + 99 / 101 * (C122 / C322 + 99 / 101 * (C123 / C323 + 99 / 101 * (C124 / C324 + 99 / 101 * (C125 / C325 + 99 / 101 * (C126 / C326 + 99 / 101 * (C127 / C327 + 99 / 101 * (C128 / C328 + 99 / 101 * (C129 / C329 + 99 / 101 * (C130 / C330 + 99 / 101 * (C131 / C331 + 99 / 101 * (C132 / C332 + 99 / 101 * (C133 / C333 + 99 / 101 * (C134 / C334 + 99 / 101 * (C135 / C335 + 99 / 101 * (C136 / C336 + 99 / 101 * (C137 / C337 + 99 / 101 * (C138 / C338 + 99 / 101 * (C139 / C339 + 99 / 101 * (C140 / C340 + 99 / 101 * (C141 / C341 + 99 / 101 * (C142 / C342 + 99 / 101 * (C143 / C343 + 99 / 101 * (C144 / C344 + 99 / 101 * (C145 / C345 + 99 / 101 * (C146 / C346 + 99 / 101 * (C147 / C347 + 99 / 101 * (C148 / C348 + 99 / 101 * (C149 / C349 + 99 / 101 * (C150 / C350 + 99 / 101 * (C151 / C351 + 99 / 101 * (C152 / C352 + 99 / 101 * (C153 / C353 + 99 / 101 * (C154 / C354 + 99 / 101 * (C155 / C355 + 99 / 101 * (C156 / C356 + 99 / 101 * (C157 / C357 + 99 / 101 * (C158 / C358 + 99 / 101 * (C159 / C359 + 99 / 101 * (C160 / C360 + 99 / 101 * (C161 / C361 + 99 / 101 * (C162 / C362 + 99 / 101 * (C163 / C363 + 99 / 101 * (C164 / C364 + 99 / 101 * (C165 / C365 + 99 / 101 * (C166 / C366 + 99 / 101 * (C167 / C367 + 99 / 101 * (C168 / C368 + 99 / 101 * (C169 / C369 + 99 / 101 * (C170 / C370 + 99 / 101 * (C171 / C371 + 99 / 101 * (C172 / C372 + 99 / 101 * (C173 / C373 + 99 / 101 * (C174 / C374 + 99 / 101 * (C175 / C375 + 99 / 101 * (C176 / C376 + 99 / 101 * (C177 / C377 + 99 / 101 * (C178 / C378 + 99 / 101 * (C179 / C379 + 99 / 101 * (C180 / C380 + 99 / 101 * (C181 / C381 + 99 / 101 * (C182 / C382 + 99 / 101 * (C183 / C383 + 99 / 101 * (C184 / C384 + 99 / 101 * (C185 / C385 + 99 / 101 * (C186 / C386 + 99 / 101 * (C187 / C387 + 99 / 101 * (C188 / C388 + 99 / 101 * (C189 / C389 + 99 / 101 * (C190 / C390 + 99 / 101 * (C191 / C391 + 99 / 101 * (C192 / C392 + 99 / 101 * (C193 / C393 + 99 / 101 * (C194 / C394 + 99 / 101 * (C195 / C395 + 99 / 101 * (C196 / C396 + 99 / 101 * (C197 / C397 + 99 / 101 * (C198 / C398 + 99 / 101 * (C199 / C399 + 99 / 101 * (C200 / C400 + 99 / 101 * (C201 / C401 + 99 / 101 * (C202 / C402 + 99 / 101 * (C203 / C403 + 99 / 101 * (C204 / C404 + 99 / 101 * (C205 / C405 + 99 / 101 * (C206 / C406 + 99 / 101 * (C207 / C407 + 99 / 101 * (C208 / C408 + 99 / 101 * (C209 / C409 + 99 / 101 * (C210 / C410 + 99 / 101 * (C211 / C411 + 99 / 101 * (C212 / C412 + 99 / 101 * (C213 / C413 + 99 / 101 * (C214 / C414 + 99 / 101 * (C215 / C415 + 99 / 101 * (C216 / C416 + 99 / 101 * (C217 / C417 + 99 / 101 * (C218 / C418 + 99 / 101 * (C219 / C419 + 99 / 101 * (C220 / C420 + 99 / 101 * (C221 / C421 + 99 / 101 * (C222 / C422 + 99 / 101 * (C223 / C423 + 99 / 101 * (C224 / C424 + 99 / 101 * (C225 / C425 + 99 / 101 * (C226 / C426 + 99 / 101 * (C227 / C427 + 99 / 101 * (C228 / C428 + 99 / 101 * (C229 / C429 + 99 / 101 * (C230 / C430))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) - 1000



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Bruce_L
Posted : Monday, July 18, 2005 11:11:25 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Simple v18:

10 * (AVG(C / C30, 15) + 2 * AVG(C / C45, 20) + 3 * AVG(C / C60, 30) + 4 * AVG(C / C90, 45) - 10)

Exponential v18:

10 * (XAVG(C / C30, 15) + 2 * XAVG(C / C45, 20) + 3 * XAVG(C / C60, 30) + 4 * XAVG(C / C90, 45) - 10)

10/15-Minute Bar Long-term KST:
((C / C30 + C1 / C31 + C2 / C32 + C3 / C33 + C4 / C34 + C5 / C35 + C6 / C36 + C7 / C37 + C8 / C38 + C9 / C39 + C10 / C40 + C11 / C41 + C12 / C42 + C13 / C43 + C14 / C44) * 60 + (C / C45 + C1 / C46 + C2 / C47 + C3 / C48 + C4 / C49 + C5 / C50 + C6 / C51 + C7 / C52 + C8 / C53 + C9 / C54 + C10 / C55 + C11 / C56 + C12 / C57 + C13 / C58 + C14 / C59 + C15 / C60 + C16 / C61 + C17 / C62 + C18 / C63 + C19 / C64) * 90 + (C / C60 + C1 / C61 + C2 / C62 + C3 / C63 + C4 / C64 + C5 / C65 + C6 / C66 + C7 / C67 + C8 / C68 + C9 / C69 + C10 / C70 + C11 / C71 + C12 / C72 + C13 / C73 + C14 / C74 + C15 / C75 + C16 / C76 + C17 / C77 + C18 / C78 + C19 / C79 + C20 / C80 + C21 / C81 + C22 / C82 + C23 / C83 + C24 / C84 + C25 / C85 + C26 / C86 + C27 / C87 + C28 / C88 + C29 / C89) * 90 + (C / C90 + C1 / C91 + C2 / C92 + C3 / C93 + C4 / C94 + C5 / C95 + C6 / C96 + C7 / C97 + C8 / C98 + C9 / C99 + C10 / C100 + C11 / C101 + C12 / C102 + C13 / C103 + C14 / C104 + C15 / C105 + C16 / C106 + C17 / C107 + C18 / C108 + C19 / C109 + C20 / C110 + C21 / C111 + C22 / C112 + C23 / C113 + C24 / C114 + C25 / C115 + C26 / C116 + C27 / C117 + C28 / C118 + C29 / C119 + C30 / C120 + C31 / C121 + C32 / C122 + C33 / C123 + C34 / C124 + C35 / C125 + C36 / C126 + C37 / C127 + C38 / C128 + C39 / C129 + C40 / C130 + C41 / C131 + C42 / C132 + C43 / C133 + C44 / C134) * 80) / 9 - 1000

The formula is based on a 15-Period Simple Moving Average of a 30-Period Price Percent Change plus two times a 20-Period SMA of a 45-Period PPC plus three times a 30-Period SMA of a 60-Period PPC plus four times a 45-Period SMA of a 90-Period PPC.

I am also providing an Exponential version with the same Moving Average and Price Percent Change Periods:

Warning: This formula is long enough that using it as a Custom Indicator causes a significant delay when switching charts on my system. It's use as a Custom Indicator is not recommended.

12.6178329167529 * (C / C30 + .875 * (C1 / C31 + .875 * (C2 / C32 + .875 * (C3 / C33 + .875 * (C4 / C34 + .875 * (C5 / C35 + .875 * (C6 / C36 + .875 * (C7 / C37 + .875 * (C8 / C38 + .875 * (C9 / C39 + .875 * (C10 / C40 + .875 * (C11 / C41 + .875 * (C12 / C42 + .875 * (C13 / C43 + .875 * (C14 / C44 + .875 * (C15 / C45 + .875 * (C16 / C46 + .875 * (C17 / C47 + .875 * (C18 / C48 + .875 * (C19 / C49 + .875 * (C20 / C50 + .875 * (C21 / C51 + .875 * (C22 / C52 + .875 * (C23 / C53 + .875 * (C24 / C54 + .875 * (C25 / C55 + .875 * (C26 / C56 + .875 * (C27 / C57 + .875 * (C28 / C58 + .875 * (C29 / C59 + .875 * (C30 / C60 + .875 * (C31 / C61 + .875 * (C32 / C62 + .875 * (C33 / C63 + .875 * (C34 / C64))))))))))))))))))))))))))))))))))) + 19.2217618724445 * (C / C45 + 19 / 21 * (C1 / C46 + 19 / 21 * (C2 / C47 + 19 / 21 * (C3 / C48 + 19 / 21 * (C4 / C49 + 19 / 21 * (C5 / C50 + 19 / 21 * (C6 / C51 + 19 / 21 * (C7 / C52 + 19 / 21 * (C8 / C53 + 19 / 21 * (C9 / C54 + 19 / 21 * (C10 / C55 + 19 / 21 * (C11 / C56 + 19 / 21 * (C12 / C57 + 19 / 21 * (C13 / C58 + 19 / 21 * (C14 / C59 + 19 / 21 * (C15 / C60 + 19 / 21 * (C16 / C61 + 19 / 21 * (C17 / C62 + 19 / 21 * (C18 / C63 + 19 / 21 * (C19 / C64 + 19 / 21 * (C20 / C65 + 19 / 21 * (C21 / C66 + 19 / 21 * (C22 / C67 + 19 / 21 * (C23 / C68 + 19 / 21 * (C24 / C69 + 19 / 21 * (C25 / C70 + 19 / 21 * (C26 / C71 + 19 / 21 * (C27 / C72 + 19 / 21 * (C28 / C73 + 19 / 21 * (C29 / C74 + 19 / 21 * (C30 / C75 + 19 / 21 * (C31 / C76 + 19 / 21 * (C32 / C77 + 19 / 21 * (C33 / C78 + 19 / 21 * (C34 / C79 + 19 / 21 * (C35 / C80 + 19 / 21 * (C36 / C81 + 19 / 21 * (C37 / C82 + 19 / 21 * (C38 / C83 + 19 / 21 * (C39 / C84 + 19 / 21 * (C40 / C85 + 19 / 21 * (C41 / C86 + 19 / 21 * (C42 / C87 + 19 / 21 * (C43 / C88 + 19 / 21 * (C44 / C89 + 19 / 21 * (C45 / C90 + 19 / 21 * (C46 / C91))))))))))))))))))))))))))))))))))))))))))))))) + 19.5382503754245 * (C / C60 + 29 / 31 * (C1 / C61 + 29 / 31 * (C2 / C62 + 29 / 31 * (C3 / C63 + 29 / 31 * (C4 / C64 + 29 / 31 * (C5 / C65 + 29 / 31 * (C6 / C66 + 29 / 31 * (C7 / C67 + 29 / 31 * (C8 / C68 + 29 / 31 * (C9 / C69 + 29 / 31 * (C10 / C70 + 29 / 31 * (C11 / C71 + 29 / 31 * (C12 / C72 + 29 / 31 * (C13 / C73 + 29 / 31 * (C14 / C74 + 29 / 31 * (C15 / C75 + 29 / 31 * (C16 / C76 + 29 / 31 * (C17 / C77 + 29 / 31 * (C18 / C78 + 29 / 31 * (C19 / C79 + 29 / 31 * (C20 / C80 + 29 / 31 * (C21 / C81 + 29 / 31 * (C22 / C82 + 29 / 31 * (C23 / C83 + 29 / 31 * (C24 / C84 + 29 / 31 * (C25 / C85 + 29 / 31 * (C26 / C86 + 29 / 31 * (C27 / C87 + 29 / 31 * (C28 / C88 + 29 / 31 * (C29 / C89 + 29 / 31 * (C30 / C90 + 29 / 31 * (C31 / C91 + 29 / 31 * (C32 / C92 + 29 / 31 * (C33 / C93 + 29 / 31 * (C34 / C94 + 29 / 31 * (C35 / C95 + 29 / 31 * (C36 / C96 + 29 / 31 * (C37 / C97 + 29 / 31 * (C38 / C98 + 29 / 31 * (C39 / C99 + 29 / 31 * (C40 / C100 + 29 / 31 * (C41 / C101 + 29 / 31 * (C42 / C102 + 29 / 31 * (C43 / C103 + 29 / 31 * (C44 / C104 + 29 / 31 * (C45 / C105 + 29 / 31 * (C46 / C106 + 29 / 31 * (C47 / C107 + 29 / 31 * (C48 / C108 + 29 / 31 * (C49 / C109 + 29 / 31 * (C50 / C110 + 29 / 31 * (C51 / C111 + 29 / 31 * (C52 / C112 + 29 / 31 * (C53 / C113 + 29 / 31 * (C54 / C114 + 29 / 31 * (C55 / C115 + 29 / 31 * (C56 / C116 + 29 / 31 * (C57 / C117 + 29 / 31 * (C58 / C118 + 29 / 31 * (C59 / C119 + 29 / 31 * (C60 / C120 + 29 / 31 * (C61 / C121 + 29 / 31 * (C62 / C122 + 29 / 31 * (C63 / C123 + 29 / 31 * (C64 / C124 + 29 / 31 * (C65 / C125 + 29 / 31 * (C66 / C126 + 29 / 31 * (C67 / C127 + 29 / 31 * (C68 / C128 + 29 / 31 * (C69 / C129)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) + 17.5638417983023 * (C / C90 + 22 / 23 * (C1 / C91 + 22 / 23 * (C2 / C92 + 22 / 23 * (C3 / C93 + 22 / 23 * (C4 / C94 + 22 / 23 * (C5 / C95 + 22 / 23 * (C6 / C96 + 22 / 23 * (C7 / C97 + 22 / 23 * (C8 / C98 + 22 / 23 * (C9 / C99 + 22 / 23 * (C10 / C100 + 22 / 23 * (C11 / C101 + 22 / 23 * (C12 / C102 + 22 / 23 * (C13 / C103 + 22 / 23 * (C14 / C104 + 22 / 23 * (C15 / C105 + 22 / 23 * (C16 / C106 + 22 / 23 * (C17 / C107 + 22 / 23 * (C18 / C108 + 22 / 23 * (C19 / C109 + 22 / 23 * (C20 / C110 + 22 / 23 * (C21 / C111 + 22 / 23 * (C22 / C112 + 22 / 23 * (C23 / C113 + 22 / 23 * (C24 / C114 + 22 / 23 * (C25 / C115 + 22 / 23 * (C26 / C116 + 22 / 23 * (C27 / C117 + 22 / 23 * (C28 / C118 + 22 / 23 * (C29 / C119 + 22 / 23 * (C30 / C120 + 22 / 23 * (C31 / C121 + 22 / 23 * (C32 / C122 + 22 / 23 * (C33 / C123 + 22 / 23 * (C34 / C124 + 22 / 23 * (C35 / C125 + 22 / 23 * (C36 / C126 + 22 / 23 * (C37 / C127 + 22 / 23 * (C38 / C128 + 22 / 23 * (C39 / C129 + 22 / 23 * (C40 / C130 + 22 / 23 * (C41 / C131 + 22 / 23 * (C42 / C132 + 22 / 23 * (C43 / C133 + 22 / 23 * (C44 / C134 + 22 / 23 * (C45 / C135 + 22 / 23 * (C46 / C136 + 22 / 23 * (C47 / C137 + 22 / 23 * (C48 / C138 + 22 / 23 * (C49 / C139 + 22 / 23 * (C50 / C140 + 22 / 23 * (C51 / C141 + 22 / 23 * (C52 / C142 + 22 / 23 * (C53 / C143 + 22 / 23 * (C54 / C144 + 22 / 23 * (C55 / C145 + 22 / 23 * (C56 / C146 + 22 / 23 * (C57 / C147 + 22 / 23 * (C58 / C148 + 22 / 23 * (C59 / C149 + 22 / 23 * (C60 / C150 + 22 / 23 * (C61 / C151 + 22 / 23 * (C62 / C152 + 22 / 23 * (C63 / C153 + 22 / 23 * (C64 / C154 + 22 / 23 * (C65 / C155 + 22 / 23 * (C66 / C156 + 22 / 23 * (C67 / C157 + 22 / 23 * (C68 / C158 + 22 / 23 * (C69 / C159 + 22 / 23 * (C70 / C160 + 22 / 23 * (C71 / C161 + 22 / 23 * (C72 / C162 + 22 / 23 * (C73 / C163 + 22 / 23 * (C74 / C164 + 22 / 23 * (C75 / C165 + 22 / 23 * (C76 / C166 + 22 / 23 * (C77 / C167 + 22 / 23 * (C78 / C168 + 22 / 23 * (C79 / C169 + 22 / 23 * (C80 / C170 + 22 / 23 * (C81 / C171 + 22 / 23 * (C82 / C172 + 22 / 23 * (C83 / C173 + 22 / 23 * (C84 / C174 + 22 / 23 * (C85 / C175 + 22 / 23 * (C86 / C176 + 22 / 23 * (C87 / C177 + 22 / 23 * (C88 / C178 + 22 / 23 * (C89 / C179 + 22 / 23 * (C90 / C180 + 22 / 23 * (C91 / C181 + 22 / 23 * (C92 / C182 + 22 / 23 * (C93 / C183 + 22 / 23 * (C94 / C184 + 22 / 23 * (C95 / C185 + 22 / 23 * (C96 / C186 + 22 / 23 * (C97 / C187 + 22 / 23 * (C98 / C188 + 22 / 23 * (C99 / C189 + 22 / 23 * (C100 / C190 + 22 / 23 * (C101 / C191 + 22 / 23 * (C102 / C192 + 22 / 23 * (C103 / C193)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) - 1000



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Bruce_L
Posted : Monday, July 18, 2005 11:18:28 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Simple v18:

10 * (AVG(C / C12, 10) + 2 * AVG(C / C20, 10) + 3 * AVG(C / C30, 8) + 4 * AVG(C / C40, 15) - 10)

Exponential v18:

10 * (XAVG(C / C12, 10) + 2 * XAVG(C / C20, 10) + 3 * XAVG(C / C30, 8) + 4 * XAVG(C / C40, 15) - 10)

Short-term Tick KST:
((C / C12 + C1 / C13 + C2 / C14 + C3 / C15 + C4 / C16 + C5 / C17 + C6 / C18 + C7 / C19 + C8 / C20 + C9 / C21) * 60 + (C / C20 + C1 / C21 + C2 / C22 + C3 / C23 + C4 / C24 + C5 / C25 + C6 / C26 + C7 / C27 + C8 / C28 + C9 / C29) * 120 + (C / C30 + C1 / C31 + C2 / C32 + C3 / C33 + C4 / C34 + C5 / C35 + C6 / C36 + C7 / C37) * 225 + (C / C40 + C1 / C41 + C2 / C42 + C3 / C43 + C4 / C44 + C5 / C45 + C6 / C46 + C7 / C47 + C8 / C48 + C9 / C49 + C10 / C50 + C11 / C51 + C12 / C52 + C13 / C53 + C14 / C54) * 160) / 6 - 1000

The formula is based on a 10-Period Simple Moving Average of a 12-Period Price Percent Change plus two times a 10-Period SMA of a 20-Period PPC plus three times a 8-Period SMA of a 30-Period PPC plus four times a 15-Period SMA of a 40-Period PPC.

I am also providing an Exponential version with the same Moving Average and Price Percent Change Periods:

Warning: This formula is long enough that using it as a Custom Indicator causes a short delay when switching charts on my system.

18.3635802753612 * (C / C12 + 9 / 11 * (C1 / C13 + 9 / 11 * (C2 / C14 + 9 / 11 * (C3 / C15 + 9 / 11 * (C4 / C16 + 9 / 11 * (C5 / C17 + 9 / 11 * (C6 / C18 + 9 / 11 * (C7 / C19 + 9 / 11 * (C8 / C20 + 9 / 11 * (C9 / C21 + 9 / 11 * (C10 / C22 + 9 / 11 * (C11 / C23 + 9 / 11 * (C12 / C24 + 9 / 11 * (C13 / C25 + 9 / 11 * (C14 / C26 + 9 / 11 * (C15 / C27 + 9 / 11 * (C16 / C28 + 9 / 11 * (C17 / C29 + 9 / 11 * (C18 / C30 + 9 / 11 * (C19 / C31 + 9 / 11 * (C20 / C32 + 9 / 11 * (C21 / C33 + 9 / 11 * (C22 / C34))))))))))))))))))))))) + 36.7271605507224 * (C / C20 + 9 / 11 * (C1 / C21 + 9 / 11 * (C2 / C22 + 9 / 11 * (C3 / C23 + 9 / 11 * (C4 / C24 + 9 / 11 * (C5 / C25 + 9 / 11 * (C6 / C26 + 9 / 11 * (C7 / C27 + 9 / 11 * (C8 / C28 + 9 / 11 * (C9 / C29 + 9 / 11 * (C10 / C30 + 9 / 11 * (C11 / C31 + 9 / 11 * (C12 / C32 + 9 / 11 * (C13 / C33 + 9 / 11 * (C14 / C34 + 9 / 11 * (C15 / C35 + 9 / 11 * (C16 / C36 + 9 / 11 * (C17 / C37 + 9 / 11 * (C18 / C38 + 9 / 11 * (C19 / C39 + 9 / 11 * (C20 / C40 + 9 / 11 * (C21 / C41 + 9 / 11 * (C22 / C42))))))))))))))))))))))) + 67.2340075486547 * (C / C30 + 7 / 9 * (C1 / C31 + 7 / 9 * (C2 / C32 + 7 / 9 * (C3 / C33 + 7 / 9 * (C4 / C34 + 7 / 9 * (C5 / C35 + 7 / 9 * (C6 / C36 + 7 / 9 * (C7 / C37 + 7 / 9 * (C8 / C38 + 7 / 9 * (C9 / C39 + 7 / 9 * (C10 / C40 + 7 / 9 * (C11 / C41 + 7 / 9 * (C12 / C42 + 7 / 9 * (C13 / C43 + 7 / 9 * (C14 / C44 + 7 / 9 * (C15 / C45 + 7 / 9 * (C16 / C46 + 7 / 9 * (C17 / C47 + 7 / 9 * (C18 / C48))))))))))))))))))) + 50.4713316670116 * (C / C40 + .875 * (C1 / C41 + .875 * (C2 / C42 + .875 * (C3 / C43 + .875 * (C4 / C44 + .875 * (C5 / C45 + .875 * (C6 / C46 + .875 * (C7 / C47 + .875 * (C8 / C48 + .875 * (C9 / C49 + .875 * (C10 / C50 + .875 * (C11 / C51 + .875 * (C12 / C52 + .875 * (C13 / C53 + .875 * (C14 / C54 + .875 * (C15 / C55 + .875 * (C16 / C56 + .875 * (C17 / C57 + .875 * (C18 / C58 + .875 * (C19 / C59 + .875 * (C20 / C60 + .875 * (C21 / C61 + .875 * (C22 / C62 + .875 * (C23 / C63 + .875 * (C24 / C64 + .875 * (C25 / C65 + .875 * (C26 / C66 + .875 * (C27 / C67 + .875 * (C28 / C68 + .875 * (C29 / C69 + .875 * (C30 / C70 + .875 * (C31 / C71 + .875 * (C32 / C72 + .875 * (C33 / C73 + .875 * (C34 / C74))))))))))))))))))))))))))))))))))) - 1000



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Bruce_L
Posted : Monday, August 28, 2006 10:14:08 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Simple v18:

10 * (AVG(C / C39, 26) + 2 * AVG(C / C52, 26) + 3 * AVG(C / C78, 26) + 4 * AVG(C / C109, 30) - 10)

Exponential v18:

10 * (XAVG(C / C39, 26) + 2 * XAVG(C / C52, 26) + 3 * XAVG(C / C78, 26) + 4 * XAVG(C / C109, 30) - 10)

Long-term KST Exponential Moving Average:

Warning: This formula is long enough that using it as a Custom Indicator causes a significant delay when switching charts on my system. It's use as a Custom Indicator is not recommended.

7.48129155218941 * (C / C39 + 25 / 27 * (C1 / C40 + 25 / 27 * (C2 / C41 + 25 / 27 * (C3 / C42 + 25 / 27 * (C4 / C43 + 25 / 27 * (C5 / C44 + 25 / 27 * (C6 / C45 + 25 / 27 * (C7 / C46 + 25 / 27 * (C8 / C47 + 25 / 27 * (C9 / C48 + 25 / 27 * (C10 / C49 + 25 / 27 * (C11 / C50 + 25 / 27 * (C12 / C51 + 25 / 27 * (C13 / C52 + 25 / 27 * (C14 / C53 + 25 / 27 * (C15 / C54 + 25 / 27 * (C16 / C55 + 25 / 27 * (C17 / C56 + 25 / 27 * (C18 / C57 + 25 / 27 * (C19 / C58 + 25 / 27 * (C20 / C59 + 25 / 27 * (C21 / C60 + 25 / 27 * (C22 / C61 + 25 / 27 * (C23 / C62 + 25 / 27 * (C24 / C63 + 25 / 27 * (C25 / C64 + 25 / 27 * (C26 / C65 + 25 / 27 * (C27 / C66 + 25 / 27 * (C28 / C67 + 25 / 27 * (C29 / C68 + 25 / 27 * (C30 / C69 + 25 / 27 * (C31 / C70 + 25 / 27 * (C32 / C71 + 25 / 27 * (C33 / C72 + 25 / 27 * (C34 / C73 + 25 / 27 * (C35 / C74 + 25 / 27 * (C36 / C75 + 25 / 27 * (C37 / C76 + 25 / 27 * (C38 / C77 + 25 / 27 * (C39 / C78 + 25 / 27 * (C40 / C79 + 25 / 27 * (C41 / C80 + 25 / 27 * (C42 / C81 + 25 / 27 * (C43 / C82 + 25 / 27 * (C44 / C83 + 25 / 27 * (C45 / C84 + 25 / 27 * (C46 / C85 + 25 / 27 * (C47 / C86 + 25 / 27 * (C48 / C87 + 25 / 27 * (C49 / C88 + 25 / 27 * (C50 / C89 + 25 / 27 * (C51 / C90 + 25 / 27 * (C52 / C91 + 25 / 27 * (C53 / C92 + 25 / 27 * (C54 / C93 + 25 / 27 * (C55 / C94 + 25 / 27 * (C56 / C95 + 25 / 27 * (C57 / C96 + 25 / 27 * (C58 / C97 + 25 / 27 * (C59 / C98)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) + 14.9625831043788 * (C / C52 + 25 / 27 * (C1 / C53 + 25 / 27 * (C2 / C54 + 25 / 27 * (C3 / C55 + 25 / 27 * (C4 / C56 + 25 / 27 * (C5 / C57 + 25 / 27 * (C6 / C58 + 25 / 27 * (C7 / C59 + 25 / 27 * (C8 / C60 + 25 / 27 * (C9 / C61 + 25 / 27 * (C10 / C62 + 25 / 27 * (C11 / C63 + 25 / 27 * (C12 / C64 + 25 / 27 * (C13 / C65 + 25 / 27 * (C14 / C66 + 25 / 27 * (C15 / C67 + 25 / 27 * (C16 / C68 + 25 / 27 * (C17 / C69 + 25 / 27 * (C18 / C70 + 25 / 27 * (C19 / C71 + 25 / 27 * (C20 / C72 + 25 / 27 * (C21 / C73 + 25 / 27 * (C22 / C74 + 25 / 27 * (C23 / C75 + 25 / 27 * (C24 / C76 + 25 / 27 * (C25 / C77 + 25 / 27 * (C26 / C78 + 25 / 27 * (C27 / C79 + 25 / 27 * (C28 / C80 + 25 / 27 * (C29 / C81 + 25 / 27 * (C30 / C82 + 25 / 27 * (C31 / C83 + 25 / 27 * (C32 / C84 + 25 / 27 * (C33 / C85 + 25 / 27 * (C34 / C86 + 25 / 27 * (C35 / C87 + 25 / 27 * (C36 / C88 + 25 / 27 * (C37 / C89 + 25 / 27 * (C38 / C90 + 25 / 27 * (C39 / C91 + 25 / 27 * (C40 / C92 + 25 / 27 * (C41 / C93 + 25 / 27 * (C42 / C94 + 25 / 27 * (C43 / C95 + 25 / 27 * (C44 / C96 + 25 / 27 * (C45 / C97 + 25 / 27 * (C46 / C98 + 25 / 27 * (C47 / C99 + 25 / 27 * (C48 / C100 + 25 / 27 * (C49 / C101 + 25 / 27 * (C50 / C102 + 25 / 27 * (C51 / C103 + 25 / 27 * (C52 / C104 + 25 / 27 * (C53 / C105 + 25 / 27 * (C54 / C106 + 25 / 27 * (C55 / C107 + 25 / 27 * (C56 / C108 + 25 / 27 * (C57 / C109 + 25 / 27 * (C58 / C110 + 25 / 27 * (C59 / C111)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) + 22.4438746565682 * (C / C78 + 25 / 27 * (C1 / C79 + 25 / 27 * (C2 / C80 + 25 / 27 * (C3 / C81 + 25 / 27 * (C4 / C82 + 25 / 27 * (C5 / C83 + 25 / 27 * (C6 / C84 + 25 / 27 * (C7 / C85 + 25 / 27 * (C8 / C86 + 25 / 27 * (C9 / C87 + 25 / 27 * (C10 / C88 + 25 / 27 * (C11 / C89 + 25 / 27 * (C12 / C90 + 25 / 27 * (C13 / C91 + 25 / 27 * (C14 / C92 + 25 / 27 * (C15 / C93 + 25 / 27 * (C16 / C94 + 25 / 27 * (C17 / C95 + 25 / 27 * (C18 / C96 + 25 / 27 * (C19 / C97 + 25 / 27 * (C20 / C98 + 25 / 27 * (C21 / C99 + 25 / 27 * (C22 / C100 + 25 / 27 * (C23 / C101 + 25 / 27 * (C24 / C102 + 25 / 27 * (C25 / C103 + 25 / 27 * (C26 / C104 + 25 / 27 * (C27 / C105 + 25 / 27 * (C28 / C106 + 25 / 27 * (C29 / C107 + 25 / 27 * (C30 / C108 + 25 / 27 * (C31 / C109 + 25 / 27 * (C32 / C110 + 25 / 27 * (C33 / C111 + 25 / 27 * (C34 / C112 + 25 / 27 * (C35 / C113 + 25 / 27 * (C36 / C114 + 25 / 27 * (C37 / C115 + 25 / 27 * (C38 / C116 + 25 / 27 * (C39 / C117 + 25 / 27 * (C40 / C118 + 25 / 27 * (C41 / C119 + 25 / 27 * (C42 / C120 + 25 / 27 * (C43 / C121 + 25 / 27 * (C44 / C122 + 25 / 27 * (C45 / C123 + 25 / 27 * (C46 / C124 + 25 / 27 * (C47 / C125 + 25 / 27 * (C48 / C126 + 25 / 27 * (C49 / C127 + 25 / 27 * (C50 / C128 + 25 / 27 * (C51 / C129 + 25 / 27 * (C52 / C130 + 25 / 27 * (C53 / C131 + 25 / 27 * (C54 / C132 + 25 / 27 * (C55 / C133 + 25 / 27 * (C56 / C134 + 25 / 27 * (C57 / C135 + 25 / 27 * (C58 / C136 + 25 / 27 * (C59 / C137)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) + 20.199742420091 * (C / C109 + .95 * (C1 / C110 + .95 * (C2 / C111 + .95 * (C3 / C112 + .95 * (C4 / C113 + .95 * (C5 / C114 + .95 * (C6 / C115 + .95 * (C7 / C116 + .95 * (C8 / C117 + .95 * (C9 / C118 + .95 * (C10 / C119 + .95 * (C11 / C120 + .95 * (C12 / C121 + .95 * (C13 / C122 + .95 * (C14 / C123 + .95 * (C15 / C124 + .95 * (C16 / C125 + .95 * (C17 / C126 + .95 * (C18 / C127 + .95 * (C19 / C128 + .95 * (C20 / C129 + .95 * (C21 / C130 + .95 * (C22 / C131 + .95 * (C23 / C132 + .95 * (C24 / C133 + .95 * (C25 / C134 + .95 * (C26 / C135 + .95 * (C27 / C136 + .95 * (C28 / C137 + .95 * (C29 / C138 + .95 * (C30 / C139 + .95 * (C31 / C140 + .95 * (C32 / C141 + .95 * (C33 / C142 + .95 * (C34 / C143 + .95 * (C35 / C144 + .95 * (C36 / C145 + .95 * (C37 / C146 + .95 * (C38 / C147 + .95 * (C39 / C148 + .95 * (C40 / C149 + .95 * (C41 / C150 + .95 * (C42 / C151 + .95 * (C43 / C152 + .95 * (C44 / C153 + .95 * (C45 / C154 + .95 * (C46 / C155 + .95 * (C47 / C156 + .95 * (C48 / C157 + .95 * (C49 / C158 + .95 * (C50 / C159 + .95 * (C51 / C160 + .95 * (C52 / C161 + .95 * (C53 / C162 + .95 * (C54 / C163 + .95 * (C55 / C164 + .95 * (C56 / C165 + .95 * (C57 / C166 + .95 * (C58 / C167 + .95 * (C59 / C168 + .95 * (C60 / C169 + .95 * (C61 / C170 + .95 * (C62 / C171 + .95 * (C63 / C172 + .95 * (C64 / C173 + .95 * (C65 / C174 + .95 * (C66 / C175 + .95 * (C67 / C176 + .95 * (C68 / C177 + .95 * (C69 / C178 + .95 * (C70 / C179 + .95 * (C71 / C180 + .95 * (C72 / C181 + .95 * (C73 / C182 + .95 * (C74 / C183 + .95 * (C75 / C184 + .95 * (C76 / C185 + .95 * (C77 / C186 + .95 * (C78 / C187 + .95 * (C79 / C188 + .95 * (C80 / C189 + .95 * (C81 / C190 + .95 * (C82 / C191 + .95 * (C83 / C192 + .95 * (C84 / C193 + .95 * (C85 / C194 + .95 * (C86 / C195 + .95 * (C87 / C196 + .95 * (C88 / C197 + .95 * (C89 / C198)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) - 1000

The formula is based on a 26-Period Exponential Moving Average of a 39-Period Price Percent Change plus two times a 26-Period EMA of a 52-Period PPC plus three times a 26-Period EMA of a 78-Period PPC plus four times a 39-Period EMA of a 109-Period PPC.

I am also providing a Simple version with the same Moving Average and Price Percent Change Periods:

Warning: This formula is long enough that using it as a Custom Indicator causes a short delay when switching charts on my system.

((C / C39 + C1 / C40 + C2 / C41 + C3 / C42 + C4 / C43 + C5 / C44 + C6 / C45 + C7 / C46 + C8 / C47 + C9 / C48 + C10 / C49 + C11 / C50 + C12 / C51 + C13 / C52 + C14 / C53 + C15 / C54 + C16 / C55 + C17 / C56 + C18 / C57 + C19 / C58 + C20 / C59 + C21 / C60 + C22 / C61 + C23 / C62 + C24 / C63 + C25 / C64) * 150 + (C / C52 + C1 / C53 + C2 / C54 + C3 / C55 + C4 / C56 + C5 / C57 + C6 / C58 + C7 / C59 + C8 / C60 + C9 / C61 + C10 / C62 + C11 / C63 + C12 / C64 + C13 / C65 + C14 / C66 + C15 / C67 + C16 / C68 + C17 / C69 + C18 / C70 + C19 / C71 + C20 / C72 + C21 / C73 + C22 / C74 + C23 / C75 + C24 / C76 + C25 / C77) * 300 + (C / C78 + C1 / C79 + C2 / C80 + C3 / C81 + C4 / C82 + C5 / C83 + C6 / C84 + C7 / C85 + C8 / C86 + C9 / C87 + C10 / C88 + C11 / C89 + C12 / C90 + C13 / C91 + C14 / C92 + C15 / C93 + C16 / C94 + C17 / C95 + C18 / C96 + C19 / C97 + C20 / C98 + C21 / C99 + C22 / C100 + C23 / C101 + C24 / C102 + C25 / C103) * 450 + (C / C109 + C1 / C110 + C2 / C111 + C3 / C112 + C4 / C113 + C5 / C114 + C6 / C115 + C7 / C116 + C8 / C117 + C9 / C118 + C10 / C119 + C11 / C120 + C12 / C121 + C13 / C122 + C14 / C123 + C15 / C124 + C16 / C125 + C17 / C126 + C18 / C127 + C19 / C128 + C20 / C129 + C21 / C130 + C22 / C131 + C23 / C132 + C24 / C133 + C25 / C134 + C26 / C135 + C27 / C136 + C28 / C137 + C29 / C138 + C30 / C139 + C31 / C140 + C32 / C141 + C33 / C142 + C34 / C143 + C35 / C144 + C36 / C145 + C37 / C146 + C38 / C147) * 400) / 39 - 1000



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Bruce_L
Posted : Monday, August 28, 2006 10:18:52 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Simple v18:

10 * (AVG(C / C3, 3) + 2 * AVG(C / C4, 4) + 3 * AVG(C / C6, 6) + 4 * AVG(C / C10, 8) - 10)

Exponential v18:

10 * (XAVG(C / C3, 3) + 2 * XAVG(C / C4, 4) + 3 * XAVG(C / C6, 6) + 4 * XAVG(C / C10, 8) - 10)

Short-term KST Weekly Exponential Moving Average:

Warning: This formula is long enough that using it as a Custom Indicator causes a short delay when switching charts on my system.

50.3937007874016 * (C / C3 + .5 * (C1 / C4 + .5 * (C2 / C5 + .5 * (C3 / C6 + .5 * (C4 / C7 + .5 * (C5 / C8 + .5 * (C6 / C9))))))) + 80.4866721282562 * (C / C4 + .6 * (C1 / C5 + .6 * (C2 / C6 + .6 * (C3 / C7 + .6 * (C4 / C8 + .6 * (C5 / C9 + .6 * (C6 / C10 + .6 * (C7 / C11 + .6 * (C8 / C12 + .6 * (C9 / C13)))))))))) + 86.4926568783441 * (C / C6 + 5 / 7 * (C1 / C7 + 5 / 7 * (C2 / C8 + 5 / 7 * (C3 / C9 + 5 / 7 * (C4 / C10 + 5 / 7 * (C5 / C11 + 5 / 7 * (C6 / C12 + 5 / 7 * (C7 / C13 + 5 / 7 * (C8 / C14 + 5 / 7 * (C9 / C15 + 5 / 7 * (C10 / C16 + 5 / 7 * (C11 / C17 + 5 / 7 * (C12 / C18 + 5 / 7 * (C13 / C19)))))))))))))) + 89.6453433982063 * (C / C10 + 7 / 9 * (C1 / C11 + 7 / 9 * (C2 / C12 + 7 / 9 * (C3 / C13 + 7 / 9 * (C4 / C14 + 7 / 9 * (C5 / C15 + 7 / 9 * (C6 / C16 + 7 / 9 * (C7 / C17 + 7 / 9 * (C8 / C18 + 7 / 9 * (C9 / C19 + 7 / 9 * (C10 / C20 + 7 / 9 * (C11 / C21 + 7 / 9 * (C12 / C22 + 7 / 9 * (C13 / C23 + 7 / 9 * (C14 / C24 + 7 / 9 * (C15 / C25 + 7 / 9 * (C16 / C26 + 7 / 9 * (C17 / C27 + 7 / 9 * (C18 / C28))))))))))))))))))) - 1000

The formula is based on a 3-Period Exponential Moving Average of a 3-Period Price Percent Change plus two times a 4-Period EMA of a 4-Period PPC plus three times a 6-Period EMA of a 6-Period PPC plus four times a 8-Period EMA of a 10-Period PPC.

I am also providing a Simple version with the same Moving Average and Price Percent Change Periods:

((C / C3 + C1 / C4 + C2 / C5) * 100 + (C / C4 + C1 / C5 + C2 / C6 + C3 / C7) * 150 + (C / C6 + C1 / C7 + C2 / C8 + C3 / C9 + C4 / C10 + C5 / C11) * 150 + (C / C10 + C1 / C11 + C2 / C12 + C3 / C13 + C4 / C14 + C5 / C15 + C6 / C16 + C7 / C17) * 150) / 3 - 1000



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Aces4Me
Posted : Friday, November 30, 2018 9:20:59 PM
Registered User
Joined: 4/30/2015
Posts: 197

is there a short version for tc2000 v18

Aces4Me
Posted : Sunday, December 2, 2018 12:54:38 PM
Registered User
Joined: 4/30/2015
Posts: 197

hoping new v18 shorter format can make easier to create faster version

I would like formula for

30 20 10 5 with smoothing 5 5 5 5 and moving averge signal line 5

 

 

 

Bruce_L
Posted : Monday, December 3, 2018 10:07:13 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

The formula is based on a 5-Period Simple Moving Average of a 30-Period Price Percent Change plus two times a 5-Period SMA of a 20-Period PPC plus three times a 5-Period SMA of a 10-Period PPC plus four times a 5-Period SMA of a 5-Period PPC.

Simple Pring KST (30, 5), (20, 5), (10, 5), (5, 5)

10 * (AVG(C / C30 + 2 * C / C20 + 3 * C / C10 + 4 * C / C5, 5) - 10)

Simple 5 period signal line

10 * (AVG(AVG(C / C30 + 2 * C / C20 + 3 * C / C10 + 4 * C / C5, 5), 5) - 10)

Note that this seems a bit backward as the shorter PPCs usually come first when specifying the settings of the KST. So normally more weight is applied to the longer periods. As specified, more weight is being applied to the shorter periods.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Aces4Me
Posted : Monday, December 3, 2018 5:08:42 PM
Registered User
Joined: 4/30/2015
Posts: 197

yes seem backwards to me when i saw some examples  i have ran some samples on other platform good for FAST reversals

 

thanks

Aces4Me
Posted : Monday, December 3, 2018 5:10:51 PM
Registered User
Joined: 4/30/2015
Posts: 197

and of course in this format, anyone can see how to modify

Bruce_L
Posted : Tuesday, December 4, 2018 12:24:45 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

I have added version 18 formulas to all of the older posts as well.



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