diff --git a/frontend/src/components/StrategyEditorPage.tsx b/frontend/src/components/StrategyEditorPage.tsx index 6012475..d61731b 100644 --- a/frontend/src/components/StrategyEditorPage.tsx +++ b/frontend/src/components/StrategyEditorPage.tsx @@ -49,6 +49,7 @@ import TemplatePaletteTab, { type TemplatePaletteRow } from './strategyEditor/Te import SidewaysFilterPaletteTab from './strategyEditor/SidewaysFilterPaletteTab'; import { buildSidewaysFilterNode, loadSidewaysPaletteItems } from '../utils/sidewaysFilterPaletteStorage'; import { + BAND_PALETTE_CHIP_ITEMS, loadPaletteItems, type PaletteItem, } from '../utils/strategyPaletteStorage'; @@ -1706,14 +1707,6 @@ export default function StrategyEditorPage({ { type: 'operator' as const, value: 'NOT', label: 'NOT', color: 'logic-not' }, ]; - const maBandItems = [ - { type: 'indicator' as const, value: 'MA', label: 'MA', desc: '이동평균', color: 'band' }, - { type: 'indicator' as const, value: 'EMA', label: 'EMA', desc: '지수이동평균', color: 'band' }, - { type: 'indicator' as const, value: 'BOLLINGER', label: 'Bollinger', desc: '볼린저밴드', color: 'band' }, - { type: 'indicator' as const, value: 'DONCHIAN', label: 'Donchian', desc: '돈치안 채널', color: 'band' }, - { type: 'indicator' as const, value: 'ICHIMOKU', label: 'Ichimoku', desc: '일목균형표', color: 'band' }, - ]; - const q = paletteSearch.trim().toLowerCase(); const match = (label: string, desc?: string) => !q || label.toLowerCase().includes(q) || (desc?.toLowerCase().includes(q) ?? false); @@ -2278,7 +2271,7 @@ export default function StrategyEditorPage({