feat: add RSIH (Ehlers Hann-Windowed RSI) indicator

This commit is contained in:
Miha Kralj
2026-03-17 12:40:55 -07:00
parent 7db48e2418
commit 4552d8529d
16 changed files with 1386 additions and 0 deletions
+10
View File
@@ -428,6 +428,16 @@ public static unsafe partial class Exports
catch { return StatusCodes.QTL_ERR_INTERNAL; }
}
// Rsih: Pattern A (src, out, int period)
[UnmanagedCallersOnly(EntryPoint = "qtl_rsih")]
public static int QtlRsih(double* src, int n, double* dst, int period)
{
int v = Chk1(src, dst, n); if (v != 0) return v;
v = ChkPeriod(period); if (v != 0) return v;
try { Rsih.Batch(Src(src, n), Dst(dst, n), period); return StatusCodes.QTL_OK; }
catch { return StatusCodes.QTL_ERR_INTERNAL; }
}
// Dymi: Pattern A (src, out, int p1..p5)
[UnmanagedCallersOnly(EntryPoint = "qtl_dymi")]
public static int QtlDymi(double* src, int n, double* dst, int p1, int p2, int p3, int p4, int p5)