전략 직접입력값 평가오류
This commit is contained in:
@@ -73,6 +73,7 @@ import {
|
||||
} from '../utils/stochOverboughtPair';
|
||||
import ComboFieldSelect from '../components/strategyEditor/ComboFieldSelect';
|
||||
import {
|
||||
activateDirectThresholdInput,
|
||||
getCompositeFieldOpts,
|
||||
getCompositePeriodPresetOptions,
|
||||
getConditionRightPeriod,
|
||||
@@ -1432,7 +1433,15 @@ export const CondEditor: React.FC<CondEditorProps> = ({
|
||||
allowDecimal={normalized.indicatorType === 'CCI'}
|
||||
disabled={isSlopeType || isHoldType}
|
||||
onFieldChange={handleRight}
|
||||
onCustomNumberChange={v => onChange(setConditionThreshold(normalized, 'right', v, def))}
|
||||
onDirectInputActivate={() => {
|
||||
onChange(activateDirectThresholdInput(
|
||||
normalized,
|
||||
'right',
|
||||
inheritedThresholdField,
|
||||
def,
|
||||
));
|
||||
}}
|
||||
onCustomNumberChange={v => onChange(setConditionThreshold(normalized, 'right', v, def, { directInput: true }))}
|
||||
/>
|
||||
</div>
|
||||
{/* 조건 */}
|
||||
|
||||
Reference in New Issue
Block a user