신고가 매수 시그널 오류 수정

This commit is contained in:
Macbook
2026-06-22 13:11:57 +09:00
parent 53747b8773
commit 1180cd53f0
3 changed files with 505 additions and 32 deletions
@@ -821,6 +821,12 @@ public class StrategyDslToTa4jAdapter {
}
private double resolveConstantField(String field) {
// 지표 시리즈 필드 — 접미 숫자는 기간이지 임계값 상수가 아님
if (field != null && (field.startsWith("NH_PRIOR_") || field.startsWith("NL_PRIOR_")
|| field.startsWith("DC_UPPER_") || field.startsWith("DC_LOWER_")
|| field.startsWith("DC_MIDDLE_"))) {
return Double.NaN;
}
// K_ 접두사: 프론트엔드가 hline 실제값으로 생성한 상수 필드
// 예) K_60 → 60, K_-100 → -100, K_0 → 0
if (field.startsWith("K_")) {