Registered User Joined: 3/22/2005 Posts: 88
|
I need help writing an accurate PCF for 9 EMA >15 EMA >25 EMA >35 EMA on a two-day chart on TC2000 v. 7.
Please find below what I have written if this is OK.
XAVGC18 > XAVGC30 AND XAVGC30 > XAVGC50 AND XAVGC50 > XAVGC70
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
It is a reasonable approximation and it may actually be preferable to using the actual EMAs from the 2-day chart, but it isn't going to match. Please try the following instead.
.20019827 * (C + .8 * (C2 + .8 * (C4 + .8 * (C6 + .8 * (C8 + .8 * (C10 + .8 * (C12 + .8 * (C14 + .8 * (C16 + .8 * (C18 + .8 * (C20 + .8 * (C22 + .8 * (C24 + .8 * (C26 + .8 * (C28 + .8 * (C30 + .8 * (C32 + .8 * (C34 + .8 * (C36 + .8 * (C38 + .8 * (C40 + .8 * (C42 + .8 * (C44 + .8 * (C46 + .8 * (C48 + .8 * (C50 + .8 * (C52 + .8 * (C54 + .8 * (C56 + .8 * (C58 + .8 * (C60))))))))))))))))))))))))))))))) > .12512071 * (C + .875 * (C2 + .875 * (C4 + .875 * (C6 + .875 * (C8 + .875 * (C10 + .875 * (C12 + .875 * (C14 + .875 * (C16 + .875 * (C18 + .875 * (C20 + .875 * (C22 + .875 * (C24 + .875 * (C26 + .875 * (C28 + .875 * (C30 + .875 * (C32 + .875 * (C34 + .875 * (C36 + .875 * (C38 + .875 * (C40 + .875 * (C42 + .875 * (C44 + .875 * (C46 + .875 * (C48 + .875 * (C50 + .875 * (C52 + .875 * (C54 + .875 * (C56 + .875 * (C58 + .875 * (C60 + .875 * (C62 + .875 * (C64 + .875 * (C66 + .875 * (C68 + .875 * (C70 + .875 * (C72 + .875 * (C74 + .875 * (C76 + .875 * (C78 + .875 * (C80 + .875 * (C82 + .875 * (C84 + .875 * (C86 + .875 * (C88 + .875 * (C90 + .875 * (C92 + .875 * (C94 + .875 * (C96 + .875 * (C98 + .875 * (C100 + .875 * (C102)))))))))))))))))))))))))))))))))))))))))))))))))))) AND .12512071 * (C + .875 * (C2 + .875 * (C4 + .875 * (C6 + .875 * (C8 + .875 * (C10 + .875 * (C12 + .875 * (C14 + .875 * (C16 + .875 * (C18 + .875 * (C20 + .875 * (C22 + .875 * (C24 + .875 * (C26 + .875 * (C28 + .875 * (C30 + .875 * (C32 + .875 * (C34 + .875 * (C36 + .875 * (C38 + .875 * (C40 + .875 * (C42 + .875 * (C44 + .875 * (C46 + .875 * (C48 + .875 * (C50 + .875 * (C52 + .875 * (C54 + .875 * (C56 + .875 * (C58 + .875 * (C60 + .875 * (C62 + .875 * (C64 + .875 * (C66 + .875 * (C68 + .875 * (C70 + .875 * (C72 + .875 * (C74 + .875 * (C76 + .875 * (C78 + .875 * (C80 + .875 * (C82 + .875 * (C84 + .875 * (C86 + .875 * (C88 + .875 * (C90 + .875 * (C92 + .875 * (C94 + .875 * (C96 + .875 * (C98 + .875 * (C100 + .875 * (C102)))))))))))))))))))))))))))))))))))))))))))))))))))) > .076995882 * (C + 12 / 13 * (C2 + 12 / 13 * (C4 + 12 / 13 * (C6 + 12 / 13 * (C8 + 12 / 13 * (C10 + 12 / 13 * (C12 + 12 / 13 * (C14 + 12 / 13 * (C16 + 12 / 13 * (C18 + 12 / 13 * (C20 + 12 / 13 * (C22 + 12 / 13 * (C24 + 12 / 13 * (C26 + 12 / 13 * (C28 + 12 / 13 * (C30 + 12 / 13 * (C32 + 12 / 13 * (C34 + 12 / 13 * (C36 + 12 / 13 * (C38 + 12 / 13 * (C40 + 12 / 13 * (C42 + 12 / 13 * (C44 + 12 / 13 * (C46 + 12 / 13 * (C48 + 12 / 13 * (C50 + 12 / 13 * (C52 + 12 / 13 * (C54 + 12 / 13 * (C56 + 12 / 13 * (C58 + 12 / 13 * (C60 + 12 / 13 * (C62 + 12 / 13 * (C64 + 12 / 13 * (C66 + 12 / 13 * (C68 + 12 / 13 * (C70 + 12 / 13 * (C72 + 12 / 13 * (C74 + 12 / 13 * (C76 + 12 / 13 * (C78 + 12 / 13 * (C80 + 12 / 13 * (C82 + 12 / 13 * (C84 + 12 / 13 * (C86 + 12 / 13 * (C88 + 12 / 13 * (C90 + 12 / 13 * (C92 + 12 / 13 * (C94 + 12 / 13 * (C96 + 12 / 13 * (C98 + 12 / 13 * (C100 + 12 / 13 * (C102 + 12 / 13 * (C104 + 12 / 13 * (C106 + 12 / 13 * (C108 + 12 / 13 * (C110 + 12 / 13 * (C112 + 12 / 13 * (C114 + 12 / 13 * (C116 + 12 / 13 * (C118 + 12 / 13 * (C120 + 12 / 13 * (C122 + 12 / 13 * (C124 + 12 / 13 * (C126 + 12 / 13 * (C128 + 12 / 13 * (C130 + 12 / 13 * (C132 + 12 / 13 * (C134 + 12 / 13 * (C136 + 12 / 13 * (C138 + 12 / 13 * (C140 + 12 / 13 * (C142 + 12 / 13 * (C144 + 12 / 13 * (C146 + 12 / 13 * (C148 + 12 / 13 * (C150 + 12 / 13 * (C152 + 12 / 13 * (C154 + 12 / 13 * (C156 + 12 / 13 * (C158 + 12 / 13 * (C160 + 12 / 13 * (C162 + 12 / 13 * (C164 + 12 / 13 * (C166 + 12 / 13 * (C168 + 12 / 13 * (C170 + 12 / 13 * (C172))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) AND .076995882 * (C + 12 / 13 * (C2 + 12 / 13 * (C4 + 12 / 13 * (C6 + 12 / 13 * (C8 + 12 / 13 * (C10 + 12 / 13 * (C12 + 12 / 13 * (C14 + 12 / 13 * (C16 + 12 / 13 * (C18 + 12 / 13 * (C20 + 12 / 13 * (C22 + 12 / 13 * (C24 + 12 / 13 * (C26 + 12 / 13 * (C28 + 12 / 13 * (C30 + 12 / 13 * (C32 + 12 / 13 * (C34 + 12 / 13 * (C36 + 12 / 13 * (C38 + 12 / 13 * (C40 + 12 / 13 * (C42 + 12 / 13 * (C44 + 12 / 13 * (C46 + 12 / 13 * (C48 + 12 / 13 * (C50 + 12 / 13 * (C52 + 12 / 13 * (C54 + 12 / 13 * (C56 + 12 / 13 * (C58 + 12 / 13 * (C60 + 12 / 13 * (C62 + 12 / 13 * (C64 + 12 / 13 * (C66 + 12 / 13 * (C68 + 12 / 13 * (C70 + 12 / 13 * (C72 + 12 / 13 * (C74 + 12 / 13 * (C76 + 12 / 13 * (C78 + 12 / 13 * (C80 + 12 / 13 * (C82 + 12 / 13 * (C84 + 12 / 13 * (C86 + 12 / 13 * (C88 + 12 / 13 * (C90 + 12 / 13 * (C92 + 12 / 13 * (C94 + 12 / 13 * (C96 + 12 / 13 * (C98 + 12 / 13 * (C100 + 12 / 13 * (C102 + 12 / 13 * (C104 + 12 / 13 * (C106 + 12 / 13 * (C108 + 12 / 13 * (C110 + 12 / 13 * (C112 + 12 / 13 * (C114 + 12 / 13 * (C116 + 12 / 13 * (C118 + 12 / 13 * (C120 + 12 / 13 * (C122 + 12 / 13 * (C124 + 12 / 13 * (C126 + 12 / 13 * (C128 + 12 / 13 * (C130 + 12 / 13 * (C132 + 12 / 13 * (C134 + 12 / 13 * (C136 + 12 / 13 * (C138 + 12 / 13 * (C140 + 12 / 13 * (C142 + 12 / 13 * (C144 + 12 / 13 * (C146 + 12 / 13 * (C148 + 12 / 13 * (C150 + 12 / 13 * (C152 + 12 / 13 * (C154 + 12 / 13 * (C156 + 12 / 13 * (C158 + 12 / 13 * (C160 + 12 / 13 * (C162 + 12 / 13 * (C164 + 12 / 13 * (C166 + 12 / 13 * (C168 + 12 / 13 * (C170 + 12 / 13 * (C172))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) > .0556107 * (C + 17 / 18 * (C2 + 17 / 18 * (C4 + 17 / 18 * (C6 + 17 / 18 * (C8 + 17 / 18 * (C10 + 17 / 18 * (C12 + 17 / 18 * (C14 + 17 / 18 * (C16 + 17 / 18 * (C18 + 17 / 18 * (C20 + 17 / 18 * (C22 + 17 / 18 * (C24 + 17 / 18 * (C26 + 17 / 18 * (C28 + 17 / 18 * (C30 + 17 / 18 * (C32 + 17 / 18 * (C34 + 17 / 18 * (C36 + 17 / 18 * (C38 + 17 / 18 * (C40 + 17 / 18 * (C42 + 17 / 18 * (C44 + 17 / 18 * (C46 + 17 / 18 * (C48 + 17 / 18 * (C50 + 17 / 18 * (C52 + 17 / 18 * (C54 + 17 / 18 * (C56 + 17 / 18 * (C58 + 17 / 18 * (C60 + 17 / 18 * (C62 + 17 / 18 * (C64 + 17 / 18 * (C66 + 17 / 18 * (C68 + 17 / 18 * (C70 + 17 / 18 * (C72 + 17 / 18 * (C74 + 17 / 18 * (C76 + 17 / 18 * (C78 + 17 / 18 * (C80 + 17 / 18 * (C82 + 17 / 18 * (C84 + 17 / 18 * (C86 + 17 / 18 * (C88 + 17 / 18 * (C90 + 17 / 18 * (C92 + 17 / 18 * (C94 + 17 / 18 * (C96 + 17 / 18 * (C98 + 17 / 18 * (C100 + 17 / 18 * (C102 + 17 / 18 * (C104 + 17 / 18 * (C106 + 17 / 18 * (C108 + 17 / 18 * (C110 + 17 / 18 * (C112 + 17 / 18 * (C114 + 17 / 18 * (C116 + 17 / 18 * (C118 + 17 / 18 * (C120 + 17 / 18 * (C122 + 17 / 18 * (C124 + 17 / 18 * (C126 + 17 / 18 * (C128 + 17 / 18 * (C130 + 17 / 18 * (C132 + 17 / 18 * (C134 + 17 / 18 * (C136 + 17 / 18 * (C138 + 17 / 18 * (C140 + 17 / 18 * (C142 + 17 / 18 * (C144 + 17 / 18 * (C146 + 17 / 18 * (C148 + 17 / 18 * (C150 + 17 / 18 * (C152 + 17 / 18 * (C154 + 17 / 18 * (C156 + 17 / 18 * (C158 + 17 / 18 * (C160 + 17 / 18 * (C162 + 17 / 18 * (C164 + 17 / 18 * (C166 + 17 / 18 * (C168 + 17 / 18 * (C170 + 17 / 18 * (C172 + 17 / 18 * (C174 + 17 / 18 * (C176 + 17 / 18 * (C178 + 17 / 18 * (C180 + 17 / 18 * (C182 + 17 / 18 * (C184 + 17 / 18 * (C186 + 17 / 18 * (C188 + 17 / 18 * (C190 + 17 / 18 * (C192 + 17 / 18 * (C194 + 17 / 18 * (C196 + 17 / 18 * (C198 + 17 / 18 * (C200 + 17 / 18 * (C202 + 17 / 18 * (C204 + 17 / 18 * (C206 + 17 / 18 * (C208 + 17 / 18 * (C210 + 17 / 18 * (C212 + 17 / 18 * (C214 + 17 / 18 * (C216 + 17 / 18 * (C218 + 17 / 18 * (C220 + 17 / 18 * (C222 + 17 / 18 * (C224 + 17 / 18 * (C226 + 17 / 18 * (C228 + 17 / 18 * (C230 + 17 / 18 * (C232 + 17 / 18 * (C234 + 17 / 18 * (C236 + 17 / 18 * (C238 + 17 / 18 * (C240)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 3/22/2005 Posts: 88
|
Thank you, very much, Bruce.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|