커스텀 수정
This commit is contained in:
@@ -88,6 +88,17 @@ export const ICHIMOKU_CUSTOM_ROWS: Array<{
|
||||
{ key: 'bearishCloud', label: '하락 구름' },
|
||||
];
|
||||
|
||||
/** Custom 적용 시 plot 단위로 표시를 제어하는 지표 type */
|
||||
export const CUSTOM_OVERLAY_PLOT_CONTROLLED_TYPES = [
|
||||
'SMA',
|
||||
'BollingerBands',
|
||||
'IchimokuCloud',
|
||||
] as const;
|
||||
|
||||
export function isCustomOverlayPlotControlledType(type: string): boolean {
|
||||
return (CUSTOM_OVERLAY_PLOT_CONTROLLED_TYPES as readonly string[]).includes(type);
|
||||
}
|
||||
|
||||
/** 지표 설정 plotVisibility 와 무관 — custom 적용 시 이 맵만 사용 */
|
||||
export function isCustomPlotSelected(
|
||||
sel: ChartCustomOverlaySelection,
|
||||
|
||||
Reference in New Issue
Block a user