n봉 존재 조건 수정

This commit is contained in:
Macbook
2026-06-12 23:40:20 +09:00
parent b55349062f
commit 4a6be82c15
8 changed files with 365 additions and 32 deletions
@@ -2,7 +2,11 @@
* 전략 조건 DSL → 알기 쉬운 한국어 서술형 설명
*/
import type { LogicNode } from './strategyTypes';
import { CONDITION_LABEL } from './strategyTypes';
import {
resolveCandleRangeMode,
candleRangeWindowBars,
formatCandleRangeClause,
} from './strategyTypes';
import {
collectEditorBranches,
normalizeStartCombineOp,
@@ -163,7 +167,8 @@ function describeCondition(
}
if (right && right !== '선택안함') {
return describeConditionType(ct, left, right, cond);
const prefix = formatCandleRangeClause(cond);
return prefix + describeConditionType(ct, left, right, cond);
}
const label = CONDITION_LABEL[ct] ?? ct;