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 |

MACD(H)'s for N-day Bars - an archive of PCF's Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Tanstaafl
Posted : Monday, February 21, 2005 3:56:39 PM
Registered User
Joined: 10/7/2004
Posts: 799
Location: Duluth, GA
Hi, folks!

In the seven "replies" below, I have posted some very useful 12,26 MACD and 12,26,9 MACD Histo (Exponential) PCF's for public use. The seven postings are for seven increasingly longer bars, which correspond with the plots that you can see by selecting comparable barlength settings in TC (with the exception of the 13days/Bar instance). The bar lengths I've shown use the Fibonacci series as their basis: 1, 2, 3, 5, 8, 13 and 21 days/bar. 1 of course is Daily, 5 is TC's "Weekly", and 21 is TC's "Monthly".

These PCF's each have less than 0.01% error versus an "infinite series" calculation - this is equivalent to or better than TC's internal plotting algorithm. The daily version is provided for completeness - you can also do it with the following formula (which has been documented elsewhere:
XAvgC12-XAvgC26 - (XAvg(XAvgC12,0)-XAvg(XAvgC26,9))
Even though the Daily formula I'm providing is much longer (in characters) than the formula above, I think you will find that it calculates more quickly.

In each of the seven postings, I have provided the following variants:
Current-bar's 12,26 MACD value
Prior-bar's 12,26 MACD value
Current-bar's 12,26,9 MACD Histo value
Prior-bar's 12,26,9 MACD Histo value

This set of four variants allows you to create a large number of PCF's, for instance:
MACD Zero-Bullish Crossover = CurrentBar MACD > 0 and PriorBar MACD < 0
MACD Slope (1-bar Rate of Change) = CurrentBar MACD - PriorBar MACD
MACD Histo Zero-Bullish Crossover = CurrentBar Histo > 0 and PriorBar Histo < 0
MACD Histo Slope (1-bar Rate of Change) = CurrentBar Histo - PriorBar Histo
... please note that:
MACD Bullish MACD crossing its Signal line = MACD Histo Zero-Bullish Crossover
... and that (for MACD or Histo):
Up/Dn Zero-Cross Combo = Sgn(CurrentBar) - Sgn(PriorBar)
(+2 = bullish, -2 = bearish, 0 = neither, +1/-1 = bull bear touching zero line)

I'm providing these at no charge for general use, since I know that many people like to stick with the 12,26,9 parameters, and also since I think that the multiday bar capabilities of TC "deserve" PCF's that match the plots.

It is possible to find crossovers and slopes of N-day bar MACD's and Histo's via just the native TC plots, in conjunction with the powerful SortBy function, but that just won't do the trick for some of the "fancier" things that people sometimes want to do ... AND it is somewhat time consuming, AND the numeric results cannot be stored. So I hope y'all will find this helpful.

Contact the W staff if you need other variations of parameters or days/bar, if these do not fit your needs. I'm sure that Doug would be able to set up an Excel spreadsheet similar to the one I am using, to crank out whatever you need.

Jim Dean

Tanstaafl
Posted : Monday, February 21, 2005 3:58:07 PM
Registered User
Joined: 10/7/2004
Posts: 799
Location: Duluth, GA
Current 1dayBar 12,26,9 MACD, 0.01% error (Daily)
=========================================
.0001*( 797.7964*C0 +615.9625*C1 +466.4805*C2 +344.0489*C3 +244.206*C4 +163.1985*C5 +97.8713*C6 +45.5736*C7 +4.0803*C8 -28.4752*C9 -53.6571*C10 -72.7751*C11 -86.9242*C12 -97.0191*C13 -103.8225*C14 -107.9697*C15 -109.9885*C16 -110.3168*C17 -109.3168*C18 -107.2876*C19 -104.475*C20 -101.0809*C21 -97.2698*C22 -93.1753*C23 -88.9056*C24 -84.5472*C25 -80.1691*C26 -75.8252*C27 -71.5579*C28 -67.399*C29 -63.3726*C30 -59.4957*C31 -55.7803*C32 -52.2337*C33 -48.8598*C34 -45.6596*C35 -42.632*C36 -39.7741*C37 -37.0817*C38 -34.5497*C39 -32.1722*C40 -29.9429*C41 -27.8551*C42 -25.9018*C43 -24.0764*C44 -22.3718*C45 -20.7813*C46 -19.2984*C47 -17.9167*C48 -16.6299*C49 -15.4323*C50 -14.3181*C51 -13.282*C52 -12.3188*C53 -11.4238*C54 -10.5925*C55 -9.8204*C56 -9.1036*C57 -8.4382*C58 -7.8208*C59 -7.2479*C60 -6.7165*C61 -6.2235*C62 -5.7664*C63 -5.3426*C64 -4.9496*C65 -4.5854*C66 -4.2477*C67 -3.9347*C68 -3.6447*C69 -3.3759*C70 -3.1269*C71 -2.8961*C72 -2.6824*C73 -2.4843*C74 -2.3008*C75 -2.1308*C76 -1.9733*C77 -1.8275*C78 -1.6924*C79 -1.5672*C80 -1.4513*C81 -1.344*C82 -1.2446*C83 -1.1525*C84 -1.0672*C85 -.9883*C86 -.9151*C87 -.8474*C88 -.7847*C89 -.7266*C90 -.6728*C91 -.623*C92 -.5769*C93 -.5342*C94 -.4946*C95 -.458*C96 -.4241*C97 -.3927*C98 -.3636*C99 -.3367*C100 -.3118*C101 -.2887*C102 -.2673*C103 -.2475*C104 -.2292*C105 -.2122*C106 -.1965*C107 -.1819*C108 -.1684*C109 -.156*C110 -.1444*C111 -.1337*C112 -.1238*C113 -.1146*C114 -.1062*C115 -.0983*C116 -.091*C117 -.0843*C118 -.078*C119 -.0723*C120 -.0669*C121 -.0619*C122 -.0574*C123 -.0531*C124 -.0492*C125 -.0455*C126 -.0422*C127 )

PriorBar's 1dayBar 12,26,9 MACD, 0.01% error (Daily)
============================================
.0001*( 797.7964*C1 +615.9625*C2 +466.4805*C3 +344.0489*C4 +244.206*C5 +163.1985*C6 +97.8713*C7 +45.5736*C8 +4.0803*C9 -28.4752*C10 -53.6571*C11 -72.7751*C12 -86.9242*C13 -97.0191*C14 -103.8225*C15 -107.9697*C16 -109.9885*C17 -110.3168*C18 -109.3168*C19 -107.2876*C20 -104.475*C21 -101.0809*C22 -97.2698*C23 -93.1753*C24 -88.9056*C25 -84.5472*C26 -80.1691*C27 -75.8252*C28 -71.5579*C29 -67.399*C30 -63.3726*C31 -59.4957*C32 -55.7803*C33 -52.2337*C34 -48.8598*C35 -45.6596*C36 -42.632*C37 -39.7741*C38 -37.0817*C39 -34.5497*C40 -32.1722*C41 -29.9429*C42 -27.8551*C43 -25.9018*C44 -24.0764*C45 -22.3718*C46 -20.7813*C47 -19.2984*C48 -17.9167*C49 -16.6299*C50 -15.4323*C51 -14.3181*C52 -13.282*C53 -12.3188*C54 -11.4238*C55 -10.5925*C56 -9.8204*C57 -9.1036*C58 -8.4382*C59 -7.8208*C60 -7.2479*C61 -6.7165*C62 -6.2235*C63 -5.7664*C64 -5.3426*C65 -4.9496*C66 -4.5854*C67 -4.2477*C68 -3.9347*C69 -3.6447*C70 -3.3759*C71 -3.1269*C72 -2.8961*C73 -2.6824*C74 -2.4843*C75 -2.3008*C76 -2.1308*C77 -1.9733*C78 -1.8275*C79 -1.6924*C80 -1.5672*C81 -1.4513*C82 -1.344*C83 -1.2446*C84 -1.1525*C85 -1.0672*C86 -.9883*C87 -.9151*C88 -.8474*C89 -.7847*C90 -.7266*C91 -.6728*C92 -.623*C93 -.5769*C94 -.5342*C95 -.4946*C96 -.458*C97 -.4241*C98 -.3927*C99 -.3636*C100 -.3367*C101 -.3118*C102 -.2887*C103 -.2673*C104 -.2475*C105 -.2292*C106 -.2122*C107 -.1965*C108 -.1819*C109 -.1684*C110 -.156*C111 -.1444*C112 -.1337*C113 -.1238*C114 -.1146*C115 -.1062*C116 -.0983*C117 -.091*C118 -.0843*C119 -.078*C120 -.0723*C121 -.0669*C122 -.0619*C123 -.0574*C124 -.0531*C125 -.0492*C126 -.0455*C127 -.0422*C128 )

Current 1dayBar 12,26,9 MACD Histo, 0.01% error (Daily)
===============================================
.0001*( 638.2398*C0 +365.1241*C1 +172.5132*C2 +40.0649*C3 -47.8228*C4 -103.0645*C5 -134.7136*C6 -149.6092*C7 -152.8821*C8 -148.3502*C9 -138.8258*C10 -126.3551*C11 -112.4034*C12 -97.9987*C13 -83.8417*C14 -70.3912*C15 -57.928*C16 -46.605*C17 -36.484*C18 -27.5638*C19 -19.801*C20 -13.1255*C21 -7.4515*C22 -2.6856*C23 +1.2673*C24 +4.5006*C25 +7.103*C26 +9.1575*C27 +10.7399*C28 +11.919*C29 +12.7564*C30 +13.3066*C31 +13.6176*C32 +13.7314*C33 +13.6843*C34 +13.5076*C35 +13.2282*C36 +12.8689*C37 +12.449*C38 +11.9848*C39 +11.4898*C40 +10.9753*C41 +10.4506*C42 +9.923*C43 +9.3988*C44 +8.8827*C45 +8.3786*C46 +7.8892*C47 +7.4167*C48 +6.9628*C49 +6.5284*C50 +6.114*C51 +5.7201*C52 +5.3466*C53 +4.9933*C54 +4.6597*C55 +4.3454*C56 +4.0498*C57 +3.7721*C58 +3.5117*C59 +3.2676*C60 +3.0393*C61 +2.8257*C62 +2.6263*C63 +2.4401*C64 +2.2664*C65 +2.1046*C66 +1.9538*C67 +1.8134*C68 +1.6827*C69 +1.5612*C70 +1.4482*C71 +1.3432*C72 +1.2456*C73 +1.1549*C74 +1.0707*C75 +.9926*C76 +.92*C77 +.8527*C78 +.7902*C79 +.7323*C80 +.6786*C81 +.6287*C82 +.5825*C83 +.5397*C84 +.5*C85 +.4631*C86 +.429*C87 +.3974*C88 +.3681*C89 +.3409*C90 +.3158*C91 +.2925*C92 +.2709*C93 +.2509*C94 +.2323*C95 +.2152*C96 +.1993*C97 +.1845*C98 +.1709*C99 +.1583*C100 +.1465*C101 +.1357*C102 +.1257*C103 +.1164*C104 +.1078*C105 +.0998*C106 +.0924*C107 +.0856*C108 +.0792*C109 +.0734*C110 +.0679*C111 +.0629*C112 +.0582*C113 +.0539*C114 +.0499*C115 +.0462*C116 +.0428*C117 +.0396*C118 +.0367*C119 +.034*C120 +.0315*C121 +.0291*C122 +.027*C123 +.025*C124 )

PriorBar's 1dayBar 12,26,9 MACD Histo, 0.01% error (Daily)
==================================================
.0001*( 638.2398*C1 +365.1241*C2 +172.5132*C3 +40.0649*C4 -47.8228*C5 -103.0645*C6 -134.7136*C7 -149.6092*C8 -152.8821*C9 -148.3502*C10 -138.8258*C11 -126.3551*C12 -112.4034*C13 -97.9987*C14 -83.8417*C15 -70.3912*C16 -57.928*C17 -46.605*C18 -36.484*C19 -27.5638*C20 -19.801*C21 -13.1255*C22 -7.4515*C23 -2.6856*C24 +1.2673*C25 +4.5006*C26 +7.103*C27 +9.1575*C28 +10.7399*C29 +11.919*C30 +12.7564*C31 +13.3066*C32 +13.6176*C33 +13.7314*C34 +13.6843*C35 +13.5076*C36 +13.2282*C37 +12.8689*C38 +12.449*C39 +11.9848*C40 +11.4898*C41 +10.9753*C42 +10.4506*C43 +9.923*C44 +9.3988*C45 +8.8827*C46 +8.3786*C47 +7.8892*C48 +7.4167*C49 +6.9628*C50 +6.5284*C51 +6.114*C52 +5.7201*C53 +5.3466*C54 +4.9933*C55 +4.6597*C56 +4.3454*C57 +4.0498*C58 +3.7721*C59 +3.5117*C60 +3.2676*C61 +3.0393*C62 +2.8257*C63 +2.6263*C64 +2.4401*C65 +2.2664*C66 +2.1046*C67 +1.9538*C68 +1.8134*C69 +1.6827*C70 +1.5612*C71 +1.4482*C72 +1.3432*C73 +1.2456*C74 +1.1549*C75 +1.0707*C76 +.9926*C77 +.92*C78 +.8527*C79 +.7902*C80 +.7323*C81 +.6786*C82 +.6287*C83 +.5825*C84 +.5397*C85 +.5*C86 +.4631*C87 +.429*C88 +.3974*C89 +.3681*C90 +.3409*C91 +.3158*C92 +.2925*C93 +.2709*C94 +.2509*C95 +.2323*C96 +.2152*C97 +.1993*C98 +.1845*C99 +.1709*C100 +.1583*C101 +.1465*C102 +.1357*C103 +.1257*C104 +.1164*C105 +.1078*C106 +.0998*C107 +.0924*C108 +.0856*C109 +.0792*C110 +.0734*C111 +.0679*C112 +.0629*C113 +.0582*C114 +.0539*C115 +.0499*C116 +.0462*C117 +.0428*C118 +.0396*C119 +.0367*C120 +.034*C121 +.0315*C122 +.0291*C123 +.027*C124 +.025*C125 )

Tanstaafl
Posted : Monday, February 21, 2005 4:01:03 PM
Registered User
Joined: 10/7/2004
Posts: 799
Location: Duluth, GA
Current 2dayBar 12,26,9 MACD, 0.01% error
=======================================
.0001*( 797.7964*C0 +615.9625*C2 +466.4805*C4 +344.0489*C6 +244.206*C8 +163.1985*C10 +97.8713*C12 +45.5736*C14 +4.0803*C16 -28.4752*C18 -53.6571*C20 -72.7751*C22 -86.9242*C24 -97.0191*C26 -103.8225*C28 -107.9697*C30 -109.9885*C32 -110.3168*C34 -109.3168*C36 -107.2876*C38 -104.475*C40 -101.0809*C42 -97.2698*C44 -93.1753*C46 -88.9056*C48 -84.5472*C50 -80.1691*C52 -75.8252*C54 -71.5579*C56 -67.399*C58 -63.3726*C60 -59.4957*C62 -55.7803*C64 -52.2337*C66 -48.8598*C68 -45.6596*C70 -42.632*C72 -39.7741*C74 -37.0817*C76 -34.5497*C78 -32.1722*C80 -29.9429*C82 -27.8551*C84 -25.9018*C86 -24.0764*C88 -22.3718*C90 -20.7813*C92 -19.2984*C94 -17.9167*C96 -16.6299*C98 -15.4323*C100 -14.3181*C102 -13.282*C104 -12.3188*C106 -11.4238*C108 -10.5925*C110 -9.8204*C112 -9.1036*C114 -8.4382*C116 -7.8208*C118 -7.2479*C120 -6.7165*C122 -6.2235*C124 -5.7664*C126 -5.3426*C128 -4.9496*C130 -4.5854*C132 -4.2477*C134 -3.9347*C136 -3.6447*C138 -3.3759*C140 -3.1269*C142 -2.8961*C144 -2.6824*C146 -2.4843*C148 -2.3008*C150 -2.1308*C152 -1.9733*C154 -1.8275*C156 -1.6924*C158 -1.5672*C160 -1.4513*C162 -1.344*C164 -1.2446*C166 -1.1525*C168 -1.0672*C170 -.9883*C172 -.9151*C174 -.8474*C176 -.7847*C178 -.7266*C180 -.6728*C182 -.623*C184 -.5769*C186 -.5342*C188 -.4946*C190 -.458*C192 -.4241*C194 -.3927*C196 -.3636*C198 -.3367*C200 -.3118*C202 -.2887*C204 -.2673*C206 -.2475*C208 -.2292*C210 -.2122*C212 -.1965*C214 -.1819*C216 -.1684*C218 -.156*C220 -.1444*C222 -.1337*C224 -.1238*C226 -.1146*C228 -.1062*C230 -.0983*C232 -.091*C234 -.0843*C236 -.078*C238 -.0723*C240 -.0669*C242 -.0619*C244 -.0574*C246 -.0531*C248 -.0492*C250 -.0455*C252 -.0422*C254 )

PriorBar's 2dayBar 12,26,9 MACD, 0.01% error
============================================
.0001*( 797.7964*C2 +615.9625*C4 +466.4805*C6 +344.0489*C8 +244.206*C10 +163.1985*C12 +97.8713*C14 +45.5736*C16 +4.0803*C18 -28.4752*C20 -53.6571*C22 -72.7751*C24 -86.9242*C26 -97.0191*C28 -103.8225*C30 -107.9697*C32 -109.9885*C34 -110.3168*C36 -109.3168*C38 -107.2876*C40 -104.475*C42 -101.0809*C44 -97.2698*C46 -93.1753*C48 -88.9056*C50 -84.5472*C52 -80.1691*C54 -75.8252*C56 -71.5579*C58 -67.399*C60 -63.3726*C62 -59.4957*C64 -55.7803*C66 -52.2337*C68 -48.8598*C70 -45.6596*C72 -42.632*C74 -39.7741*C76 -37.0817*C78 -34.5497*C80 -32.1722*C82 -29.9429*C84 -27.8551*C86 -25.9018*C88 -24.0764*C90 -22.3718*C92 -20.7813*C94 -19.2984*C96 -17.9167*C98 -16.6299*C100 -15.4323*C102 -14.3181*C104 -13.282*C106 -12.3188*C108 -11.4238*C110 -10.5925*C112 -9.8204*C114 -9.1036*C116 -8.4382*C118 -7.8208*C120 -7.2479*C122 -6.7165*C124 -6.2235*C126 -5.7664*C128 -5.3426*C130 -4.9496*C132 -4.5854*C134 -4.2477*C136 -3.9347*C138 -3.6447*C140 -3.3759*C142 -3.1269*C144 -2.8961*C146 -2.6824*C148 -2.4843*C150 -2.3008*C152 -2.1308*C154 -1.9733*C156 -1.8275*C158 -1.6924*C160 -1.5672*C162 -1.4513*C164 -1.344*C166 -1.2446*C168 -1.1525*C170 -1.0672*C172 -.9883*C174 -.9151*C176 -.8474*C178 -.7847*C180 -.7266*C182 -.6728*C184 -.623*C186 -.5769*C188 -.5342*C190 -.4946*C192 -.458*C194 -.4241*C196 -.3927*C198 -.3636*C200 -.3367*C202 -.3118*C204 -.2887*C206 -.2673*C208 -.2475*C210 -.2292*C212 -.2122*C214 -.1965*C216 -.1819*C218 -.1684*C220 -.156*C222 -.1444*C224 -.1337*C226 -.1238*C228 -.1146*C230 -.1062*C232 -.0983*C234 -.091*C236 -.0843*C238 -.078*C240 -.0723*C242 -.0669*C244 -.0619*C246 -.0574*C248 -.0531*C250 -.0492*C252 -.0455*C254 -.0422*C256 )


Current 2dayBar 12,26,9 MACD Histo, 0.01% error
===============================================
.0001*( 638.2398*C0 +365.1241*C2 +172.5132*C4 +40.0649*C6 -47.8228*C8 -103.0645*C10 -134.7136*C12 -149.6092*C14 -152.8821*C16 -148.3502*C18 -138.8258*C20 -126.3551*C22 -112.4034*C24 -97.9987*C26 -83.8417*C28 -70.3912*C30 -57.928*C32 -46.605*C34 -36.484*C36 -27.5638*C38 -19.801*C40 -13.1255*C42 -7.4515*C44 -2.6856*C46 +1.2673*C48 +4.5006*C50 +7.103*C52 +9.1575*C54 +10.7399*C56 +11.919*C58 +12.7564*C60 +13.3066*C62 +13.6176*C64 +13.7314*C66 +13.6843*C68 +13.5076*C70 +13.2282*C72 +12.8689*C74 +12.449*C76 +11.9848*C78 +11.4898*C80 +10.9753*C82 +10.4506*C84 +9.923*C86 +9.3988*C88 +8.8827*C90 +8.3786*C92 +7.8892*C94 +7.4167*C96 +6.9628*C98 +6.5284*C100 +6.114*C102 +5.7201*C104 +5.3466*C106 +4.9933*C108 +4.6597*C110 +4.3454*C112 +4.0498*C114 +3.7721*C116 +3.5117*C118 +3.2676*C120 +3.0393*C122 +2.8257*C124 +2.6263*C126 +2.4401*C128 +2.2664*C130 +2.1046*C132 +1.9538*C134 +1.8134*C136 +1.6827*C138 +1.5612*C140 +1.4482*C142 +1.3432*C144 +1.2456*C146 +1.1549*C148 +1.0707*C150 +.9926*C152 +.92*C154 +.8527*C156 +.7902*C158 +.7323*C160 +.6786*C162 +.6287*C164 +.5825*C166 +.5397*C168 +.5*C170 +.4631*C172 +.429*C174 +.3974*C176 +.3681*C178 +.3409*C180 +.3158*C182 +.2925*C184 +.2709*C186 +.2509*C188 +.2323*C190 +.2152*C192 +.1993*C194 +.1845*C196 +.1709*C198 +.1583*C200 +.1465*C202 +.1357*C204 +.1257*C206 +.1164*C208 +.1078*C210 +.0998*C212 +.0924*C214 +.0856*C216 +.0792*C218 +.0734*C220 +.0679*C222 +.0629*C224 +.0582*C226 +.0539*C228 +.0499*C230 +.0462*C232 +.0428*C234 +.0396*C236 +.0367*C238 +.034*C240 +.0315*C242 +.0291*C244 +.027*C246 +.025*C248 )

PriorBar's 2dayBar 12,26,9 MACD Histo, 0.01% error
==================================================
.0001*( 638.2398*C2 +365.1241*C4 +172.5132*C6 +40.0649*C8 -47.8228*C10 -103.0645*C12 -134.7136*C14 -149.6092*C16 -152.8821*C18 -148.3502*C20 -138.8258*C22 -126.3551*C24 -112.4034*C26 -97.9987*C28 -83.8417*C30 -70.3912*C32 -57.928*C34 -46.605*C36 -36.484*C38 -27.5638*C40 -19.801*C42 -13.1255*C44 -7.4515*C46 -2.6856*C48 +1.2673*C50 +4.5006*C52 +7.103*C54 +9.1575*C56 +10.7399*C58 +11.919*C60 +12.7564*C62 +13.3066*C64 +13.6176*C66 +13.7314*C68 +13.6843*C70 +13.5076*C72 +13.2282*C74 +12.8689*C76 +12.449*C78 +11.9848*C80 +11.4898*C82 +10.9753*C84 +10.4506*C86 +9.923*C88 +9.3988*C90 +8.8827*C92 +8.3786*C94 +7.8892*C96 +7.4167*C98 +6.9628*C100 +6.5284*C102 +6.114*C104 +5.7201*C106 +5.3466*C108 +4.9933*C110 +4.6597*C112 +4.3454*C114 +4.0498*C116 +3.7721*C118 +3.5117*C120 +3.2676*C122 +3.0393*C124 +2.8257*C126 +2.6263*C128 +2.4401*C130 +2.2664*C132 +2.1046*C134 +1.9538*C136 +1.8134*C138 +1.6827*C140 +1.5612*C142 +1.4482*C144 +1.3432*C146 +1.2456*C148 +1.1549*C150 +1.0707*C152 +.9926*C154 +.92*C156 +.8527*C158 +.7902*C160 +.7323*C162 +.6786*C164 +.6287*C166 +.5825*C168 +.5397*C170 +.5*C172 +.4631*C174 +.429*C176 +.3974*C178 +.3681*C180 +.3409*C182 +.3158*C184 +.2925*C186 +.2709*C188 +.2509*C190 +.2323*C192 +.2152*C194 +.1993*C196 +.1845*C198 +.1709*C200 +.1583*C202 +.1465*C204 +.1357*C206 +.1257*C208 +.1164*C210 +.1078*C212 +.0998*C214 +.0924*C216 +.0856*C218 +.0792*C220 +.0734*C222 +.0679*C224 +.0629*C226 +.0582*C228 +.0539*C230 +.0499*C232 +.0462*C234 +.0428*C236 +.0396*C238 +.0367*C240 +.034*C242 +.0315*C244 +.0291*C246 +.027*C248 +.025*C250 )

Tanstaafl
Posted : Monday, February 21, 2005 4:01:49 PM
Registered User
Joined: 10/7/2004
Posts: 799
Location: Duluth, GA
Current 3dayBar 12,26,9 MACD, 0.01% error
=========================================
.0001*( 797.7964*C0 +615.9625*C3 +466.4805*C6 +344.0489*C9 +244.206*C12 +163.1985*C15 +97.8713*C18 +45.5736*C21 +4.0803*C24 -28.4752*C27 -53.6571*C30 -72.7751*C33 -86.9242*C36 -97.0191*C39 -103.8225*C42 -107.9697*C45 -109.9885*C48 -110.3168*C51 -109.3168*C54 -107.2876*C57 -104.475*C60 -101.0809*C63 -97.2698*C66 -93.1753*C69 -88.9056*C72 -84.5472*C75 -80.1691*C78 -75.8252*C81 -71.5579*C84 -67.399*C87 -63.3726*C90 -59.4957*C93 -55.7803*C96 -52.2337*C99 -48.8598*C102 -45.6596*C105 -42.632*C108 -39.7741*C111 -37.0817*C114 -34.5497*C117 -32.1722*C120 -29.9429*C123 -27.8551*C126 -25.9018*C129 -24.0764*C132 -22.3718*C135 -20.7813*C138 -19.2984*C141 -17.9167*C144 -16.6299*C147 -15.4323*C150 -14.3181*C153 -13.282*C156 -12.3188*C159 -11.4238*C162 -10.5925*C165 -9.8204*C168 -9.1036*C171 -8.4382*C174 -7.8208*C177 -7.2479*C180 -6.7165*C183 -6.2235*C186 -5.7664*C189 -5.3426*C192 -4.9496*C195 -4.5854*C198 -4.2477*C201 -3.9347*C204 -3.6447*C207 -3.3759*C210 -3.1269*C213 -2.8961*C216 -2.6824*C219 -2.4843*C222 -2.3008*C225 -2.1308*C228 -1.9733*C231 -1.8275*C234 -1.6924*C237 -1.5672*C240 -1.4513*C243 -1.344*C246 -1.2446*C249 -1.1525*C252 -1.0672*C255 -.9883*C258 -.9151*C261 -.8474*C264 -.7847*C267 -.7266*C270 -.6728*C273 -.623*C276 -.5769*C279 -.5342*C282 -.4946*C285 -.458*C288 -.4241*C291 -.3927*C294 -.3636*C297 -.3367*C300 -.3118*C303 -.2887*C306 -.2673*C309 -.2475*C312 -.2292*C315 -.2122*C318 -.1965*C321 -.1819*C324 -.1684*C327 -.156*C330 -.1444*C333 -.1337*C336 -.1238*C339 -.1146*C342 -.1062*C345 -.0983*C348 -.091*C351 -.0843*C354 -.078*C357 -.0723*C360 -.0669*C363 -.0619*C366 -.0574*C369 -.0531*C372 -.0492*C375 -.0455*C378 -.0422*C381 )

PriorBar's 3dayBar 12,26,9 MACD, 0.01% error
============================================
.0001*( 797.7964*C3 +615.9625*C6 +466.4805*C9 +344.0489*C12 +244.206*C15 +163.1985*C18 +97.8713*C21 +45.5736*C24 +4.0803*C27 -28.4752*C30 -53.6571*C33 -72.7751*C36 -86.9242*C39 -97.0191*C42 -103.8225*C45 -107.9697*C48 -109.9885*C51 -110.3168*C54 -109.3168*C57 -107.2876*C60 -104.475*C63 -101.0809*C66 -97.2698*C69 -93.1753*C72 -88.9056*C75 -84.5472*C78 -80.1691*C81 -75.8252*C84 -71.5579*C87 -67.399*C90 -63.3726*C93 -59.4957*C96 -55.7803*C99 -52.2337*C102 -48.8598*C105 -45.6596*C108 -42.632*C111 -39.7741*C114 -37.0817*C117 -34.5497*C120 -32.1722*C123 -29.9429*C126 -27.8551*C129 -25.9018*C132 -24.0764*C135 -22.3718*C138 -20.7813*C141 -19.2984*C144 -17.9167*C147 -16.6299*C150 -15.4323*C153 -14.3181*C156 -13.282*C159 -12.3188*C162 -11.4238*C165 -10.5925*C168 -9.8204*C171 -9.1036*C174 -8.4382*C177 -7.8208*C180 -7.2479*C183 -6.7165*C186 -6.2235*C189 -5.7664*C192 -5.3426*C195 -4.9496*C198 -4.5854*C201 -4.2477*C204 -3.9347*C207 -3.6447*C210 -3.3759*C213 -3.1269*C216 -2.8961*C219 -2.6824*C222 -2.4843*C225 -2.3008*C228 -2.1308*C231 -1.9733*C234 -1.8275*C237 -1.6924*C240 -1.5672*C243 -1.4513*C246 -1.344*C249 -1.2446*C252 -1.1525*C255 -1.0672*C258 -.9883*C261 -.9151*C264 -.8474*C267 -.7847*C270 -.7266*C273 -.6728*C276 -.623*C279 -.5769*C282 -.5342*C285 -.4946*C288 -.458*C291 -.4241*C294 -.3927*C297 -.3636*C300 -.3367*C303 -.3118*C306 -.2887*C309 -.2673*C312 -.2475*C315 -.2292*C318 -.2122*C321 -.1965*C324 -.1819*C327 -.1684*C330 -.156*C333 -.1444*C336 -.1337*C339 -.1238*C342 -.1146*C345 -.1062*C348 -.0983*C351 -.091*C354 -.0843*C357 -.078*C360 -.0723*C363 -.0669*C366 -.0619*C369 -.0574*C372 -.0531*C375 -.0492*C378 -.0455*C381 -.0422*C384 )

Current 3dayBar 12,26,9 MACD Histo, 0.01% error
===============================================
.0001*( 638.2398*C0 +365.1241*C3 +172.5132*C6 +40.0649*C9 -47.8228*C12 -103.0645*C15 -134.7136*C18 -149.6092*C21 -152.8821*C24 -148.3502*C27 -138.8258*C30 -126.3551*C33 -112.4034*C36 -97.9987*C39 -83.8417*C42 -70.3912*C45 -57.928*C48 -46.605*C51 -36.484*C54 -27.5638*C57 -19.801*C60 -13.1255*C63 -7.4515*C66 -2.6856*C69 +1.2673*C72 +4.5006*C75 +7.103*C78 +9.1575*C81 +10.7399*C84 +11.919*C87 +12.7564*C90 +13.3066*C93 +13.6176*C96 +13.7314*C99 +13.6843*C102 +13.5076*C105 +13.2282*C108 +12.8689*C111 +12.449*C114 +11.9848*C117 +11.4898*C120 +10.9753*C123 +10.4506*C126 +9.923*C129 +9.3988*C132 +8.8827*C135 +8.3786*C138 +7.8892*C141 +7.4167*C144 +6.9628*C147 +6.5284*C150 +6.114*C153 +5.7201*C156 +5.3466*C159 +4.9933*C162 +4.6597*C165 +4.3454*C168 +4.0498*C171 +3.7721*C174 +3.5117*C177 +3.2676*C180 +3.0393*C183 +2.8257*C186 +2.6263*C189 +2.4401*C192 +2.2664*C195 +2.1046*C198 +1.9538*C201 +1.8134*C204 +1.6827*C207 +1.5612*C210 +1.4482*C213 +1.3432*C216 +1.2456*C219 +1.1549*C222 +1.0707*C225 +.9926*C228 +.92*C231 +.8527*C234 +.7902*C237 +.7323*C240 +.6786*C243 +.6287*C246 +.5825*C249 +.5397*C252 +.5*C255 +.4631*C258 +.429*C261 +.3974*C264 +.3681*C267 +.3409*C270 +.3158*C273 +.2925*C276 +.2709*C279 +.2509*C282 +.2323*C285 +.2152*C288 +.1993*C291 +.1845*C294 +.1709*C297 +.1583*C300 +.1465*C303 +.1357*C306 +.1257*C309 +.1164*C312 +.1078*C315 +.0998*C318 +.0924*C321 +.0856*C324 +.0792*C327 +.0734*C330 +.0679*C333 +.0629*C336 +.0582*C339 +.0539*C342 +.0499*C345 +.0462*C348 +.0428*C351 +.0396*C354 +.0367*C357 +.034*C360 +.0315*C363 +.0291*C366 +.027*C369 +.025*C372 )

PriorBar's 3dayBar 12,26,9 MACD Histo, 0.01% error
==================================================
.0001*( 638.2398*C3 +365.1241*C6 +172.5132*C9 +40.0649*C12 -47.8228*C15 -103.0645*C18 -134.7136*C21 -149.6092*C24 -152.8821*C27 -148.3502*C30 -138.8258*C33 -126.3551*C36 -112.4034*C39 -97.9987*C42 -83.8417*C45 -70.3912*C48 -57.928*C51 -46.605*C54 -36.484*C57 -27.5638*C60 -19.801*C63 -13.1255*C66 -7.4515*C69 -2.6856*C72 +1.2673*C75 +4.5006*C78 +7.103*C81 +9.1575*C84 +10.7399*C87 +11.919*C90 +12.7564*C93 +13.3066*C96 +13.6176*C99 +13.7314*C102 +13.6843*C105 +13.5076*C108 +13.2282*C111 +12.8689*C114 +12.449*C117 +11.9848*C120 +11.4898*C123 +10.9753*C126 +10.4506*C129 +9.923*C132 +9.3988*C135 +8.8827*C138 +8.3786*C141 +7.8892*C144 +7.4167*C147 +6.9628*C150 +6.5284*C153 +6.114*C156 +5.7201*C159 +5.3466*C162 +4.9933*C165 +4.6597*C168 +4.3454*C171 +4.0498*C174 +3.7721*C177 +3.5117*C180 +3.2676*C183 +3.0393*C186 +2.8257*C189 +2.6263*C192 +2.4401*C195 +2.2664*C198 +2.1046*C201 +1.9538*C204 +1.8134*C207 +1.6827*C210 +1.5612*C213 +1.4482*C216 +1.3432*C219 +1.2456*C222 +1.1549*C225 +1.0707*C228 +.9926*C231 +.92*C234 +.8527*C237 +.7902*C240 +.7323*C243 +.6786*C246 +.6287*C249 +.5825*C252 +.5397*C255 +.5*C258 +.4631*C261 +.429*C264 +.3974*C267 +.3681*C270 +.3409*C273 +.3158*C276 +.2925*C279 +.2709*C282 +.2509*C285 +.2323*C288 +.2152*C291 +.1993*C294 +.1845*C297 +.1709*C300 +.1583*C303 +.1465*C306 +.1357*C309 +.1257*C312 +.1164*C315 +.1078*C318 +.0998*C321 +.0924*C324 +.0856*C327 +.0792*C330 +.0734*C333 +.0679*C336 +.0629*C339 +.0582*C342 +.0539*C345 +.0499*C348 +.0462*C351 +.0428*C354 +.0396*C357 +.0367*C360 +.034*C363 +.0315*C366 +.0291*C369 +.027*C372 +.025*C375 )

Tanstaafl
Posted : Monday, February 21, 2005 4:02:29 PM
Registered User
Joined: 10/7/2004
Posts: 799
Location: Duluth, GA
Current Weekly 12,26,9 MACD, 0.01% error (Weekly)
========================================
.0001*( 797.7964*C0 +615.9625*C5 +466.4805*C10 +344.0489*C15 +244.206*C20 +163.1985*C25 +97.8713*C30 +45.5736*C35 +4.0803*C40 -28.4752*C45 -53.6571*C50 -72.7751*C55 -86.9242*C60 -97.0191*C65 -103.8225*C70 -107.9697*C75 -109.9885*C80 -110.3168*C85 -109.3168*C90 -107.2876*C95 -104.475*C100 -101.0809*C105 -97.2698*C110 -93.1753*C115 -88.9056*C120 -84.5472*C125 -80.1691*C130 -75.8252*C135 -71.5579*C140 -67.399*C145 -63.3726*C150 -59.4957*C155 -55.7803*C160 -52.2337*C165 -48.8598*C170 -45.6596*C175 -42.632*C180 -39.7741*C185 -37.0817*C190 -34.5497*C195 -32.1722*C200 -29.9429*C205 -27.8551*C210 -25.9018*C215 -24.0764*C220 -22.3718*C225 -20.7813*C230 -19.2984*C235 -17.9167*C240 -16.6299*C245 -15.4323*C250 -14.3181*C255 -13.282*C260 -12.3188*C265 -11.4238*C270 -10.5925*C275 -9.8204*C280 -9.1036*C285 -8.4382*C290 -7.8208*C295 -7.2479*C300 -6.7165*C305 -6.2235*C310 -5.7664*C315 -5.3426*C320 -4.9496*C325 -4.5854*C330 -4.2477*C335 -3.9347*C340 -3.6447*C345 -3.3759*C350 -3.1269*C355 -2.8961*C360 -2.6824*C365 -2.4843*C370 -2.3008*C375 -2.1308*C380 -1.9733*C385 -1.8275*C390 -1.6924*C395 -1.5672*C400 -1.4513*C405 -1.344*C410 -1.2446*C415 -1.1525*C420 -1.0672*C425 -.9883*C430 -.9151*C435 -.8474*C440 -.7847*C445 -.7266*C450 -.6728*C455 -.623*C460 -.5769*C465 -.5342*C470 -.4946*C475 -.458*C480 -.4241*C485 -.3927*C490 -.3636*C495 -.3367*C500 -.3118*C505 -.2887*C510 -.2673*C515 -.2475*C520 -.2292*C525 -.2122*C530 -.1965*C535 -.1819*C540 -.1684*C545 -.156*C550 -.1444*C555 -.1337*C560 -.1238*C565 -.1146*C570 -.1062*C575 -.0983*C580 -.091*C585 -.0843*C590 -.078*C595 -.0723*C600 -.0669*C605 -.0619*C610 -.0574*C615 -.0531*C620 -.0492*C625 -.0455*C630 -.0422*C635 )

LastWeek's Weekly 12,26,9 MACD, 0.01% error (Weekly)
===========================================
.0001*( 797.7964*C5 +615.9625*C10 +466.4805*C15 +344.0489*C20 +244.206*C25 +163.1985*C30 +97.8713*C35 +45.5736*C40 +4.0803*C45 -28.4752*C50 -53.6571*C55 -72.7751*C60 -86.9242*C65 -97.0191*C70 -103.8225*C75 -107.9697*C80 -109.9885*C85 -110.3168*C90 -109.3168*C95 -107.2876*C100 -104.475*C105 -101.0809*C110 -97.2698*C115 -93.1753*C120 -88.9056*C125 -84.5472*C130 -80.1691*C135 -75.8252*C140 -71.5579*C145 -67.399*C150 -63.3726*C155 -59.4957*C160 -55.7803*C165 -52.2337*C170 -48.8598*C175 -45.6596*C180 -42.632*C185 -39.7741*C190 -37.0817*C195 -34.5497*C200 -32.1722*C205 -29.9429*C210 -27.8551*C215 -25.9018*C220 -24.0764*C225 -22.3718*C230 -20.7813*C235 -19.2984*C240 -17.9167*C245 -16.6299*C250 -15.4323*C255 -14.3181*C260 -13.282*C265 -12.3188*C270 -11.4238*C275 -10.5925*C280 -9.8204*C285 -9.1036*C290 -8.4382*C295 -7.8208*C300 -7.2479*C305 -6.7165*C310 -6.2235*C315 -5.7664*C320 -5.3426*C325 -4.9496*C330 -4.5854*C335 -4.2477*C340 -3.9347*C345 -3.6447*C350 -3.3759*C355 -3.1269*C360 -2.8961*C365 -2.6824*C370 -2.4843*C375 -2.3008*C380 -2.1308*C385 -1.9733*C390 -1.8275*C395 -1.6924*C400 -1.5672*C405 -1.4513*C410 -1.344*C415 -1.2446*C420 -1.1525*C425 -1.0672*C430 -.9883*C435 -.9151*C440 -.8474*C445 -.7847*C450 -.7266*C455 -.6728*C460 -.623*C465 -.5769*C470 -.5342*C475 -.4946*C480 -.458*C485 -.4241*C490 -.3927*C495 -.3636*C500 -.3367*C505 -.3118*C510 -.2887*C515 -.2673*C520 -.2475*C525 -.2292*C530 -.2122*C535 -.1965*C540 -.1819*C545 -.1684*C550 -.156*C555 -.1444*C560 -.1337*C565 -.1238*C570 -.1146*C575 -.1062*C580 -.0983*C585 -.091*C590 -.0843*C595 -.078*C600 -.0723*C605 -.0669*C610 -.0619*C615 -.0574*C620 -.0531*C625 -.0492*C630 -.0455*C635 -.0422*C640 )

Current Weekly 12,26,9 MACD Histo, 0.01% error (Weekly)
==============================================
.0001*( 638.2398*C0 +365.1241*C5 +172.5132*C10 +40.0649*C15 -47.8228*C20 -103.0645*C25 -134.7136*C30 -149.6092*C35 -152.8821*C40 -148.3502*C45 -138.8258*C50 -126.3551*C55 -112.4034*C60 -97.9987*C65 -83.8417*C70 -70.3912*C75 -57.928*C80 -46.605*C85 -36.484*C90 -27.5638*C95 -19.801*C100 -13.1255*C105 -7.4515*C110 -2.6856*C115 +1.2673*C120 +4.5006*C125 +7.103*C130 +9.1575*C135 +10.7399*C140 +11.919*C145 +12.7564*C150 +13.3066*C155 +13.6176*C160 +13.7314*C165 +13.6843*C170 +13.5076*C175 +13.2282*C180 +12.8689*C185 +12.449*C190 +11.9848*C195 +11.4898*C200 +10.9753*C205 +10.4506*C210 +9.923*C215 +9.3988*C220 +8.8827*C225 +8.3786*C230 +7.8892*C235 +7.4167*C240 +6.9628*C245 +6.5284*C250 +6.114*C255 +5.7201*C260 +5.3466*C265 +4.9933*C270 +4.6597*C275 +4.3454*C280 +4.0498*C285 +3.7721*C290 +3.5117*C295 +3.2676*C300 +3.0393*C305 +2.8257*C310 +2.6263*C315 +2.4401*C320 +2.2664*C325 +2.1046*C330 +1.9538*C335 +1.8134*C340 +1.6827*C345 +1.5612*C350 +1.4482*C355 +1.3432*C360 +1.2456*C365 +1.1549*C370 +1.0707*C375 +.9926*C380 +.92*C385 +.8527*C390 +.7902*C395 +.7323*C400 +.6786*C405 +.6287*C410 +.5825*C415 +.5397*C420 +.5*C425 +.4631*C430 +.429*C435 +.3974*C440 +.3681*C445 +.3409*C450 +.3158*C455 +.2925*C460 +.2709*C465 +.2509*C470 +.2323*C475 +.2152*C480 +.1993*C485 +.1845*C490 +.1709*C495 +.1583*C500 +.1465*C505 +.1357*C510 +.1257*C515 +.1164*C520 +.1078*C525 +.0998*C530 +.0924*C535 +.0856*C540 +.0792*C545 +.0734*C550 +.0679*C555 +.0629*C560 +.0582*C565 +.0539*C570 +.0499*C575 +.0462*C580 +.0428*C585 +.0396*C590 +.0367*C595 +.034*C600 +.0315*C605 +.0291*C610 +.027*C615 +.025*C620 )

LastWeek's Weekly 12,26,9 MACD Histo, 0.01% error (Weekly)
=================================================
.0001*( 638.2398*C5 +365.1241*C10 +172.5132*C15 +40.0649*C20 -47.8228*C25 -103.0645*C30 -134.7136*C35 -149.6092*C40 -152.8821*C45 -148.3502*C50 -138.8258*C55 -126.3551*C60 -112.4034*C65 -97.9987*C70 -83.8417*C75 -70.3912*C80 -57.928*C85 -46.605*C90 -36.484*C95 -27.5638*C100 -19.801*C105 -13.1255*C110 -7.4515*C115 -2.6856*C120 +1.2673*C125 +4.5006*C130 +7.103*C135 +9.1575*C140 +10.7399*C145 +11.919*C150 +12.7564*C155 +13.3066*C160 +13.6176*C165 +13.7314*C170 +13.6843*C175 +13.5076*C180 +13.2282*C185 +12.8689*C190 +12.449*C195 +11.9848*C200 +11.4898*C205 +10.9753*C210 +10.4506*C215 +9.923*C220 +9.3988*C225 +8.8827*C230 +8.3786*C235 +7.8892*C240 +7.4167*C245 +6.9628*C250 +6.5284*C255 +6.114*C260 +5.7201*C265 +5.3466*C270 +4.9933*C275 +4.6597*C280 +4.3454*C285 +4.0498*C290 +3.7721*C295 +3.5117*C300 +3.2676*C305 +3.0393*C310 +2.8257*C315 +2.6263*C320 +2.4401*C325 +2.2664*C330 +2.1046*C335 +1.9538*C340 +1.8134*C345 +1.6827*C350 +1.5612*C355 +1.4482*C360 +1.3432*C365 +1.2456*C370 +1.1549*C375 +1.0707*C380 +.9926*C385 +.92*C390 +.8527*C395 +.7902*C400 +.7323*C405 +.6786*C410 +.6287*C415 +.5825*C420 +.5397*C425 +.5*C430 +.4631*C435 +.429*C440 +.3974*C445 +.3681*C450 +.3409*C455 +.3158*C460 +.2925*C465 +.2709*C470 +.2509*C475 +.2323*C480 +.2152*C485 +.1993*C490 +.1845*C495 +.1709*C500 +.1583*C505 +.1465*C510 +.1357*C515 +.1257*C520 +.1164*C525 +.1078*C530 +.0998*C535 +.0924*C540 +.0856*C545 +.0792*C550 +.0734*C555 +.0679*C560 +.0629*C565 +.0582*C570 +.0539*C575 +.0499*C580 +.0462*C585 +.0428*C590 +.0396*C595 +.0367*C600 +.034*C605 +.0315*C610 +.0291*C615 +.027*C620 +.025*C625 )


Tanstaafl
Posted : Monday, February 21, 2005 4:03:15 PM
Registered User
Joined: 10/7/2004
Posts: 799
Location: Duluth, GA
Current 8dayBar 12,26,9 MACD, 0.01% error
=========================================
.0001*( 797.7964*C0 +615.9625*C8 +466.4805*C16 +344.0489*C24 +244.206*C32 +163.1985*C40 +97.8713*C48 +45.5736*C56 +4.0803*C64 -28.4752*C72 -53.6571*C80 -72.7751*C88 -86.9242*C96 -97.0191*C104 -103.8225*C112 -107.9697*C120 -109.9885*C128 -110.3168*C136 -109.3168*C144 -107.2876*C152 -104.475*C160 -101.0809*C168 -97.2698*C176 -93.1753*C184 -88.9056*C192 -84.5472*C200 -80.1691*C208 -75.8252*C216 -71.5579*C224 -67.399*C232 -63.3726*C240 -59.4957*C248 -55.7803*C256 -52.2337*C264 -48.8598*C272 -45.6596*C280 -42.632*C288 -39.7741*C296 -37.0817*C304 -34.5497*C312 -32.1722*C320 -29.9429*C328 -27.8551*C336 -25.9018*C344 -24.0764*C352 -22.3718*C360 -20.7813*C368 -19.2984*C376 -17.9167*C384 -16.6299*C392 -15.4323*C400 -14.3181*C408 -13.282*C416 -12.3188*C424 -11.4238*C432 -10.5925*C440 -9.8204*C448 -9.1036*C456 -8.4382*C464 -7.8208*C472 -7.2479*C480 -6.7165*C488 -6.2235*C496 -5.7664*C504 -5.3426*C512 -4.9496*C520 -4.5854*C528 -4.2477*C536 -3.9347*C544 -3.6447*C552 -3.3759*C560 -3.1269*C568 -2.8961*C576 -2.6824*C584 -2.4843*C592 -2.3008*C600 -2.1308*C608 -1.9733*C616 -1.8275*C624 -1.6924*C632 -1.5672*C640 -1.4513*C648 -1.344*C656 -1.2446*C664 -1.1525*C672 -1.0672*C680 -.9883*C688 -.9151*C696 -.8474*C704 -.7847*C712 -.7266*C720 -.6728*C728 -.623*C736 -.5769*C744 -.5342*C752 -.4946*C760 -.458*C768 -.4241*C776 -.3927*C784 -.3636*C792 -.3367*C800 -.3118*C808 -.2887*C816 -.2673*C824 -.2475*C832 -.2292*C840 -.2122*C848 -.1965*C856 -.1819*C864 -.1684*C872 -.156*C880 -.1444*C888 -.1337*C896 -.1238*C904 -.1146*C912 -.1062*C920 -.0983*C928 -.091*C936 -.0843*C944 -.078*C952 -.0723*C960 -.0669*C968 -.0619*C976 -.0574*C984 -.0531*C992 -.0492*C1000 -.0455*C1008 -.0422*C1016 )

PriorBar's 8dayBar 12,26,9 MACD, 0.01% error
============================================
.0001*( 797.7964*C8 +615.9625*C16 +466.4805*C24 +344.0489*C32 +244.206*C40 +163.1985*C48 +97.8713*C56 +45.5736*C64 +4.0803*C72 -28.4752*C80 -53.6571*C88 -72.7751*C96 -86.9242*C104 -97.0191*C112 -103.8225*C120 -107.9697*C128 -109.9885*C136 -110.3168*C144 -109.3168*C152 -107.2876*C160 -104.475*C168 -101.0809*C176 -97.2698*C184 -93.1753*C192 -88.9056*C200 -84.5472*C208 -80.1691*C216 -75.8252*C224 -71.5579*C232 -67.399*C240 -63.3726*C248 -59.4957*C256 -55.7803*C264 -52.2337*C272 -48.8598*C280 -45.6596*C288 -42.632*C296 -39.7741*C304 -37.0817*C312 -34.5497*C320 -32.1722*C328 -29.9429*C336 -27.8551*C344 -25.9018*C352 -24.0764*C360 -22.3718*C368 -20.7813*C376 -19.2984*C384 -17.9167*C392 -16.6299*C400 -15.4323*C408 -14.3181*C416 -13.282*C424 -12.3188*C432 -11.4238*C440 -10.5925*C448 -9.8204*C456 -9.1036*C464 -8.4382*C472 -7.8208*C480 -7.2479*C488 -6.7165*C496 -6.2235*C504 -5.7664*C512 -5.3426*C520 -4.9496*C528 -4.5854*C536 -4.2477*C544 -3.9347*C552 -3.6447*C560 -3.3759*C568 -3.1269*C576 -2.8961*C584 -2.6824*C592 -2.4843*C600 -2.3008*C608 -2.1308*C616 -1.9733*C624 -1.8275*C632 -1.6924*C640 -1.5672*C648 -1.4513*C656 -1.344*C664 -1.2446*C672 -1.1525*C680 -1.0672*C688 -.9883*C696 -.9151*C704 -.8474*C712 -.7847*C720 -.7266*C728 -.6728*C736 -.623*C744 -.5769*C752 -.5342*C760 -.4946*C768 -.458*C776 -.4241*C784 -.3927*C792 -.3636*C800 -.3367*C808 -.3118*C816 -.2887*C824 -.2673*C832 -.2475*C840 -.2292*C848 -.2122*C856 -.1965*C864 -.1819*C872 -.1684*C880 -.156*C888 -.1444*C896 -.1337*C904 -.1238*C912 -.1146*C920 -.1062*C928 -.0983*C936 -.091*C944 -.0843*C952 -.078*C960 -.0723*C968 -.0669*C976 -.0619*C984 -.0574*C992 -.0531*C1000 -.0492*C1008 -.0455*C1016 -.0422*C1024 )

Current 8dayBar 12,26,9 MACD Histo, 0.01% error
===============================================
.0001*( 638.2398*C0 +365.1241*C8 +172.5132*C16 +40.0649*C24 -47.8228*C32 -103.0645*C40 -134.7136*C48 -149.6092*C56 -152.8821*C64 -148.3502*C72 -138.8258*C80 -126.3551*C88 -112.4034*C96 -97.9987*C104 -83.8417*C112 -70.3912*C120 -57.928*C128 -46.605*C136 -36.484*C144 -27.5638*C152 -19.801*C160 -13.1255*C168 -7.4515*C176 -2.6856*C184 +1.2673*C192 +4.5006*C200 +7.103*C208 +9.1575*C216 +10.7399*C224 +11.919*C232 +12.7564*C240 +13.3066*C248 +13.6176*C256 +13.7314*C264 +13.6843*C272 +13.5076*C280 +13.2282*C288 +12.8689*C296 +12.449*C304 +11.9848*C312 +11.4898*C320 +10.9753*C328 +10.4506*C336 +9.923*C344 +9.3988*C352 +8.8827*C360 +8.3786*C368 +7.8892*C376 +7.4167*C384 +6.9628*C392 +6.5284*C400 +6.114*C408 +5.7201*C416 +5.3466*C424 +4.9933*C432 +4.6597*C440 +4.3454*C448 +4.0498*C456 +3.7721*C464 +3.5117*C472 +3.2676*C480 +3.0393*C488 +2.8257*C496 +2.6263*C504 +2.4401*C512 +2.2664*C520 +2.1046*C528 +1.9538*C536 +1.8134*C544 +1.6827*C552 +1.5612*C560 +1.4482*C568 +1.3432*C576 +1.2456*C584 +1.1549*C592 +1.0707*C600 +.9926*C608 +.92*C616 +.8527*C624 +.7902*C632 +.7323*C640 +.6786*C648 +.6287*C656 +.5825*C664 +.5397*C672 +.5*C680 +.4631*C688 +.429*C696 +.3974*C704 +.3681*C712 +.3409*C720 +.3158*C728 +.2925*C736 +.2709*C744 +.2509*C752 +.2323*C760 +.2152*C768 +.1993*C776 +.1845*C784 +.1709*C792 +.1583*C800 +.1465*C808 +.1357*C816 +.1257*C824 +.1164*C832 +.1078*C840 +.0998*C848 +.0924*C856 +.0856*C864 +.0792*C872 +.0734*C880 +.0679*C888 +.0629*C896 +.0582*C904 +.0539*C912 +.0499*C920 +.0462*C928 +.0428*C936 +.0396*C944 +.0367*C952 +.034*C960 +.0315*C968 +.0291*C976 +.027*C984 +.025*C992 )

PriorBar's 8dayBar 12,26,9 MACD Histo, 0.01% error
==================================================
.0001*( 638.2398*C8 +365.1241*C16 +172.5132*C24 +40.0649*C32 -47.8228*C40 -103.0645*C48 -134.7136*C56 -149.6092*C64 -152.8821*C72 -148.3502*C80 -138.8258*C88 -126.3551*C96 -112.4034*C104 -97.9987*C112 -83.8417*C120 -70.3912*C128 -57.928*C136 -46.605*C144 -36.484*C152 -27.5638*C160 -19.801*C168 -13.1255*C176 -7.4515*C184 -2.6856*C192 +1.2673*C200 +4.5006*C208 +7.103*C216 +9.1575*C224 +10.7399*C232 +11.919*C240 +12.7564*C248 +13.3066*C256 +13.6176*C264 +13.7314*C272 +13.6843*C280 +13.5076*C288 +13.2282*C296 +12.8689*C304 +12.449*C312 +11.9848*C320 +11.4898*C328 +10.9753*C336 +10.4506*C344 +9.923*C352 +9.3988*C360 +8.8827*C368 +8.3786*C376 +7.8892*C384 +7.4167*C392 +6.9628*C400 +6.5284*C408 +6.114*C416 +5.7201*C424 +5.3466*C432 +4.9933*C440 +4.6597*C448 +4.3454*C456 +4.0498*C464 +3.7721*C472 +3.5117*C480 +3.2676*C488 +3.0393*C496 +2.8257*C504 +2.6263*C512 +2.4401*C520 +2.2664*C528 +2.1046*C536 +1.9538*C544 +1.8134*C552 +1.6827*C560 +1.5612*C568 +1.4482*C576 +1.3432*C584 +1.2456*C592 +1.1549*C600 +1.0707*C608 +.9926*C616 +.92*C624 +.8527*C632 +.7902*C640 +.7323*C648 +.6786*C656 +.6287*C664 +.5825*C672 +.5397*C680 +.5*C688 +.4631*C696 +.429*C704 +.3974*C712 +.3681*C720 +.3409*C728 +.3158*C736 +.2925*C744 +.2709*C752 +.2509*C760 +.2323*C768 +.2152*C776 +.1993*C784 +.1845*C792 +.1709*C800 +.1583*C808 +.1465*C816 +.1357*C824 +.1257*C832 +.1164*C840 +.1078*C848 +.0998*C856 +.0924*C864 +.0856*C872 +.0792*C880 +.0734*C888 +.0679*C896 +.0629*C904 +.0582*C912 +.0539*C920 +.0499*C928 +.0462*C936 +.0428*C944 +.0396*C952 +.0367*C960 +.034*C968 +.0315*C976 +.0291*C984 +.027*C992 +.025*C1000 )

Tanstaafl
Posted : Monday, February 21, 2005 4:03:52 PM
Registered User
Joined: 10/7/2004
Posts: 799
Location: Duluth, GA
Current 13dayBar 12,26,9 MACD, 0.01% error
==========================================
.0001*( 797.7964*C0 +615.9625*C13 +466.4805*C26 +344.0489*C39 +244.206*C52 +163.1985*C65 +97.8713*C78 +45.5736*C91 +4.0803*C104 -28.4752*C117 -53.6571*C130 -72.7751*C143 -86.9242*C156 -97.0191*C169 -103.8225*C182 -107.9697*C195 -109.9885*C208 -110.3168*C221 -109.3168*C234 -107.2876*C247 -104.475*C260 -101.0809*C273 -97.2698*C286 -93.1753*C299 -88.9056*C312 -84.5472*C325 -80.1691*C338 -75.8252*C351 -71.5579*C364 -67.399*C377 -63.3726*C390 -59.4957*C403 -55.7803*C416 -52.2337*C429 -48.8598*C442 -45.6596*C455 -42.632*C468 -39.7741*C481 -37.0817*C494 -34.5497*C507 -32.1722*C520 -29.9429*C533 -27.8551*C546 -25.9018*C559 -24.0764*C572 -22.3718*C585 -20.7813*C598 -19.2984*C611 -17.9167*C624 -16.6299*C637 -15.4323*C650 -14.3181*C663 -13.282*C676 -12.3188*C689 -11.4238*C702 -10.5925*C715 -9.8204*C728 -9.1036*C741 -8.4382*C754 -7.8208*C767 -7.2479*C780 -6.7165*C793 -6.2235*C806 -5.7664*C819 -5.3426*C832 -4.9496*C845 -4.5854*C858 -4.2477*C871 -3.9347*C884 -3.6447*C897 -3.3759*C910 -3.1269*C923 -2.8961*C936 -2.6824*C949 -2.4843*C962 -2.3008*C975 -2.1308*C988 -1.9733*C1001 -1.8275*C1014 -1.6924*C1027 -1.5672*C1040 -1.4513*C1053 -1.344*C1066 -1.2446*C1079 -1.1525*C1092 -1.0672*C1105 -.9883*C1118 -.9151*C1131 -.8474*C1144 -.7847*C1157 -.7266*C1170 -.6728*C1183 -.623*C1196 -.5769*C1209 -.5342*C1222 -.4946*C1235 -.458*C1248 -.4241*C1261 -.3927*C1274 -.3636*C1287 -.3367*C1300 -.3118*C1313 -.2887*C1326 -.2673*C1339 -.2475*C1352 -.2292*C1365 -.2122*C1378 -.1965*C1391 -.1819*C1404 -.1684*C1417 -.156*C1430 -.1444*C1443 -.1337*C1456 -.1238*C1469 -.1146*C1482 -.1062*C1495 -.0983*C1508 -.091*C1521 -.0843*C1534 -.078*C1547 -.0723*C1560 -.0669*C1573 -.0619*C1586 -.0574*C1599 -.0531*C1612 -.0492*C1625 -.0455*C1638 -.0422*C1651 )

PriorBar's 13dayBar 12,26,9 MACD, 0.01% error
=============================================
.0001*( 797.7964*C13 +615.9625*C26 +466.4805*C39 +344.0489*C52 +244.206*C65 +163.1985*C78 +97.8713*C91 +45.5736*C104 +4.0803*C117 -28.4752*C130 -53.6571*C143 -72.7751*C156 -86.9242*C169 -97.0191*C182 -103.8225*C195 -107.9697*C208 -109.9885*C221 -110.3168*C234 -109.3168*C247 -107.2876*C260 -104.475*C273 -101.0809*C286 -97.2698*C299 -93.1753*C312 -88.9056*C325 -84.5472*C338 -80.1691*C351 -75.8252*C364 -71.5579*C377 -67.399*C390 -63.3726*C403 -59.4957*C416 -55.7803*C429 -52.2337*C442 -48.8598*C455 -45.6596*C468 -42.632*C481 -39.7741*C494 -37.0817*C507 -34.5497*C520 -32.1722*C533 -29.9429*C546 -27.8551*C559 -25.9018*C572 -24.0764*C585 -22.3718*C598 -20.7813*C611 -19.2984*C624 -17.9167*C637 -16.6299*C650 -15.4323*C663 -14.3181*C676 -13.282*C689 -12.3188*C702 -11.4238*C715 -10.5925*C728 -9.8204*C741 -9.1036*C754 -8.4382*C767 -7.8208*C780 -7.2479*C793 -6.7165*C806 -6.2235*C819 -5.7664*C832 -5.3426*C845 -4.9496*C858 -4.5854*C871 -4.2477*C884 -3.9347*C897 -3.6447*C910 -3.3759*C923 -3.1269*C936 -2.8961*C949 -2.6824*C962 -2.4843*C975 -2.3008*C988 -2.1308*C1001 -1.9733*C1014 -1.8275*C1027 -1.6924*C1040 -1.5672*C1053 -1.4513*C1066 -1.344*C1079 -1.2446*C1092 -1.1525*C1105 -1.0672*C1118 -.9883*C1131 -.9151*C1144 -.8474*C1157 -.7847*C1170 -.7266*C1183 -.6728*C1196 -.623*C1209 -.5769*C1222 -.5342*C1235 -.4946*C1248 -.458*C1261 -.4241*C1274 -.3927*C1287 -.3636*C1300 -.3367*C1313 -.3118*C1326 -.2887*C1339 -.2673*C1352 -.2475*C1365 -.2292*C1378 -.2122*C1391 -.1965*C1404 -.1819*C1417 -.1684*C1430 -.156*C1443 -.1444*C1456 -.1337*C1469 -.1238*C1482 -.1146*C1495 -.1062*C1508 -.0983*C1521 -.091*C1534 -.0843*C1547 -.078*C1560 -.0723*C1573 -.0669*C1586 -.0619*C1599 -.0574*C1612 -.0531*C1625 -.0492*C1638 -.0455*C1651 -.0422*C1664 )

Current 13dayBar 12,26,9 MACD Histo, 0.01% error
================================================
.0001*( 638.2398*C0 +365.1241*C13 +172.5132*C26 +40.0649*C39 -47.8228*C52 -103.0645*C65 -134.7136*C78 -149.6092*C91 -152.8821*C104 -148.3502*C117 -138.8258*C130 -126.3551*C143 -112.4034*C156 -97.9987*C169 -83.8417*C182 -70.3912*C195 -57.928*C208 -46.605*C221 -36.484*C234 -27.5638*C247 -19.801*C260 -13.1255*C273 -7.4515*C286 -2.6856*C299 +1.2673*C312 +4.5006*C325 +7.103*C338 +9.1575*C351 +10.7399*C364 +11.919*C377 +12.7564*C390 +13.3066*C403 +13.6176*C416 +13.7314*C429 +13.6843*C442 +13.5076*C455 +13.2282*C468 +12.8689*C481 +12.449*C494 +11.9848*C507 +11.4898*C520 +10.9753*C533 +10.4506*C546 +9.923*C559 +9.3988*C572 +8.8827*C585 +8.3786*C598 +7.8892*C611 +7.4167*C624 +6.9628*C637 +6.5284*C650 +6.114*C663 +5.7201*C676 +5.3466*C689 +4.9933*C702 +4.6597*C715 +4.3454*C728 +4.0498*C741 +3.7721*C754 +3.5117*C767 +3.2676*C780 +3.0393*C793 +2.8257*C806 +2.6263*C819 +2.4401*C832 +2.2664*C845 +2.1046*C858 +1.9538*C871 +1.8134*C884 +1.6827*C897 +1.5612*C910 +1.4482*C923 +1.3432*C936 +1.2456*C949 +1.1549*C962 +1.0707*C975 +.9926*C988 +.92*C1001 +.8527*C1014 +.7902*C1027 +.7323*C1040 +.6786*C1053 +.6287*C1066 +.5825*C1079 +.5397*C1092 +.5*C1105 +.4631*C1118 +.429*C1131 +.3974*C1144 +.3681*C1157 +.3409*C1170 +.3158*C1183 +.2925*C1196 +.2709*C1209 +.2509*C1222 +.2323*C1235 +.2152*C1248 +.1993*C1261 +.1845*C1274 +.1709*C1287 +.1583*C1300 +.1465*C1313 +.1357*C1326 +.1257*C1339 +.1164*C1352 +.1078*C1365 +.0998*C1378 +.0924*C1391 +.0856*C1404 +.0792*C1417 +.0734*C1430 +.0679*C1443 +.0629*C1456 +.0582*C1469 +.0539*C1482 +.0499*C1495 +.0462*C1508 +.0428*C1521 +.0396*C1534 +.0367*C1547 +.034*C1560 +.0315*C1573 +.0291*C1586 +.027*C1599 +.025*C1612 )

PriorBar's 13dayBar 12,26,9 MACD Histo, 0.01% error
===================================================
.0001*( 638.2398*C13 +365.1241*C26 +172.5132*C39 +40.0649*C52 -47.8228*C65 -103.0645*C78 -134.7136*C91 -149.6092*C104 -152.8821*C117 -148.3502*C130 -138.8258*C143 -126.3551*C156 -112.4034*C169 -97.9987*C182 -83.8417*C195 -70.3912*C208 -57.928*C221 -46.605*C234 -36.484*C247 -27.5638*C260 -19.801*C273 -13.1255*C286 -7.4515*C299 -2.6856*C312 +1.2673*C325 +4.5006*C338 +7.103*C351 +9.1575*C364 +10.7399*C377 +11.919*C390 +12.7564*C403 +13.3066*C416 +13.6176*C429 +13.7314*C442 +13.6843*C455 +13.5076*C468 +13.2282*C481 +12.8689*C494 +12.449*C507 +11.9848*C520 +11.4898*C533 +10.9753*C546 +10.4506*C559 +9.923*C572 +9.3988*C585 +8.8827*C598 +8.3786*C611 +7.8892*C624 +7.4167*C637 +6.9628*C650 +6.5284*C663 +6.114*C676 +5.7201*C689 +5.3466*C702 +4.9933*C715 +4.6597*C728 +4.3454*C741 +4.0498*C754 +3.7721*C767 +3.5117*C780 +3.2676*C793 +3.0393*C806 +2.8257*C819 +2.6263*C832 +2.4401*C845 +2.2664*C858 +2.1046*C871 +1.9538*C884 +1.8134*C897 +1.6827*C910 +1.5612*C923 +1.4482*C936 +1.3432*C949 +1.2456*C962 +1.1549*C975 +1.0707*C988 +.9926*C1001 +.92*C1014 +.8527*C1027 +.7902*C1040 +.7323*C1053 +.6786*C1066 +.6287*C1079 +.5825*C1092 +.5397*C1105 +.5*C1118 +.4631*C1131 +.429*C1144 +.3974*C1157 +.3681*C1170 +.3409*C1183 +.3158*C1196 +.2925*C1209 +.2709*C1222 +.2509*C1235 +.2323*C1248 +.2152*C1261 +.1993*C1274 +.1845*C1287 +.1709*C1300 +.1583*C1313 +.1465*C1326 +.1357*C1339 +.1257*C1352 +.1164*C1365 +.1078*C1378 +.0998*C1391 +.0924*C1404 +.0856*C1417 +.0792*C1430 +.0734*C1443 +.0679*C1456 +.0629*C1469 +.0582*C1482 +.0539*C1495 +.0499*C1508 +.0462*C1521 +.0428*C1534 +.0396*C1547 +.0367*C1560 +.034*C1573 +.0315*C1586 +.0291*C1599 +.027*C1612 +.025*C1625 )

Tanstaafl
Posted : Monday, February 21, 2005 4:04:49 PM
Registered User
Joined: 10/7/2004
Posts: 799
Location: Duluth, GA
Current 21dayBar 12,26,9 MACD, 0.01% error (Monthly)
==========================================
.0001*( 797.7964*C0 +615.9625*C21 +466.4805*C42 +344.0489*C63 +244.206*C84 +163.1985*C105 +97.8713*C126 +45.5736*C147 +4.0803*C168 -28.4752*C189 -53.6571*C210 -72.7751*C231 -86.9242*C252 -97.0191*C273 -103.8225*C294 -107.9697*C315 -109.9885*C336 -110.3168*C357 -109.3168*C378 -107.2876*C399 -104.475*C420 -101.0809*C441 -97.2698*C462 -93.1753*C483 -88.9056*C504 -84.5472*C525 -80.1691*C546 -75.8252*C567 -71.5579*C588 -67.399*C609 -63.3726*C630 -59.4957*C651 -55.7803*C672 -52.2337*C693 -48.8598*C714 -45.6596*C735 -42.632*C756 -39.7741*C777 -37.0817*C798 -34.5497*C819 -32.1722*C840 -29.9429*C861 -27.8551*C882 -25.9018*C903 -24.0764*C924 -22.3718*C945 -20.7813*C966 -19.2984*C987 -17.9167*C1008 -16.6299*C1029 -15.4323*C1050 -14.3181*C1071 -13.282*C1092 -12.3188*C1113 -11.4238*C1134 -10.5925*C1155 -9.8204*C1176 -9.1036*C1197 -8.4382*C1218 -7.8208*C1239 -7.2479*C1260 -6.7165*C1281 -6.2235*C1302 -5.7664*C1323 -5.3426*C1344 -4.9496*C1365 -4.5854*C1386 -4.2477*C1407 -3.9347*C1428 -3.6447*C1449 -3.3759*C1470 -3.1269*C1491 -2.8961*C1512 -2.6824*C1533 -2.4843*C1554 -2.3008*C1575 -2.1308*C1596 -1.9733*C1617 -1.8275*C1638 -1.6924*C1659 -1.5672*C1680 -1.4513*C1701 -1.344*C1722 -1.2446*C1743 -1.1525*C1764 -1.0672*C1785 -.9883*C1806 -.9151*C1827 -.8474*C1848 -.7847*C1869 -.7266*C1890 -.6728*C1911 -.623*C1932 -.5769*C1953 -.5342*C1974 -.4946*C1995 -.458*C2016 -.4241*C2037 -.3927*C2058 -.3636*C2079 -.3367*C2100 -.3118*C2121 -.2887*C2142 -.2673*C2163 -.2475*C2184 -.2292*C2205 -.2122*C2226 -.1965*C2247 -.1819*C2268 -.1684*C2289 -.156*C2310 -.1444*C2331 -.1337*C2352 -.1238*C2373 -.1146*C2394 -.1062*C2415 -.0983*C2436 -.091*C2457 -.0843*C2478 -.078*C2499 -.0723*C2520 -.0669*C2541 -.0619*C2562 -.0574*C2583 -.0531*C2604 -.0492*C2625 -.0455*C2646 -.0422*C2667 )

PriorBar's 21dayBar 12,26,9 MACD, 0.01% error (Monthly)
=============================================
.0001*( 797.7964*C21 +615.9625*C42 +466.4805*C63 +344.0489*C84 +244.206*C105 +163.1985*C126 +97.8713*C147 +45.5736*C168 +4.0803*C189 -28.4752*C210 -53.6571*C231 -72.7751*C252 -86.9242*C273 -97.0191*C294 -103.8225*C315 -107.9697*C336 -109.9885*C357 -110.3168*C378 -109.3168*C399 -107.2876*C420 -104.475*C441 -101.0809*C462 -97.2698*C483 -93.1753*C504 -88.9056*C525 -84.5472*C546 -80.1691*C567 -75.8252*C588 -71.5579*C609 -67.399*C630 -63.3726*C651 -59.4957*C672 -55.7803*C693 -52.2337*C714 -48.8598*C735 -45.6596*C756 -42.632*C777 -39.7741*C798 -37.0817*C819 -34.5497*C840 -32.1722*C861 -29.9429*C882 -27.8551*C903 -25.9018*C924 -24.0764*C945 -22.3718*C966 -20.7813*C987 -19.2984*C1008 -17.9167*C1029 -16.6299*C1050 -15.4323*C1071 -14.3181*C1092 -13.282*C1113 -12.3188*C1134 -11.4238*C1155 -10.5925*C1176 -9.8204*C1197 -9.1036*C1218 -8.4382*C1239 -7.8208*C1260 -7.2479*C1281 -6.7165*C1302 -6.2235*C1323 -5.7664*C1344 -5.3426*C1365 -4.9496*C1386 -4.5854*C1407 -4.2477*C1428 -3.9347*C1449 -3.6447*C1470 -3.3759*C1491 -3.1269*C1512 -2.8961*C1533 -2.6824*C1554 -2.4843*C1575 -2.3008*C1596 -2.1308*C1617 -1.9733*C1638 -1.8275*C1659 -1.6924*C1680 -1.5672*C1701 -1.4513*C1722 -1.344*C1743 -1.2446*C1764 -1.1525*C1785 -1.0672*C1806 -.9883*C1827 -.9151*C1848 -.8474*C1869 -.7847*C1890 -.7266*C1911 -.6728*C1932 -.623*C1953 -.5769*C1974 -.5342*C1995 -.4946*C2016 -.458*C2037 -.4241*C2058 -.3927*C2079 -.3636*C2100 -.3367*C2121 -.3118*C2142 -.2887*C2163 -.2673*C2184 -.2475*C2205 -.2292*C2226 -.2122*C2247 -.1965*C2268 -.1819*C2289 -.1684*C2310 -.156*C2331 -.1444*C2352 -.1337*C2373 -.1238*C2394 -.1146*C2415 -.1062*C2436 -.0983*C2457 -.091*C2478 -.0843*C2499 -.078*C2520 -.0723*C2541 -.0669*C2562 -.0619*C2583 -.0574*C2604 -.0531*C2625 -.0492*C2646 -.0455*C2667 -.0422*C2688 )

Current 21dayBar 12,26,9 MACD Histo, 0.01% error (Monthly)
================================================
.0001*( 638.2398*C0 +365.1241*C21 +172.5132*C42 +40.0649*C63 -47.8228*C84 -103.0645*C105 -134.7136*C126 -149.6092*C147 -152.8821*C168 -148.3502*C189 -138.8258*C210 -126.3551*C231 -112.4034*C252 -97.9987*C273 -83.8417*C294 -70.3912*C315 -57.928*C336 -46.605*C357 -36.484*C378 -27.5638*C399 -19.801*C420 -13.1255*C441 -7.4515*C462 -2.6856*C483 +1.2673*C504 +4.5006*C525 +7.103*C546 +9.1575*C567 +10.7399*C588 +11.919*C609 +12.7564*C630 +13.3066*C651 +13.6176*C672 +13.7314*C693 +13.6843*C714 +13.5076*C735 +13.2282*C756 +12.8689*C777 +12.449*C798 +11.9848*C819 +11.4898*C840 +10.9753*C861 +10.4506*C882 +9.923*C903 +9.3988*C924 +8.8827*C945 +8.3786*C966 +7.8892*C987 +7.4167*C1008 +6.9628*C1029 +6.5284*C1050 +6.114*C1071 +5.7201*C1092 +5.3466*C1113 +4.9933*C1134 +4.6597*C1155 +4.3454*C1176 +4.0498*C1197 +3.7721*C1218 +3.5117*C1239 +3.2676*C1260 +3.0393*C1281 +2.8257*C1302 +2.6263*C1323 +2.4401*C1344 +2.2664*C1365 +2.1046*C1386 +1.9538*C1407 +1.8134*C1428 +1.6827*C1449 +1.5612*C1470 +1.4482*C1491 +1.3432*C1512 +1.2456*C1533 +1.1549*C1554 +1.0707*C1575 +.9926*C1596 +.92*C1617 +.8527*C1638 +.7902*C1659 +.7323*C1680 +.6786*C1701 +.6287*C1722 +.5825*C1743 +.5397*C1764 +.5*C1785 +.4631*C1806 +.429*C1827 +.3974*C1848 +.3681*C1869 +.3409*C1890 +.3158*C1911 +.2925*C1932 +.2709*C1953 +.2509*C1974 +.2323*C1995 +.2152*C2016 +.1993*C2037 +.1845*C2058 +.1709*C2079 +.1583*C2100 +.1465*C2121 +.1357*C2142 +.1257*C2163 +.1164*C2184 +.1078*C2205 +.0998*C2226 +.0924*C2247 +.0856*C2268 +.0792*C2289 +.0734*C2310 +.0679*C2331 +.0629*C2352 +.0582*C2373 +.0539*C2394 +.0499*C2415 +.0462*C2436 +.0428*C2457 +.0396*C2478 +.0367*C2499 +.034*C2520 +.0315*C2541 +.0291*C2562 +.027*C2583 +.025*C2604 )

PriorBar's 21dayBar 12,26,9 MACD Histo, 0.01% error (Monthly)
===================================================
.0001*( 638.2398*C21 +365.1241*C42 +172.5132*C63 +40.0649*C84 -47.8228*C105 -103.0645*C126 -134.7136*C147 -149.6092*C168 -152.8821*C189 -148.3502*C210 -138.8258*C231 -126.3551*C252 -112.4034*C273 -97.9987*C294 -83.8417*C315 -70.3912*C336 -57.928*C357 -46.605*C378 -36.484*C399 -27.5638*C420 -19.801*C441 -13.1255*C462 -7.4515*C483 -2.6856*C504 +1.2673*C525 +4.5006*C546 +7.103*C567 +9.1575*C588 +10.7399*C609 +11.919*C630 +12.7564*C651 +13.3066*C672 +13.6176*C693 +13.7314*C714 +13.6843*C735 +13.5076*C756 +13.2282*C777 +12.8689*C798 +12.449*C819 +11.9848*C840 +11.4898*C861 +10.9753*C882 +10.4506*C903 +9.923*C924 +9.3988*C945 +8.8827*C966 +8.3786*C987 +7.8892*C1008 +7.4167*C1029 +6.9628*C1050 +6.5284*C1071 +6.114*C1092 +5.7201*C1113 +5.3466*C1134 +4.9933*C1155 +4.6597*C1176 +4.3454*C1197 +4.0498*C1218 +3.7721*C1239 +3.5117*C1260 +3.2676*C1281 +3.0393*C1302 +2.8257*C1323 +2.6263*C1344 +2.4401*C1365 +2.2664*C1386 +2.1046*C1407 +1.9538*C1428 +1.8134*C1449 +1.6827*C1470 +1.5612*C1491 +1.4482*C1512 +1.3432*C1533 +1.2456*C1554 +1.1549*C1575 +1.0707*C1596 +.9926*C1617 +.92*C1638 +.8527*C1659 +.7902*C1680 +.7323*C1701 +.6786*C1722 +.6287*C1743 +.5825*C1764 +.5397*C1785 +.5*C1806 +.4631*C1827 +.429*C1848 +.3974*C1869 +.3681*C1890 +.3409*C1911 +.3158*C1932 +.2925*C1953 +.2709*C1974 +.2509*C1995 +.2323*C2016 +.2152*C2037 +.1993*C2058 +.1845*C2079 +.1709*C2100 +.1583*C2121 +.1465*C2142 +.1357*C2163 +.1257*C2184 +.1164*C2205 +.1078*C2226 +.0998*C2247 +.0924*C2268 +.0856*C2289 +.0792*C2310 +.0734*C2331 +.0679*C2352 +.0629*C2373 +.0582*C2394 +.0539*C2415 +.0499*C2436 +.0462*C2457 +.0428*C2478 +.0396*C2499 +.0367*C2520 +.034*C2541 +.0315*C2562 +.0291*C2583 +.027*C2604 +.025*C2625 )


Tanstaafl
Posted : Tuesday, February 22, 2005 10:22:39 AM
Registered User
Joined: 10/7/2004
Posts: 799
Location: Duluth, GA
In my initial post, I quoted a formula for the 12,26,9 MACD Histo which had a typo ... the correct formula is:
XAvgC12-XAvgC26 - (XAvg(XAvgC12,9)-XAvg(XAvgC26,9))

I don't know why the quotation marks and greater-than signs, etc got messsed up - they were simple text when I posted them. I hope you can figure them out OK, since I can't edit the post after the fact.

Jim Dean


Tanstaafl
Posted : Sunday, February 27, 2005 7:22:48 AM
Registered User
Joined: 10/7/2004
Posts: 799
Location: Duluth, GA
Oops ... in my original post in this thread I said "I'm sure that Doug would be able to set up an Excel spreadsheet similar to the one I am using, to crank out whatever you need."

Although this may be true, I had intended to mention BRUCE rather than Doug, since he seems to be the one who has done that kind of thing already. Doug has also been extremely helpful, too :~)

