From: kw <gt...@ne...> - 2008-02-29 15:59:56
|
Hello Thomas, i reimplemented the DSS according to your advice, the pod and a textbook I own. Should be fine now ... see attechment. On Thu, 2008-02-28 at 23:18 -0600, Weigert, Thomas wrote: > kw, > > I looked at your DSSkw; I am not quite sure what you are trying to do > here, but I don't think the indicator does what it says in the > description. > > The pod says: "The DSSkw is calculated as follows: > > DSSkw (p1, p2, p3) = EMA( EMA( Close - Lowest(p1), p2), p3 ) / > EMA( EMA( Highest(p1) - Lowest(p1), p2), p3 ) > > But the code does > > EMA(EMA( 100 * ((Close - Lowest(p1)) > / (Highest(p1) - Lowest(p1))), p2), p3) > > Cheers, Th. > > > -----Original Message----- > > From: kw [mailto:gt...@ne...] > > Sent: Sunday, February 24, 2008 9:24 AM > > To: de...@ge... > > Subject: Re: [GT] DSS [fixed] > > > > Tired of checking and rechecking again I decided to rewrite the DSS. > > After I had realized from comparing the formulae that the DSS is > exactly > > what its name implies ... a double smoothed stochstics, I double > > smoothed the stochastics. > > > > please find the patch against the non-working svn-version attached. > > > > regards, > > > > Karsten > |