obv 선 표시
This commit is contained in:
@@ -68,6 +68,11 @@ const TradeSignalMiniChart: React.FC<Props> = ({
|
||||
[indicators, getParams, getVisualConfig],
|
||||
);
|
||||
|
||||
const needsDeepObv = useMemo(
|
||||
() => baseIndicators.some(i => i.type === 'OBV'),
|
||||
[baseIndicators],
|
||||
);
|
||||
|
||||
const {
|
||||
indicators: chartIndicators,
|
||||
candleOverlayToggles,
|
||||
@@ -143,7 +148,8 @@ const TradeSignalMiniChart: React.FC<Props> = ({
|
||||
onNewCandle: handleNewCandle,
|
||||
enabled: enabled && useUpbit,
|
||||
source: 'BACKEND_STOMP' as const,
|
||||
}), [handleTickUpdate, handleNewCandle, enabled, useUpbit]),
|
||||
deepObvHistory: needsDeepObv,
|
||||
}), [handleTickUpdate, handleNewCandle, enabled, useUpbit, needsDeepObv]),
|
||||
);
|
||||
|
||||
const { isLoadingMore } = useHistoryLoader({
|
||||
|
||||
Reference in New Issue
Block a user