obv 신호선
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
import { useEffect, useRef, useCallback, useState } from 'react';
|
||||
import { getIndicatorDef, mergePlotDefs, normalizeHLines, PlotDef, HLineDef } from '../utils/indicatorRegistry';
|
||||
import { getIndicatorDef, mergePlotDefs, normalizeHLines, normalizeObvParams, PlotDef, HLineDef } from '../utils/indicatorRegistry';
|
||||
import { createDefaultSmaParams, createDefaultSmaPlots, normalizeSmaConfig } from '../utils/smaConfig';
|
||||
import { normalizeIchimokuConfig, mergeIchimokuPlots } from '../utils/ichimokuConfig';
|
||||
import {
|
||||
@@ -177,6 +177,9 @@ export function useIndicatorSettings(sessionKey = 0) {
|
||||
if (type === 'IchimokuCloud') {
|
||||
return normalizeIchimokuConfig({ id: '', type: 'IchimokuCloud', params: merged }).params;
|
||||
}
|
||||
if (type === 'OBV') {
|
||||
return normalizeObvParams(merged);
|
||||
}
|
||||
return merged;
|
||||
},
|
||||
[settingsRevision],
|
||||
|
||||
Reference in New Issue
Block a user