Jim Dean![]() Sage ![]() ![]() Posts: 3022 Joined: 9/21/2006 Location: L'ville, GA ![]() | The math is NOT the same. You need to do it the way I described. For Stoch(5,2) weekly > prior week, ( (C - LLV(25)) / (HHV(25)-LLV(25)) * 100 + (C[5] - LLV(25)[5]) / (HHV(25)[5]-LLV(25)[5]) * 100 ) / 2 > ( (C[5] - LLV(25)[5]) / (HHV(25)[5]-LLV(25)[5]) * 100 + (C[10] - LLV(25)[10]) / (HHV(25)[10]-LLV(25)[10]) * 100 ) / 2 Note that these are not "D" lines, but are "smoothed K" lines. That is, the third parameter is not used - it's like a weekly stoc_d(5,2,1). Modeling the third parameter manually can be done with a MUCH longer formula. [Edited by Jim Dean on 1/1/2011 6:35 PM] |