Technicalindicators

mobile

MA

使用示例

1
2
<MA dataKey={'MA'} stroke={'blue'} />

Props

属性 说明 类型 isRequired 默认值
dataKey 键值 string
lineWidth 线条粗细 string 1
stroke stroke颜色 string

BOLL

使用示例

1
2
<BOLL dataKey={indicators.BOLL[0].dataKey} stroke={indicators.BOLL[0].stroke} />

Props

属性 说明 类型 isRequired 默认值
dataKey 键值 string
lineWidth 线条粗细 string 1
stroke stroke颜色 string

MACD

使用示例

1
2
<MACD dataKey={indicators.MACD[0].dataKey} stroke={indicators.MACD[0].stroke} barWidth={3} />

Props

属性 说明 类型 isRequired 默认值
dataKey 键值 string
stroke stroke颜色 string
lineWidth 线条粗细 string StyleSheet.hairlineWidth
barWidth 柱状图粗细 string

KDJ

使用示例

1
2
<KDJ dataKey={indicators.KDJ[0].dataKey} stroke={indicators.KDJ[0].stroke} />

Props

属性 说明 类型 isRequired 默认值
dataKey 键值 string
stroke stroke颜色 string
lineWidth 线条粗细 string StyleSheet.hairlineWidth

RSI

使用示例

1
2
<RSI dataKey={indicators.RSI[0].dataKey} stroke={indicators.RSI[0].stroke} />

Props

属性 说明 类型 isRequired 默认值
dataKey 键值 string
stroke stroke颜色 string
lineWidth 线条粗细 string StyleSheet.hairlineWidth