Indicator Name: Stochastic-Hotelling Transform
Function Name: Stochastization and Hotelling
Transform
Format: ExtFml( "ADSI.StochHotelling", Inputs,
Periods, alphas)
Input 1: Inputs. This is typically a Price
array, but could be any input.
Input 2: Periods. Cybernetic Cycle Period,
Homodyne Cycle Period, or other period input.
Input 3: alphas. This is an exponential smoothing
factor applied at the end of the calculation. A larger alpha
results in a smoother final output. This value is range bound
between 0.0 and 1.0.
This indictor is a slight variation of the Stochastic-Fisher
Transform, and can be used in place of it. It is more accurate
for short data lengths (less than 30 periods).
Formula 1.)
{ The trend is the price minus the cycle
content }
trend := MP() - ExtFml( "ADSI.AdaptiveCycle", MP(),
.18, .05, 1.1 );
periods := ExtFml("ADSI.CyberCyclePeriod", MP(), .18, .05,
1.1 );
ExtFml("ADSI.StochHotelling", trend, periods, .5);
Figure 1.)
Metastock screenshot with Indicator Description
|