Rename EACP to ACP across entire codebase

- Renamed directory lib/cycles/eacp → lib/cycles/acp
- Renamed class Eacp → Acp, EacpIndicator → AcpIndicator
- Renamed all files: Eacp.cs → Acp.cs, Eacp.Quantower.cs → Acp.Quantower.cs,
  eacp.md → acp.md, eacp.pine → acp.pine, and all test files
- Updated display names: EACP → ACP in Quantower Name/ShortName properties
- Updated all documentation surfaces: _sidebar.md, lib/_index.md,
  lib/cycles/_index.md, docs/indicators.md, docs/validation.md,
  docs/pinescript.md, lib/cycles/cg/cg.md cross-reference
- Updated Python bridge: qtl_eacp → qtl_acp entry point, _bridge.py,
  cycles.py wrapper, SPEC.md, test_shapes.py, run_all_exported
- All 83 tests pass (38 AcpTests + 22 AcpValidationTests + 23 AcpIndicatorTests)
- Build: 0 warnings, 0 errors across all projects
This commit is contained in:
Miha Kralj
2026-03-17 11:35:11 -07:00
parent 329b0657bc
commit 5fc6e27d8e
21 changed files with 271 additions and 271 deletions
+4 -4
View File
@@ -1465,13 +1465,13 @@ public static unsafe partial class Exports
catch { return StatusCodes.QTL_ERR_INTERNAL; }
}
// Eacp: (int minPeriod, int maxPeriod, int avgLength, bool enhance → int)
[UnmanagedCallersOnly(EntryPoint = "qtl_eacp")]
public static int QtlEacp(double* src, int n, double* dst, int minPeriod, int maxPeriod, int avgLength, int enhance)
// Acp: (int minPeriod, int maxPeriod, int avgLength, bool enhance → int)
[UnmanagedCallersOnly(EntryPoint = "qtl_acp")]
public static int QtlAcp(double* src, int n, double* dst, int minPeriod, int maxPeriod, int avgLength, int enhance)
{
int v = Chk1(src, dst, n); if (v != 0) return v;
v = ChkPeriod(minPeriod); if (v != 0) return v;
try { Eacp.Batch(Src(src, n), Dst(dst, n), minPeriod, maxPeriod, avgLength, enhance != 0); return StatusCodes.QTL_OK; }
try { Acp.Batch(Src(src, n), Dst(dst, n), minPeriod, maxPeriod, avgLength, enhance != 0); return StatusCodes.QTL_OK; }
catch { return StatusCodes.QTL_ERR_INTERNAL; }
}