복합지표 전략 추가
This commit is contained in:
@@ -5,6 +5,19 @@ import {
|
||||
STOCH_OVERBOUGHT_PAIR_VALUE,
|
||||
stochPairPaletteDesc,
|
||||
} from './stochOverboughtPair';
|
||||
import {
|
||||
INFLECTION_33_BUY_VALUE,
|
||||
INFLECTION_33_SELL_VALUE,
|
||||
inflection33PaletteDesc,
|
||||
} from './inflection33Strategy';
|
||||
import {
|
||||
STABLE_STRATEGY_PALETTE_ITEMS,
|
||||
} from './stableStrategyPairs';
|
||||
import {
|
||||
NEW_HIGH_9_20_BUY_VALUE,
|
||||
NEW_LOW_9_20_SELL_VALUE,
|
||||
priceExtremePairPaletteDesc,
|
||||
} from './priceExtremeBreakoutPair';
|
||||
|
||||
export type PaletteItemKind = 'auxiliary' | 'composite';
|
||||
|
||||
@@ -54,6 +67,42 @@ export const DEFAULT_COMPOSITE_ITEMS: Omit<PaletteItem, 'id' | 'kind'>[] = [
|
||||
builtIn: true,
|
||||
secondaryIndicator: 'CCI',
|
||||
},
|
||||
{
|
||||
value: NEW_HIGH_9_20_BUY_VALUE,
|
||||
label: '9·20일 신고가 매수',
|
||||
desc: priceExtremePairPaletteDesc(NEW_HIGH_9_20_BUY_VALUE),
|
||||
builtIn: true,
|
||||
shortPeriod: 9,
|
||||
longPeriod: 20,
|
||||
},
|
||||
{
|
||||
value: NEW_LOW_9_20_SELL_VALUE,
|
||||
label: '9·20일 신저가 매도',
|
||||
desc: priceExtremePairPaletteDesc(NEW_LOW_9_20_SELL_VALUE),
|
||||
builtIn: true,
|
||||
shortPeriod: 9,
|
||||
longPeriod: 20,
|
||||
},
|
||||
{
|
||||
value: INFLECTION_33_BUY_VALUE,
|
||||
label: '33변곡 매수',
|
||||
desc: inflection33PaletteDesc(INFLECTION_33_BUY_VALUE),
|
||||
builtIn: true,
|
||||
period: 33,
|
||||
},
|
||||
{
|
||||
value: INFLECTION_33_SELL_VALUE,
|
||||
label: '33변곡 매도',
|
||||
desc: inflection33PaletteDesc(INFLECTION_33_SELL_VALUE),
|
||||
builtIn: true,
|
||||
period: 33,
|
||||
},
|
||||
...STABLE_STRATEGY_PALETTE_ITEMS.map(i => ({
|
||||
value: i.value,
|
||||
label: i.label,
|
||||
desc: i.desc,
|
||||
builtIn: true,
|
||||
})),
|
||||
...COMPOSITE_INDICATOR_ITEMS.map(i => ({
|
||||
value: i.value,
|
||||
label: i.label,
|
||||
|
||||
Reference in New Issue
Block a user