Registered User Joined: 12/30/2004 Posts: 10
|
I have recently built an excel spreadsheet that calculates Wilders ATR Smoothed and compared it to some of the formulas I copied into Telechart. My numbers using the excell spreadsheet are quite different than the ones I have been using in Telechart. I did a search in the knowledgebase and found this formula from Sir Tanstaafl. The results of this appear very close to my excel spreadsheet. My problem is that this is just a 10 ATR formula. I would like to use a 14 day but looking at this formula I don't really understand how to edit this for a 14 day period. Does anyone have this formula already written for 14 day or could someone help me to learn how to edit this one for 14 days. Any help would be greatly appreciated. The 10 Day formula is below:
Greg V.
.01*( 10.0979*(H0-L0+Abs(H0-C1)+Abs(L0-C1)) +9.0881*(H1-L1+Abs(H1-C2)+Abs(L1-C2)) +8.1793*(H2-L2+Abs(H2-C3)+Abs(L2-C3)) +7.3614*(H3-L3+Abs(H3-C4)+Abs(L3-C4)) +6.6252*(H4-L4+Abs(H4-C5)+Abs(L4-C5)) +5.9627*(H5-L5+Abs(H5-C6)+Abs(L5-C6)) +5.3665*(H6-L6+Abs(H6-C7)+Abs(L6-C7)) +4.8298*(H7-L7+Abs(H7-C8)+Abs(L7-C8)) +4.3468*(H8-L8+Abs(H8-C9)+Abs(L8-C9)) +3.9121*(H9-L9+Abs(H9-C10)+Abs(L9-C10)) +3.5209*(H10-L10+Abs(H10-C11)+Abs(L10-C11)) +3.1688*(H11-L11+Abs(H11-C12)+Abs(L11-C12)) +2.852*(H12-L12+Abs(H12-C13)+Abs(L12-C13)) +2.5668*(H13-L13+Abs(H13-C14)+Abs(L13-C14)) +2.3101*(H14-L14+Abs(H14-C15)+Abs(L14-C15)) +2.0791*(H15-L15+Abs(H15-C16)+Abs(L15-C16)) +1.8712*(H16-L16+Abs(H16-C17)+Abs(L16-C17)) +1.684*(H17-L17+Abs(H17-C18)+Abs(L17-C18)) +1.5156*(H18-L18+Abs(H18-C19)+Abs(L18-C19)) +1.3641*(H19-L19+Abs(H19-C20)+Abs(L19-C20)) +1.2277*(H20-L20+Abs(H20-C21)+Abs(L20-C21)) +1.1049*(H21-L21+Abs(H21-C22)+Abs(L21-C22)) +.9944*(H22-L22+Abs(H22-C23)+Abs(L22-C23)) +.895*(H23-L23+Abs(H23-C24)+Abs(L23-C24)) +.8055*(H24-L24+Abs(H24-C25)+Abs(L24-C25)) +.7249*(H25-L25+Abs(H25-C26)+Abs(L25-C26)) +.6524*(H26-L26+Abs(H26-C27)+Abs(L26-C27)) +.5872*(H27-L27+Abs(H27-C28)+Abs(L27-C28)) +.5285*(H28-L28+Abs(H28-C29)+Abs(L28-C29)) +.4756*(H29-L29+Abs(H29-C30)+Abs(L29-C30)) +.4281*(H30-L30+Abs(H30-C31)+Abs(L30-C31)) +.3853*(H31-L31+Abs(H31-C32)+Abs(L31-C32)) +.3467*(H32-L32+Abs(H32-C33)+Abs(L32-C33)) +.3121*(H33-L33+Abs(H33-C34)+Abs(L33-C34)) +.2809*(H34-L34+Abs(H34-C35)+Abs(L34-C35)) +.2528*(H35-L35+Abs(H35-C36)+Abs(L35-C36)) +.2275*(H36-L36+Abs(H36-C37)+Abs(L36-C37)) +.2047*(H37-L37+Abs(H37-C38)+Abs(L37-C38)) +.1843*(H38-L38+Abs(H38-C39)+Abs(L38-C39)) +.1658*(H39-L39+Abs(H39-C40)+Abs(L39-C40)) +.1493*(H40-L40+Abs(H40-C41)+Abs(L40-C41)) +.1343*(H41-L41+Abs(H41-C42)+Abs(L41-C42)) +.1209*(H42-L42+Abs(H42-C43)+Abs(L42-C43)) +.1088*(H43-L43+Abs(H43-C44)+Abs(L43-C44)) ) / 2
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The results of your formula are virtually indistinguishable from the results of the 10-Period Average True Range (Wilder's Smoothed) formula in Sir Old Viking Trader and PCFs.
14-Period versions of the formulas from that topic are provided in Please provide a description and PCF for calculating an ATR value to be used as a stop loss value (a topic in which you have already participated).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|