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

TRIX Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Mark
Posted : Saturday, August 28, 2010 10:55:43 AM
Registered User
Joined: 10/7/2004
Posts: 76

Please see the Triple Exponential Moving Average (TRIX) topic for improved syntax in TC2000 v17+.

How can I create a PCF for TRIX so I can create a custom scan base on TRIX

Bruce_L
Posted : Monday, August 30, 2010 9:50:47 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
How do you wish to calculate TRIX and what Period do you wish to use?

TRIX I:

1)  EMA(1):  Calculate the P-period EMA of closing price.
2)  EMA(2):  Calculate the P-period EMA of EMA(1).
3)  EMA(3):  Calculate the P-period EMA of EMA(2).
4)  TRIX:  (EMA(3)[today] - EMA(3)[yesterday]) / EMA(3)[yesterday]

TRIX II:

1)  EMA(1):  Calculate the P-period EMA of the logarithm of closing price.
2)  EMA(2):  Calculate the P-period EMA of EMA(1).
3)  EMA(3):  Calculate the P-period EMA of EMA(2).
4)  TRIX:  EMA(3)[today] - EMA(3)[yesterday]

TRIX III:

1)  EMA(1):  Calculate the P-period EMA of closing price.
2)  EMA(2):  Calculate the P-period EMA of EMA(1).
3)  EMA(3):  Calculate the P-period EMA of EMA(2).
4)  TRIX:  EMA(3)[today] - EMA(3)[yesterday]

How to plot TRIX - triple exponential average

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
mjtran
Posted : Wednesday, April 4, 2012 7:07:05 PM
Gold Customer Gold Customer

Joined: 2/1/2006
Posts: 98

Can you help me with the 2nd TRIX method for a period of 7?

 

Thank you much for your help,

-mjtran

Bruce_L
Posted : Thursday, April 5, 2012 9:20:37 AM


Worden Trainer

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

Please try the following:

Cascades of Moving Averages

.0156374759289325 * (LOG(C ) - LOG(C1) + .75 * (3 * (LOG(C1) - LOG(C2)) + .75 * (6 * (LOG(C2) - LOG(C3)) + .75 * (10 * (LOG(C3) - LOG(C4)) + .75 * (15 * (LOG(C4) - LOG(C5)) + .75 * (21 * (LOG(C5) - LOG(C6)) + .75 * (28 * (LOG(C6) - LOG(C7)) + .75 * (36 * (LOG(C7) - LOG(C8)) + .75 * (45 * (LOG(C8) - LOG(C9)) + .75 * (55 * (LOG(C9) - LOG(C10)) + .75 * (66 * (LOG(C10) - LOG(C11)) + .75 * (78 * (LOG(C11) - LOG(C12)) + .75 * (91 * (LOG(C12) - LOG(C13)) + .75 * (105 * (LOG(C13) - LOG(C14)) + .75 * (120 * (LOG(C14) - LOG(C15)) + .75 * (136 * (LOG(C15) - LOG(C16)) + .75 * (153 * (LOG(C16) - LOG(C17)) + .75 * (171 * (LOG(C17) - LOG(C18)) + .75 * (190 * (LOG(C18) - LOG(C19)) + .75 * (210 * (LOG(C19) - LOG(C20)) + .75 * (231 * (LOG(C20) - LOG(C21)) + .75 * (253 * (LOG(C21) - LOG(C22)) + .75 * (276 * (LOG(C22) - LOG(C23)) + .75 * (300 * (LOG(C23) - LOG(C24)) + .75 * (325 * (LOG(C24) - LOG(C25)) + .75 * (351 * (LOG(C25) - LOG(C26)) + .75 * (378 * (LOG(C26) - LOG(C27)) + .75 * (406 * (LOG(C27) - LOG(C28)) + .75 * (435 * (LOG(C28) - LOG(C29)) + .75 * (465 * (LOG(C29) - LOG(C30)) + .75 * (496 * (LOG(C30) - LOG(C31)) + .75 * (528 * (LOG(C31) - LOG(C32)) + .75 * (561 * (LOG(C32) - LOG(C33)) + .75 * (595 * (LOG(C33) - LOG(C34)) + .75 * (630 * (LOG(C34) - LOG(C35)) + .75 * (666 * (LOG(C35) - LOG(C36)) + .75 * (703 * (LOG(C36) - LOG(C37)) + .75 * (741 * (LOG(C37) - LOG(C38)) + .75 * (780 * (LOG(C38) - LOG(C39)))))))))))))))))))))))))))))))))))))))))



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