Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 10/29/2004 Posts: 5
|
Can you please help me in writing the PCF for MACD histograph crossing up from o today in 3days and 5 days chart with exp. moving averages 12 & 26 with 9 period. Thanks chandru
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try the following:
3 Days Per Bar:
.06385179 * C + .0365404 * C3 + .01727888 * C6 + .0040332 * C9 - .0047567 * C12 - .01028218 * C15 - .01344849 * C18 - .01493949 * C21 - .01526823 * C24 - .01481645 * C27 - .01386536 * C30 - .01261959 * C33 - .01122564 * C36 - .00978632 * C39 - .0083717 * C42 - .00702763 * C45 - .00578224 * C48 - .00465079 * C51 - .00363947 * C54 - .00274818 * C57 - .00197256 * C60 - .00130562 * C63 - .00073878 * C66 - .00026271 * C69 + .00013211 * C72 + .00045501 * C75 + .00071486 * C78 + .00091994 * C81 + .00107785 * C84 + .00119546 * C87 + .00127891 * C90 + .00133368 * C93 + .00136454 * C96 + .0013757 * C99 + .00137079 * C102 + .00135294 * C105 + .00132483 * C108 + .00128874 * C111 + .00124661 * C114 + .00120006 * C117 + .00115044 * C120 + .00109888 * C123 + .0010463 * C126 + .00099346 * C129 + .00094095 * C132 + .00088926 * C135 + .00083877 * C138 + .00078976 * C141 + .00074245 * C144 + .000697 * C147 + .0006535 * C150 + .00061202 * C153 + .00057258 * C156 + .00053519 * C159 + .00049981 * C162 + .00046642 * C165 + .00043496 * C168 + .00040537 * C171 + .00037757 * C174 + .0003515 * C177 + .00032707 * C180 + .00030421 * C183 + .00028284 * C186 + .00026287 * C189 + .00024423 * C192 + .00022685 * C195 + .00021065 * C198 + .00019556 * C201 + .0001815 * C204 + .00016843 * C207 + .00015626 * C210 + .00014495 * C213 + .00013444 * C216 + .00012467 * C219 + .0001156 * C222 + .00010717 * C225 + .00009935 * C228 + .00009209 * C231 + .00008535 * C234 + .0000791 * C237 + .0000733 * C240 + .00006792 * C243 + .00006293 * C246 + .0000583 * C249 + .00005402 * C252 + .00005004 * C255 + .00004636 * C258 + .00004294 * C261 + .00003978 * C264 + .00003684 * C267 > 0 AND .06385179 * C3 + .0365404 * C6 + .01727888 * C9 + .0040332 * C12 - .0047567 * C15 - .01028218 * C18 - .01344849 * C21 - .01493949 * C24 - .01526823 * C27 - .01481645 * C30 - .01386536 * C33 - .01261959 * C36 - .01122564 * C39 - .00978632 * C42 - .0083717 * C45 - .00702763 * C48 - .00578224 * C51 - .00465079 * C54 - .00363947 * C57 - .00274818 * C60 - .00197256 * C63 - .00130562 * C66 - .00073878 * C69 - .00026271 * C72 + .00013211 * C75 + .00045501 * C78 + .00071486 * C81 + .00091994 * C84 + .00107785 * C87 + .00119546 * C90 + .00127891 * C93 + .00133368 * C96 + .00136454 * C99 + .0013757 * C102 + .00137079 * C105 + .00135294 * C108 + .00132483 * C111 + .00128874 * C114 + .00124661 * C117 + .00120006 * C120 + .00115044 * C123 + .00109888 * C126 + .0010463 * C129 + .00099346 * C132 + .00094095 * C135 + .00088926 * C138 + .00083877 * C141 + .00078976 * C144 + .00074245 * C147 + .000697 * C150 + .0006535 * C153 + .00061202 * C156 + .00057258 * C159 + .00053519 * C162 + .00049981 * C165 + .00046642 * C168 + .00043496 * C171 + .00040537 * C174 + .00037757 * C177 + .0003515 * C180 + .00032707 * C183 + .00030421 * C186 + .00028284 * C189 + .00026287 * C192 + .00024423 * C195 + .00022685 * C198 + .00021065 * C201 + .00019556 * C204 + .0001815 * C207 + .00016843 * C210 + .00015626 * C213 + .00014495 * C216 + .00013444 * C219 + .00012467 * C222 + .0001156 * C225 + .00010717 * C228 + .00009935 * C231 + .00009209 * C234 + .00008535 * C237 + .0000791 * C240 + .0000733 * C243 + .00006792 * C246 + .00006293 * C249 + .0000583 * C252 + .00005402 * C255 + .00005004 * C258 + .00004636 * C261 + .00004294 * C264 + .00003978 * C267 + .00003684 * C270 <= 0
5 Days Per Bar:
.06385179 * C + .0365404 * C5 + .01727888 * C10 + .0040332 * C15 - .0047567 * C20 - .01028218 * C25 - .01344849 * C30 - .01493949 * C35 - .01526823 * C40 - .01481645 * C45 - .01386536 * C50 - .01261959 * C55 - .01122564 * C60 - .00978632 * C65 - .0083717 * C70 - .00702763 * C75 - .00578224 * C80 - .00465079 * C85 - .00363947 * C90 - .00274818 * C95 - .00197256 * C100 - .00130562 * C105 - .00073878 * C110 - .00026271 * C115 + .00013211 * C120 + .00045501 * C125 + .00071486 * C130 + .00091994 * C135 + .00107785 * C140 + .00119546 * C145 + .00127891 * C150 + .00133368 * C155 + .00136454 * C160 + .0013757 * C165 + .00137079 * C170 + .00135294 * C175 + .00132483 * C180 + .00128874 * C185 + .00124661 * C190 + .00120006 * C195 + .00115044 * C200 + .00109888 * C205 + .0010463 * C210 + .00099346 * C215 + .00094095 * C220 + .00088926 * C225 + .00083877 * C230 + .00078976 * C235 + .00074245 * C240 + .000697 * C245 + .0006535 * C250 + .00061202 * C255 + .00057258 * C260 + .00053519 * C265 + .00049981 * C270 + .00046642 * C275 + .00043496 * C280 + .00040537 * C285 + .00037757 * C290 + .0003515 * C295 + .00032707 * C300 + .00030421 * C305 + .00028284 * C310 + .00026287 * C315 + .00024423 * C320 + .00022685 * C325 + .00021065 * C330 + .00019556 * C335 + .0001815 * C340 + .00016843 * C345 + .00015626 * C350 + .00014495 * C355 + .00013444 * C360 + .00012467 * C365 + .0001156 * C370 + .00010717 * C375 + .00009935 * C380 + .00009209 * C385 + .00008535 * C390 + .0000791 * C395 + .0000733 * C400 + .00006792 * C405 + .00006293 * C410 + .0000583 * C415 + .00005402 * C420 + .00005004 * C425 + .00004636 * C430 + .00004294 * C435 + .00003978 * C440 + .00003684 * C445 > 0 AND .06385179 * C5 + .0365404 * C10 + .01727888 * C15 + .0040332 * C20 - .0047567 * C25 - .01028218 * C30 - .01344849 * C35 - .01493949 * C40 - .01526823 * C45 - .01481645 * C50 - .01386536 * C55 - .01261959 * C60 - .01122564 * C65 - .00978632 * C70 - .0083717 * C75 - .00702763 * C80 - .00578224 * C85 - .00465079 * C90 - .00363947 * C95 - .00274818 * C100 - .00197256 * C105 - .00130562 * C110 - .00073878 * C115 - .00026271 * C120 + .00013211 * C125 + .00045501 * C130 + .00071486 * C135 + .00091994 * C140 + .00107785 * C145 + .00119546 * C150 + .00127891 * C155 + .00133368 * C160 + .00136454 * C165 + .0013757 * C170 + .00137079 * C175 + .00135294 * C180 + .00132483 * C185 + .00128874 * C190 + .00124661 * C195 + .00120006 * C200 + .00115044 * C205 + .00109888 * C210 + .0010463 * C215 + .00099346 * C220 + .00094095 * C225 + .00088926 * C230 + .00083877 * C235 + .00078976 * C240 + .00074245 * C245 + .000697 * C250 + .0006535 * C255 + .00061202 * C260 + .00057258 * C265 + .00053519 * C270 + .00049981 * C275 + .00046642 * C280 + .00043496 * C285 + .00040537 * C290 + .00037757 * C295 + .0003515 * C300 + .00032707 * C305 + .00030421 * C310 + .00028284 * C315 + .00026287 * C320 + .00024423 * C325 + .00022685 * C330 + .00021065 * C335 + .00019556 * C340 + .0001815 * C345 + .00016843 * C350 + .00015626 * C355 + .00014495 * C360 + .00013444 * C365 + .00012467 * C370 + .0001156 * C375 + .00010717 * C380 + .00009935 * C385 + .00009209 * C390 + .00008535 * C395 + .0000791 * C400 + .0000733 * C405 + .00006792 * C410 + .00006293 * C415 + .0000583 * C420 + .00005402 * C425 + .00005004 * C430 + .00004636 * C435 + .00004294 * C440 + .00003978 * C445 + .00003684 * C450 <= 0
You may wish to review the following:
How to create a Personal Criteria Forumula (PCF) Understanding MACD Handy PCF example formulas to help you learn the syntax of PCFs! PCF Formula Descriptions
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 10/29/2004 Posts: 5
|
Bruce Thanks for your help chandru
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |