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 |

Linear regression 180 PCF Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
jynkin
Posted : Tuesday, May 8, 2012 12:06:50 PM
Registered User
Joined: 10/7/2004
Posts: 286

Any chance you'd have a 180 day Linear regression PCF?  Thanks, jynkin

Bruce_L
Posted : Tuesday, May 8, 2012 12:26:02 PM


Worden Trainer

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

An Indicator Formula for the right-endpoint of a 180-Period Linear Regression could be written as:

AVGC180 + 89.5 * (89.5 * C + 88.5 * C1 + 87.5 * C2 + 86.5 * C3 + 85.5 * C4 + 84.5 * C5 + 83.5 * C6 + 82.5 * C7 + 81.5 * C8 + 80.5 * C9 + 79.5 * C10 + 78.5 * C11 + 77.5 * C12 + 76.5 * C13 + 75.5 * C14 + 74.5 * C15 + 73.5 * C16 + 72.5 * C17 + 71.5 * C18 + 70.5 * C19 + 69.5 * C20 + 68.5 * C21 + 67.5 * C22 + 66.5 * C23 + 65.5 * C24 + 64.5 * C25 + 63.5 * C26 + 62.5 * C27 + 61.5 * C28 + 60.5 * C29 + 59.5 * C30 + 58.5 * C31 + 57.5 * C32 + 56.5 * C33 + 55.5 * C34 + 54.5 * C35 + 53.5 * C36 + 52.5 * C37 + 51.5 * C38 + 50.5 * C39 + 49.5 * C40 + 48.5 * C41 + 47.5 * C42 + 46.5 * C43 + 45.5 * C44 + 44.5 * C45 + 43.5 * C46 + 42.5 * C47 + 41.5 * C48 + 40.5 * C49 + 39.5 * C50 + 38.5 * C51 + 37.5 * C52 + 36.5 * C53 + 35.5 * C54 + 34.5 * C55 + 33.5 * C56 + 32.5 * C57 + 31.5 * C58 + 30.5 * C59 + 29.5 * C60 + 28.5 * C61 + 27.5 * C62 + 26.5 * C63 + 25.5 * C64 + 24.5 * C65 + 23.5 * C66 + 22.5 * C67 + 21.5 * C68 + 20.5 * C69 + 19.5 * C70 + 18.5 * C71 + 17.5 * C72 + 16.5 * C73 + 15.5 * C74 + 14.5 * C75 + 13.5 * C76 + 12.5 * C77 + 11.5 * C78 + 10.5 * C79 + 9.5 * C80 + 8.5 * C81 + 7.5 * C82 + 6.5 * C83 + 5.5 * C84 + 4.5 * C85 + 3.5 * C86 + 2.5 * C87 + 1.5 * C88 + .5 * C89 - .5 * C90 - 1.5 * C91 - 2.5 * C92 - 3.5 * C93 - 4.5 * C94 - 5.5 * C95 - 6.5 * C96 - 7.5 * C97 - 8.5 * C98 - 9.5 * C99 - 10.5 * C100 - 11.5 * C101 - 12.5 * C102 - 13.5 * C103 - 14.5 * C104 - 15.5 * C105 - 16.5 * C106 - 17.5 * C107 - 18.5 * C108 - 19.5 * C109 - 20.5 * C110 - 21.5 * C111 - 22.5 * C112 - 23.5 * C113 - 24.5 * C114 - 25.5 * C115 - 26.5 * C116 - 27.5 * C117 - 28.5 * C118 - 29.5 * C119 - 30.5 * C120 - 31.5 * C121 - 32.5 * C122 - 33.5 * C123 - 34.5 * C124 - 35.5 * C125 - 36.5 * C126 - 37.5 * C127 - 38.5 * C128 - 39.5 * C129 - 40.5 * C130 - 41.5 * C131 - 42.5 * C132 - 43.5 * C133 - 44.5 * C134 - 45.5 * C135 - 46.5 * C136 - 47.5 * C137 - 48.5 * C138 - 49.5 * C139 - 50.5 * C140 - 51.5 * C141 - 52.5 * C142 - 53.5 * C143 - 54.5 * C144 - 55.5 * C145 - 56.5 * C146 - 57.5 * C147 - 58.5 * C148 - 59.5 * C149 - 60.5 * C150 - 61.5 * C151 - 62.5 * C152 - 63.5 * C153 - 64.5 * C154 - 65.5 * C155 - 66.5 * C156 - 67.5 * C157 - 68.5 * C158 - 69.5 * C159 - 70.5 * C160 - 71.5 * C161 - 72.5 * C162 - 73.5 * C163 - 74.5 * C164 - 75.5 * C165 - 76.5 * C166 - 77.5 * C167 - 78.5 * C168 - 79.5 * C169 - 80.5 * C170 - 81.5 * C171 - 82.5 * C172 - 83.5 * C173 - 84.5 * C174 - 85.5 * C175 - 86.5 * C176 - 87.5 * C177 - 88.5 * C178 - 89.5 * C179) / 485985

Using Linear Regression vs Classical Peaks/Valleys for Divergence Analysis
Linear regression channel calculations



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jynkin
Posted : Tuesday, May 8, 2012 12:33:34 PM
Registered User
Joined: 10/7/2004
Posts: 286

Thanks again Bruce...you do good work. jynkin

jynkin
Posted : Tuesday, May 8, 2012 1:40:49 PM
Registered User
Joined: 10/7/2004
Posts: 286

I need one more LR PCF....the 50 day linear regression.  thx. jynkin

Bruce_L
Posted : Tuesday, May 8, 2012 1:43:56 PM


Worden Trainer

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

Please try the following:

AVGC50 + 24.5 * (24.5 * C + 23.5 * C1 + 22.5 * C2 + 21.5 * C3 + 20.5 * C4 + 19.5 * C5 + 18.5 * C6 + 17.5 * C7 + 16.5 * C8 + 15.5 * C9 + 14.5 * C10 + 13.5 * C11 + 12.5 * C12 + 11.5 * C13 + 10.5 * C14 + 9.5 * C15 + 8.5 * C16 + 7.5 * C17 + 6.5 * C18 + 5.5 * C19 + 4.5 * C20 + 3.5 * C21 + 2.5 * C22 + 1.5 * C23 + .5 * C24 - .5 * C25 - 1.5 * C26 - 2.5 * C27 - 3.5 * C28 - 4.5 * C29 - 5.5 * C30 - 6.5 * C31 - 7.5 * C32 - 8.5 * C33 - 9.5 * C34 - 10.5 * C35 - 11.5 * C36 - 12.5 * C37 - 13.5 * C38 - 14.5 * C39 - 15.5 * C40 - 16.5 * C41 - 17.5 * C42 - 18.5 * C43 - 19.5 * C44 - 20.5 * C45 - 21.5 * C46 - 22.5 * C47 - 23.5 * C48 - 24.5 * C49) / 10412.5



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jynkin
Posted : Tuesday, May 8, 2012 2:24:16 PM
Registered User
Joined: 10/7/2004
Posts: 286

thx y kindly.  j

Bruce_L
Posted : Tuesday, May 8, 2012 2:44:07 PM


Worden Trainer

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

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.