| Overloads | |
|---|---|
| HtSine(int, int, double[]) | Calculates the Hilbert Transform - SineWave indicator for the input price data. |
| HtSine(int, int, float[]) | Calculates the Hilbert Transform - SineWave indicator for the input price data. |
Calculates the Hilbert Transform - SineWave indicator for the input price data.
public static TechnicalAnalysis.Functions.HtSineResult HtSine(int startIdx, int endIdx, double[] real);startIdx System.Int32
The starting index for the calculation range.
endIdx System.Int32
The ending index for the calculation range.
real System.Double[]
The input price data.
HtSineResult
An HtSineResult containing the sine and lead sine values.
The Hilbert Transform - SineWave indicator generates two outputs: Sine and LeadSine. The Sine line shows the current phase position in the dominant cycle, while the LeadSine is advanced by 45 degrees. When Sine crosses above LeadSine, it suggests a cycle bottom, and when Sine crosses below LeadSine, it suggests a cycle top. This indicator is most effective in cycling markets.
Calculates the Hilbert Transform - SineWave indicator for the input price data.
public static TechnicalAnalysis.Functions.HtSineResult HtSine(int startIdx, int endIdx, float[] real);startIdx System.Int32
The starting index for the calculation range.
endIdx System.Int32
The ending index for the calculation range.
real System.Single[]
The input price data.
HtSineResult
An HtSineResult containing the sine and lead sine values.
This overload accepts float input and converts it to double for calculation.