k_chart_plus library
Classes
- BaseChartPainter
- BaseChartPainter
-
BaseChartRenderer<
T> - Boll
- BOLLIndicator
- BOLLStyle
- CCIIndicator
- CCIStyle
- ChartPainter
- DataUtil
- DepthChart
- DepthChartColors
- DepthChartPainter
- DepthChartStyle
- DepthChartTranslations
- DepthEntity
- EMAIndicator
- IndicatorStyle
-
IndicatorTemplate<
T, K> - InfoWindowEntity
- KChartColors
- KChartColors
- KChartStyle
- KChartWidget
- KDJIndicator
- KDJStyle
- KEntity
- KLineEntity
- MACDIndicator
- MACD:参数快线移动平均、慢线移动平均、移动平均, 默认参数值12、26、9。 公式:⒈首先分别计算出收盘价12日指数平滑移动平均线与26日指数平滑移动平均线,分别记为EMA(12)与EMA(26)。 ⒉求这两条指数平滑移动平均线的差,即:DIFF = EMA(SHORT) - EMA(LONG)。 ⒊再计算DIFF的M日的平均的指数平滑移动平均线,记为DEA。 ⒋最后用DIFF减DEA,得MACD。MACD通常绘制成围绕零轴线波动的柱形图。MACD柱状大于0涨颜色,小于0跌颜色。
- MACDStyle
- MAIndicator
-
MainIndicator<
T, K> - MainRenderer
- MAStyle
- NumberUtil
- RenderRect
- Render Rectangle
- RSIIndicator
- RSI RSI = SUM(MAX(CLOSE - REF(CLOSE,1),0),N) / SUM(ABS(CLOSE - REF(CLOSE,1)),N) × 100
- RSIStyle
- SARIndicator
- SARStyle
-
SecondaryIndicator<
T, K> - SecondaryRenderer
- TimeFormat
- TrendLine
- VolRenderer
- WRIndicator
- WRStyle
Enums
Constants
- am → const String
- Outputs if hour is AM or PM
- D → const String
- Outputs week day as long name
- d → const String
- Outputs day compactly
-
dayLong
→ const List<
String> -
dayShort
→ const List<
String> - DD → const String
- Outputs week day as long name
- dd → const String
- Outputs day as two digits
- H → const String
- Outputs hour (0 to 23) compactly
- h → const String
- Outputs hour (0 - 11) compactly
- HH → const String
- Outputs hour (0 to 23) as two digits
- hh → const String
- Outputs hour (0 - 11) as two digits
- M → const String
- Outputs month as short name
- m → const String
- Outputs month compactly
- MM → const String
- Outputs month as long name
- mm → const String
- Outputs month as two digits
-
monthLong
→ const List<
String> -
monthShort
→ const List<
String> - n → const String
- Outputs minute compactly
- nn → const String
- Outputs minute as two digits
- S → const String
- Outputs millisecond compactly
- s → const String
- Outputs second compactly
- ss → const String
- Outputs second as two digits
- SSS → const String
- Outputs millisecond as three digits
- u → const String
- Outputs millisecond compactly
- uuu → const String
- Outputs microsecond as three digits
- W → const String
- Outputs week in year compactly
- w → const String
- Outputs week in month
- WW → const String
- Outputs week in year as two digits
- yy → const String
- Outputs year as two digits
- yyyy → const String
- Outputs year as four digits
- Z → const String
- z → const String
- Outputs timezone as time offset
Properties
- trendLineContentRec ↔ double?
-
getter/setter pair
- trendLineMax ↔ double?
-
getter/setter pair
- trendLineScale ↔ double?
-
getter/setter pair
- trendLineX ↔ double?
-
getter/setter pair
Functions
-
dateFormat(
DateTime date, List< String> formats) → String -
dayInYear(
DateTime date) → int -
getTrendLineX(
) → double
Typedefs
- GetYFunction = double Function(double y)
- WidgetDetailBuilder = Widget Function(KLineEntity entity)