[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GT] DSS [fixed]
Weigert, Thomas wrote:
The STO is confusing in that the real value as implemented is not at the
beginning.
meaning not the first or second value?
Most tools (e.g., Metastock) only output 2 values: %K Slow and %D Slow
(the latter being the signal line).
So you typically would be using STO/3 and STO/4 in actual usage.
so if someone came along and the pod for STO.pm to something like
that below would it:
1) be correct
2) helpful to users who are not perl hackers
3) ???
well i'm still confused about how to write this! this might make it
even more confusing -- i typically resort to displaY_indicator to find out
what is being used where and what the defaults are.
Calculation
%K Fast = 100 * ((Last - Lowest Low(n)) / (Highest High(n) - Lowest Low(n)))
%D Fast = M-days SMA of %K Fast
%K Slow = A-days SMA of %K Fast
%D Slow = B-days SMA of %K Slow
possibly helpful information:
%K Fast corresponds to STO/1, %D Fast to STO/2, %K Slow to STO/3
and %D Slow to STO/4
%K Slow may also be known as the stochastic oscillator
%D Slow is also known as the signal line
arguments and defaults for STO
STO accepts 7 arguments, the defaults are, in order: 5, 3, 3, 3,
{I:Prices HIGH}, {I:Prices LOW}, {I:Prices CLOSE}
The first argument is the Period n used in the formula above and for
each of the subsequent SMA periods.
The second argument is M-days, the third is A-days, fourth is B-days
aloha
ras
Th.
-----Original Message-----
From: Robert A. Schmied [mailto:ras
AT
acm.org]
Sent: Friday, February 29, 2008 11:14 AM
To: devel
AT
geniustrader.org
Subject: Re: [GT] DSS [fixed]
so a dss is an ema of an ema of a stochastic oscillator. the sto in gt
outputs 4 values, which is the oscillator?
in initialize $sto1 and $sto2 are setting up the stochastic oscillator
computation without using the module STO.pm?