Credit where credit is due!

Sorry about that, Bruce!

Jim Dean

ghanson59
Posted : Monday, May 2, 2005 2:03:28 PM
Registered User
Joined: 1/6/2005
Posts: 17
Jim,
Thanks for sharing the MACD (and BBs, and CCi, etc.) formulas. I needed to screen for weekly MACDH crossovers and you have made that possible.
Would you please explain the formula syntax (in much the same way you explained your Bollinger Band formula) to further my understanding of how it works? I understand MACD but I'm trying to parse your formula and it is beyond me.
Thanks for your generosity and patience(!)

Greg
Tanstaafl
Posted : Tuesday, May 3, 2005 12:29:43 PM
Registered User
Joined: 10/7/2004
Posts: 799
Location: Duluth, GA
Hi, Greg:

Here is a copy of an explanation that I wrote up some time ago. You might find it interesting, but unless you are pretty adept with Excel, the post immediately following might be more useful to you. Here ya go:

******* PCF FOR THE STANDARD EMA-BASED MACD-HISTOGRAM *******

The MACD Histogram is the DIFFERENCE between the MACD and it's
delayed "Signal" line. The Signal line is created by applying an EMA
to the MACD, which smooths the MACD line and "lags" it a bit.

"Typical" usage is to look for the crossovers of the MACD vs its
Signal line to identify changes in trend direction ... that is, the
point at which the difference between the MACD and its Signal line
are zero.

