전략 직접입력값 평가오류
This commit is contained in:
@@ -20,6 +20,11 @@ public final class IndicatorHlineResolver {
|
||||
|
||||
if (field == null || field.isBlank()) return null;
|
||||
|
||||
// K_ 직접입력 — targetValue 가 있으면 thresholdOverride 플래그와 무관하게 우선
|
||||
if (field.startsWith("K_") && cond != null && cond.has("targetValue") && !cond.path("targetValue").isNull()) {
|
||||
return cond.path("targetValue").asDouble();
|
||||
}
|
||||
|
||||
boolean override = cond != null && cond.path("thresholdOverride").asBoolean(false);
|
||||
if (override) {
|
||||
if (cond.has("targetValue") && !cond.path("targetValue").isNull()) {
|
||||
|
||||
Reference in New Issue
Block a user