Let's start with the formula for the 9-day EMA. For 0.01% accuracy,
similar to TC's XAvg function, the series-formula is:
.001*( 200.017*C0 +160.0136*C1 +128.0109*C2 +102.4087*C3 +81.927*C4
+65.5416*C5 +52.4333*C6 +41.9466*C7 +33.5573*C8 +26.8458*C9
+21.4767*C10 +17.1813*C11 +13.7451*C12 +10.9961*C13 +8.7968*C14
+7.0375*C15 +5.63*C16 +4.504*C17 +3.6032*C18 +2.8825*C19 +2.306*C20
+1.8448*C21 +1.4759*C22 +1.1807*C23 +.9446*C24 +.7556*C25 +.6045*C26
+.4836*C27 +.3869*C28 +.3095*C29 +.2476*C30 +.1981*C31 +.1585*C32
+.1268*C33 +.1014*C34 +.0811*C35 +.0649*C36 +.0519*C37 +.0415*C38
+.0332*C39 +.0266*C40 +.0213*C41 )

We can use that formula for any base term we wish ... that is, you
can get a 9EMA of the High's simply by replacing all the "C's" in the
formula with "H's".

Similarly, we can replace the "C's" with FUNCTIONS. For example, if
you wanted the 9-day EMA of the RSI5.3, simply replace each "C" with
the string "RSI5.3." - the final decimal point is important, btw.

In theory, we can also plug in a FORMULA in place of the "C". That
is, you can replace the "C0" with "(H0+L0)/2", and the "C1" with
"(H1+L1)/2", etc, thus getting the EMA of the average of the H & L.

Taking that further, we could substitute in formulae for the 12,26
MACD in place of the C's ... but you need to modify the entire series
for each day-ago condition ... much like we changed H0-L0 to H1-L1 in
the example above. If you use TC's new native XAvgC functions to
calc the MACD for each day in the series, it would work, but would be
very timeconsuming to calculate (42 terms in the 9-day EMA series).

But there is a simpler, better way.

It is possible (in Excel) to combine the terms of the base EMA series
for the fast and slow components of the MACD, and also combine the
signal-line series on top of that, resulting in a simple formula
without a lot of parentheses, just multiplication and add/subtract.

Finally, once that EMA(MACD) signal-line series is created, we need
to SUBTRACT that formula from the original MACD formula to get the
histogram formula. It is straightforward to take the Excel expansion
a step further, and include the MACD Histo calc in the series, that
is, create a single, simple, accurate formula for the MACD - EMA(MACD).

The really neat thing is that the length of the final formula is not
very much bigger than what would be required to model the starting-
point EMA components.

If we built the 12,26,9 expansion the hard way, it would require over
3,000 terms, and a LOT of parentheses! But if we combine the
coefficients as described above, the final 12,26,9 formula has only
124 terms, for 0.01% accuracy (equiv to TC internal calc's).

And it calculates very quickly in TC, since it is just a bunch of
plus/minus and multiplication operations, without a lot of
parenthesis-nesting (which slows things down in formula interpreters
like TC).

So, as a "reward" for having waded thru this, here are the formulae
for the true-EMA-based 12,26,9 MACD Histograms, for today and
yesterday. You can use these to find histo-crossovers of the zero-
line, or histo-slopes, as well as the histo values.

These formulae are accurate to within 0.01%. You can plot the first
one as a Custom Indicator and compare to the native TC MACDHisto
graph to see how well they match.

12,26,9 MACD Histo for today:
.0001*( 638.2398*C0 +365.1241*C1 +172.5132*C2 +40.0649*C3 -47.8228*C4
-103.0645*C5 -134.7136*C6 -149.6092*C7 -152.8821*C8 -148.3502*C9
-138.8258*C10 -126.3551*C11 -112.4034*C12 -97.9987*C13 -83.8417*C14
-70.3912*C15 -57.928*C16 -46.605*C17 -36.484*C18 -27.5638*C19
-19.801*C20 -13.1255*C21 -7.4515*C22 -2.6856*C23 +1.2673*C24
+4.5006*C25 +7.103*C26 +9.1575*C27 +10.7399*C28 +11.919*C29
+12.7564*C30 +13.3066*C31 +13.6176*C32 +13.7314*C33 +13.6843*C34
+13.5076*C35 +13.2282*C36 +12.8689*C37 +12.449*C38 +11.9848*C39
+11.4898*C40 +10.9753*C41 +10.4506*C42 +9.923*C43 +9.3988*C44
+8.8827*C45 +8.3786*C46 +7.8892*C47 +7.4167*C48 +6.9628*C49
+6.5284*C50 +6.114*C51 +5.7201*C52 +5.3466*C53 +4.9933*C54
+4.6597*C55 +4.3454*C56 +4.0498*C57 +3.7721*C58 +3.5117*C59
+3.2676*C60 +3.0393*C61 +2.8257*C62 +2.6263*C63 +2.4401*C64
+2.2664*C65 +2.1046*C66 +1.9538*C67 +1.8134*C68 +1.6827*C69
+1.5612*C70 +1.4482*C71 +1.3432*C72 +1.2456*C73 +1.1549*C74
+1.0707*C75 +.9926*C76 +.92*C77 +.8527*C78 +.7902*C79 +.7323*C80
+.6786*C81 +.6287*C82 +.5825*C83 +.5397*C84 +.5*C85 +.4631*C86
+.429*C87 +.3974*C88 +.3681*C89 +.3409*C90 +.3158*C91 +.2925*C92
+.2709*C93 +.2509*C94 +.2323*C95 +.2152*C96 +.1993*C97 +.1845*C98
+.1709*C99 +.1583*C100 +.1465*C101 +.1357*C102 +.1257*C103
+.1164*C104 +.1078*C105 +.0998*C106 +.0924*C107 +.0856*C108
+.0792*C109 +.0734*C110 +.0679*C111 +.0629*C112 +.0582*C113
+.0539*C114 +.0499*C115 +.0462*C116 +.0428*C117 +.0396*C118
+.0367*C119 +.034*C120 +.0315*C121 +.0291*C122 +.027*C123 +.025*C124)

12,26,9 MACD Histo for yesterday:
.0001*( 638.2398*C1 +365.1241*C2 +172.5132*C3 +40.0649*C4 -47.8228*C5
-103.0645*C6 -134.7136*C7 -149.6092*C8 -152.8821*C9 -148.3502*C10
-138.8258*C11 -126.3551*C12 -112.4034*C13 -97.9987*C14 -83.8417*C15
-70.3912*C16 -57.928*C17 -46.605*C18 -36.484*C19 -27.5638*C20
-19.801*C21 -13.1255*C22 -7.4515*C23 -2.6856*C24 +1.2673*C25
+4.5006*C26 +7.103*C27 +9.1575*C28 +10.7399*C29 +11.919*C30
+12.7564*C31 +13.3066*C32 +13.6176*C33 +13.7314*C34 +13.6843*C35
+13.5076*C36 +13.2282*C37 +12.8689*C38 +12.449*C39 +11.9848*C40
+11.4898*C41 +10.9753*C42 +10.4506*C43 +9.923*C44 +9.3988*C45
+8.8827*C46 +8.3786*C47 +7.8892*C48 +7.4167*C49 +6.9628*C50
+6.5284*C51 +6.114*C52 +5.7201*C53 +5.3466*C54 +4.9933*C55
+4.6597*C56 +4.3454*C57 +4.0498*C58 +3.7721*C59 +3.5117*C60
+3.2676*C61 +3.0393*C62 +2.8257*C63 +2.6263*C64 +2.4401*C65
+2.2664*C66 +2.1046*C67 +1.9538*C68 +1.8134*C69 +1.6827*C70
+1.5612*C71 +1.4482*C72 +1.3432*C73 +1.2456*C74 +1.1549*C75
+1.0707*C76 +.9926*C77 +.92*C78 +.8527*C79 +.7902*C80 +.7323*C81
+.6786*C82 +.6287*C83 +.5825*C84 +.5397*C85 +.5*C86 +.4631*C87
+.429*C88 +.3974*C89 +.3681*C90 +.3409*C91 +.3158*C92 +.2925*C93
+.2709*C94 +.2509*C95 +.2323*C96 +.2152*C97 +.1993*C98 +.1845*C99
+.1709*C100 +.1583*C101 +.1465*C102 +.1357*C103 +.1257*C104
+.1164*C105 +.1078*C106 +.0998*C107 +.0924*C108 +.0856*C109
+.0792*C110 +.0734*C111 +.0679*C112 +.0629*C113 +.0582*C114
+.0539*C115 +.0499*C116 +.0462*C117 +.0428*C118 +.0396*C119
+.0367*C120 +.034*C121 +.0315*C122 +.0291*C123 +.027*C124 +.025*C125)


Tanstaafl
Posted : Tuesday, May 3, 2005 12:37:43 PM
Registered User
Joined: 10/7/2004
Posts: 799
Location: Duluth, GA
Here is a very concise summary of how you can use the XAvg functions to model the MACD and its Signal line and the MACD Histo in the current version of TC. It is extracted from the notes of one of my Atlanta TeleChart Club's training sessions, so it's a bit terse, but all the info is there that you will need to "roll your own". Please note that the "special" Histo PCF form only works if none of the three parameters equal any of the others. In the event that you HAVE to model something like 5,10,5 or whatever, you should do it longhand as MACD - Signal (using formula for each of those as provided below):


Histogram = MACD - Signal (=0 @cross)
called "Histogram" since plotted as bars

XMA PCF's for the MACD & its Signal
MACD PCF = XAvgC12 - XAvgC26
Signal = XMA( MACD, 9 ) ... BUT ...
can't use formula in TC's XAvg() func ...
sol'n: XMA(A-B,#) = XMA(A,#)-XMA(B,#)
Signal= XAvg(XAvgC12,9)-XAvg(XAvgC26,9)
can use very special algebra to combine
(provided by Jim Murphy of Aux group)
XMA(XMA(func,P),Q) = ((P-1)/(P-Q))*
XMA(func,P) - ((Q-1)/(P-Q))*XMA(func,Q)
where P & Q are nested XMA periods
Signal PCF reduction (for recalc speed):
(12-1)/(12-9)*XMA(12)-(9-1)/(12-9)*XMA(9)
3.6667*XAvgC12 - 2.6667*XAvgC9
(26-1)/(26-9)*XMA(26)-(9-1)/(26-9)*XMA(9)
1.4706*XAvgC26 - 0.47059*XAvgC9
= 3.6667*XAvgC12 - 1.4706*XAvgC26
- 2.6667*XAvgC9 + 0.47059*XAvgC9
Signal PCF = 3.6667*XAvgC12 -
1.47059*XAvgC26 - 2.1961*XAvgC9
Histo = MACD - Signal
Histo PCF = 2.1961*XAvgC9 -
2.6667*XAvgC12 + 0.47059*XAvgC26

To create your own Histo PCF, change
12,26,9 values below to desired ones:
((9-1)/((12-9)*(26-9))) * ((26-12)*XAvgC9
- (26-9)*XAvgC12+(12-9)*XAvgC26 )


Tanstaafl
Posted : Tuesday, May 3, 2005 12:39:13 PM
Registered User
Joined: 10/7/2004
Posts: 799
Location: Duluth, GA
Oops sorry about the formatting ... this forum apparently tries to "help" by auto-stripping indentation at the beginning of each line. Ah well, it ain't pretty but it is correct.

Tanstaafl
Posted : Tuesday, May 3, 2005 12:42:36 PM
Registered User
Joined: 10/7/2004
Posts: 799
Location: Duluth, GA
Here's a bit more detail on the divide by zero situation, extracted from a Report in the !Tanstaafl-Techniks! Club (TCNet):

If you have a param list with two equal values (such as 5,10,10 or 5,10,5), you can use this alternative formula for the Histo which "always" works but takes considerably longer to recalc than the short form above ... Histo = MACD - Signal, so for the 5,10,10:
Histo = XAvgC5-XAvgC10 - ( XAvg(XavgC10,5) - XAvg(XAvgC10,10) )

BTW ... the original demonstration of the validity of the "distributive" and "commutative" properties of nested moving averages was offered to the TC community on the yahoo Aux board some time ago, by Jim Murphy aka BusterMu.

ghanson59
Posted : Tuesday, May 3, 2005 3:50:28 PM
Registered User
Joined: 1/6/2005
Posts: 17
That was fantastic!
Thanks for the explanation and the breakdown of the formulas.

Greg
gsn
Posted : Saturday, June 24, 2006 3:11:28 PM
Registered User
Joined: 11/13/2004
Posts: 121
I am trying to use Tanstaafl's excellent weekly MACD pcfs to find stocks with rising MACD histograms BELOW the zero line.

I successfully am using the third and fourth of the weekly MACD pcfs:

Current Weekly 12,26,9 MACD, 0.01% error (Weekly) >
LastWeek's Weekly 12,26,9 MACD Histo, 0.01% error (Weekly)

to find stocks with rising MACD histograms. However, I am having difficulty finding rising stocks BELOW THE ZERO LINE ONLY. I thought the first one of the 4-part pcf series would do that, but I tried it unsuccessfully.

Any help appreciated.



Bruce_L
Posted : Saturday, June 24, 2006 8:37:05 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
gsn,
The first of those the four formulas mentioned represents a non-Histogram version of the MACD. If you want the Histogram to be below zero, use one of the same Personal Criteria Formulas that's already working for the comparison to see if the Histogram is rising. You would most likely want to use Current Weekly 12,26,9 MACD, 0.01% error (Weekly).

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
gsn
Posted : Tuesday, June 27, 2006 5:36:54 PM
Registered User
Joined: 11/13/2004
Posts: 121
Thank you!
Bruce_L
Posted : Tuesday, June 27, 2006 5:38:22 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
gsn,
You're welcome.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
hohandy
Posted : Sunday, January 28, 2007 5:46:51 PM
Registered User
Joined: 12/21/2004
Posts: 902
I was going to write my own weekly MACD pcfs - I mean how haed can it be, right? Good thing I decided to do a search first and found this thread. No way I would have come up with this! Thanks for doing all the hard work. You guys rock!!
Bruce_L
Posted : Monday, January 29, 2007 9:27:46 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome. Our pleasure (most of the work in this topic was done by Tanstaafl).

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