candleview 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/README.md +397 -0
- package/dist/components/CandleView/Camera.d.ts +16 -0
- package/dist/components/CandleView/CandleView.d.ts +149 -0
- package/dist/components/CandleView/ChartLayer/ChartEventManager.d.ts +47 -0
- package/dist/components/CandleView/ChartLayer/ChartInfo.d.ts +62 -0
- package/dist/components/CandleView/ChartLayer/ChartLayerMarkState.d.ts +281 -0
- package/dist/components/CandleView/ChartLayer/ChartManager.d.ts +11 -0
- package/dist/components/CandleView/ChartLayer/ChartMarkManager.d.ts +203 -0
- package/dist/components/CandleView/ChartLayer/ChartMarkTextEditManager.d.ts +16 -0
- package/dist/components/CandleView/ChartLayer/ChartTypeManager.d.ts +17 -0
- package/dist/components/CandleView/ChartLayer/MainChart/Area.d.ts +13 -0
- package/dist/components/CandleView/ChartLayer/MainChart/Bar.d.ts +13 -0
- package/dist/components/CandleView/ChartLayer/MainChart/BaseLine.d.ts +12 -0
- package/dist/components/CandleView/ChartLayer/MainChart/BaselineArea.d.ts +12 -0
- package/dist/components/CandleView/ChartLayer/MainChart/Candlestick.d.ts +12 -0
- package/dist/components/CandleView/ChartLayer/MainChart/HLCArea.d.ts +35 -0
- package/dist/components/CandleView/ChartLayer/MainChart/HeikinAshi.d.ts +12 -0
- package/dist/components/CandleView/ChartLayer/MainChart/HighLow.d.ts +12 -0
- package/dist/components/CandleView/ChartLayer/MainChart/Histogram.d.ts +13 -0
- package/dist/components/CandleView/ChartLayer/MainChart/HollowCandle.d.ts +13 -0
- package/dist/components/CandleView/ChartLayer/MainChart/IMainChart.d.ts +7 -0
- package/dist/components/CandleView/ChartLayer/MainChart/Line.d.ts +13 -0
- package/dist/components/CandleView/ChartLayer/MainChart/LineBreak.d.ts +15 -0
- package/dist/components/CandleView/ChartLayer/MainChart/MainChartManager.d.ts +17 -0
- package/dist/components/CandleView/ChartLayer/MainChart/MarketProfile.d.ts +52 -0
- package/dist/components/CandleView/ChartLayer/MainChart/Mountain.d.ts +12 -0
- package/dist/components/CandleView/ChartLayer/MainChart/StepLine.d.ts +12 -0
- package/dist/components/CandleView/ChartLayer/MainChart/Volume.d.ts +6 -0
- package/dist/components/CandleView/ChartLayer/MainChart/VolumeHeatMap.d.ts +41 -0
- package/dist/components/CandleView/ChartLayer/Modal/ImageUploadModal.d.ts +10 -0
- package/dist/components/CandleView/ChartLayer/Modal/MainChartIndicatorsSettingModal.d.ts +17 -0
- package/dist/components/CandleView/ChartLayer/Modal/SubChartIndicatorsSettingModal.d.ts +17 -0
- package/dist/components/CandleView/ChartLayer/Modal/TextMarkEditorModal.d.ts +21 -0
- package/dist/components/CandleView/ChartLayer/Panes/BaseChartPane.d.ts +41 -0
- package/dist/components/CandleView/ChartLayer/Panes/ChartPaneFactory.d.ts +6 -0
- package/dist/components/CandleView/ChartLayer/Panes/ChartPanesManager.d.ts +31 -0
- package/dist/components/CandleView/ChartLayer/Panes/IChartPanes.d.ts +42 -0
- package/dist/components/CandleView/ChartLayer/SubChart/ADX.d.ts +25 -0
- package/dist/components/CandleView/ChartLayer/SubChart/ATR.d.ts +25 -0
- package/dist/components/CandleView/ChartLayer/SubChart/BBWidth.d.ts +26 -0
- package/dist/components/CandleView/ChartLayer/SubChart/CCI.d.ts +25 -0
- package/dist/components/CandleView/ChartLayer/SubChart/KDJ.d.ts +23 -0
- package/dist/components/CandleView/ChartLayer/SubChart/MACD.d.ts +23 -0
- package/dist/components/CandleView/ChartLayer/SubChart/OBV.d.ts +24 -0
- package/dist/components/CandleView/ChartLayer/SubChart/RSI.d.ts +25 -0
- package/dist/components/CandleView/ChartLayer/SubChart/SAR.d.ts +23 -0
- package/dist/components/CandleView/ChartLayer/SubChart/Stochastic.d.ts +23 -0
- package/dist/components/CandleView/ChartLayer/SubChart/Volume.d.ts +24 -0
- package/dist/components/CandleView/ChartLayer/ToolBar/GraphMarkToolBar.d.ts +51 -0
- package/dist/components/CandleView/ChartLayer/ToolBar/TextMarkToolBar.d.ts +65 -0
- package/dist/components/CandleView/ChartLayer/index.d.ts +291 -0
- package/dist/components/CandleView/DataAdapter.d.ts +28 -0
- package/dist/components/CandleView/DataLoader.d.ts +15 -0
- package/dist/components/CandleView/DataManager.d.ts +23 -0
- package/dist/components/CandleView/DataPointManager.d.ts +45 -0
- package/dist/components/CandleView/I18n.d.ts +418 -0
- package/dist/components/CandleView/Icons.d.ts +161 -0
- package/dist/components/CandleView/Indicators/MainChart/BaseIndicator.d.ts +26 -0
- package/dist/components/CandleView/Indicators/MainChart/BollingerBandsIndicator.d.ts +51 -0
- package/dist/components/CandleView/Indicators/MainChart/DonchianChannelIndicator.d.ts +24 -0
- package/dist/components/CandleView/Indicators/MainChart/EMAIndicator.d.ts +24 -0
- package/dist/components/CandleView/Indicators/MainChart/EnvelopeIndicator.d.ts +52 -0
- package/dist/components/CandleView/Indicators/MainChart/IchimokuIndicator.d.ts +58 -0
- package/dist/components/CandleView/Indicators/MainChart/MAIndicator.d.ts +24 -0
- package/dist/components/CandleView/Indicators/MainChart/MainChartIndicatorInfo.d.ts +24 -0
- package/dist/components/CandleView/Indicators/MainChart/MainChartIndicatorManager.d.ts +28 -0
- package/dist/components/CandleView/Indicators/MainChart/VWAPIndicator.d.ts +26 -0
- package/dist/components/CandleView/Indicators/SubChart/ADXIndicator.d.ts +6 -0
- package/dist/components/CandleView/Indicators/SubChart/ATRIndicator.d.ts +6 -0
- package/dist/components/CandleView/Indicators/SubChart/BBWidthIndicator.d.ts +6 -0
- package/dist/components/CandleView/Indicators/SubChart/CCIIndicator.d.ts +6 -0
- package/dist/components/CandleView/Indicators/SubChart/IIndicator.d.ts +15 -0
- package/dist/components/CandleView/Indicators/SubChart/KDJIndicator.d.ts +6 -0
- package/dist/components/CandleView/Indicators/SubChart/MACDIndicator.d.ts +6 -0
- package/dist/components/CandleView/Indicators/SubChart/OBVIndicator.d.ts +6 -0
- package/dist/components/CandleView/Indicators/SubChart/RSIIndicator.d.ts +6 -0
- package/dist/components/CandleView/Indicators/SubChart/SARIndicator.d.ts +6 -0
- package/dist/components/CandleView/Indicators/SubChart/StochasticIndicator.d.ts +25 -0
- package/dist/components/CandleView/Indicators/SubChart/VolumeIndicator.d.ts +11 -0
- package/dist/components/CandleView/LeftPanel/Config.d.ts +65 -0
- package/dist/components/CandleView/LeftPanel/EmojiConfig.d.ts +21 -0
- package/dist/components/CandleView/LeftPanel/ToolManager.d.ts +5 -0
- package/dist/components/CandleView/LeftPanel/index.d.ts +95 -0
- package/dist/components/CandleView/Mark/Arrow/ArrowLineMark.d.ts +67 -0
- package/dist/components/CandleView/Mark/Arrow/ThickArrowLineMark.d.ts +73 -0
- package/dist/components/CandleView/Mark/Channel/DisjointChannelMark.d.ts +74 -0
- package/dist/components/CandleView/Mark/Channel/EquidistantChannelMark.d.ts +67 -0
- package/dist/components/CandleView/Mark/Channel/LinearRegressionChannelMark.d.ts +70 -0
- package/dist/components/CandleView/Mark/Channel/ParallelChannelMark.d.ts +67 -0
- package/dist/components/CandleView/Mark/Content/ImageMark.d.ts +75 -0
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciArcMark.d.ts +88 -0
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciChannelMark.d.ts +80 -0
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciCircleMark.d.ts +81 -0
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciExtensionBasePriceMark.d.ts +89 -0
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciExtensionBaseTimeMark.d.ts +89 -0
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciFanMark.d.ts +91 -0
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciRetracementMark.d.ts +81 -0
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciSpiralMark.d.ts +95 -0
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciTimeZoonMark.d.ts +71 -0
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciWedgeMark.d.ts +97 -0
- package/dist/components/CandleView/Mark/Fork/AndrewPitchforkMark.d.ts +77 -0
- package/dist/components/CandleView/Mark/Fork/EnhancedAndrewPitchforkMark.d.ts +78 -0
- package/dist/components/CandleView/Mark/Fork/SchiffPitchforkMark.d.ts +86 -0
- package/dist/components/CandleView/Mark/Gann/GannBoxMark.d.ts +100 -0
- package/dist/components/CandleView/Mark/Gann/GannFanMark.d.ts +90 -0
- package/dist/components/CandleView/Mark/Gann/GannRectangleMark.d.ts +106 -0
- package/dist/components/CandleView/Mark/IDeletableMark.d.ts +5 -0
- package/dist/components/CandleView/Mark/IGraph.d.ts +7 -0
- package/dist/components/CandleView/Mark/IMarkManager.d.ts +11 -0
- package/dist/components/CandleView/Mark/IMarkStyle.d.ts +6 -0
- package/dist/components/CandleView/Mark/Line/HorizontalLineMark.d.ts +51 -0
- package/dist/components/CandleView/Mark/Line/LineSegmentMark.d.ts +62 -0
- package/dist/components/CandleView/Mark/Line/VerticalLineMark.d.ts +51 -0
- package/dist/components/CandleView/Mark/Map/HeatMapMark.d.ts +75 -0
- package/dist/components/CandleView/Mark/Mock/MockKLineMark.d.ts +70 -0
- package/dist/components/CandleView/Mark/Pattern/ABCDMark.d.ts +57 -0
- package/dist/components/CandleView/Mark/Pattern/ElliottCorrectiveMark.d.ts +59 -0
- package/dist/components/CandleView/Mark/Pattern/ElliottDoubleCombinationMark.d.ts +59 -0
- package/dist/components/CandleView/Mark/Pattern/ElliottImpulseMark.d.ts +59 -0
- package/dist/components/CandleView/Mark/Pattern/ElliottTriangleMark.d.ts +59 -0
- package/dist/components/CandleView/Mark/Pattern/ElliottTripleCombinationMark.d.ts +59 -0
- package/dist/components/CandleView/Mark/Pattern/HeadAndShouldersMark.d.ts +63 -0
- package/dist/components/CandleView/Mark/Pattern/TriangleABCDMark.d.ts +66 -0
- package/dist/components/CandleView/Mark/Pattern/XABCDMark.d.ts +58 -0
- package/dist/components/CandleView/Mark/Pen/BrushMark.d.ts +67 -0
- package/dist/components/CandleView/Mark/Pen/EraserMark.d.ts +51 -0
- package/dist/components/CandleView/Mark/Pen/MarkerPenMark.d.ts +62 -0
- package/dist/components/CandleView/Mark/Pen/PenMark.d.ts +62 -0
- package/dist/components/CandleView/Mark/Pen/PencilMark.d.ts +62 -0
- package/dist/components/CandleView/Mark/Range/LongPositionMark.d.ts +79 -0
- package/dist/components/CandleView/Mark/Range/PriceRangeMark.d.ts +71 -0
- package/dist/components/CandleView/Mark/Range/ShortPositionMark.d.ts +79 -0
- package/dist/components/CandleView/Mark/Range/TimePriceRangeMark.d.ts +74 -0
- package/dist/components/CandleView/Mark/Range/TimeRangeMark.d.ts +71 -0
- package/dist/components/CandleView/Mark/Shape/CircleMark.d.ts +78 -0
- package/dist/components/CandleView/Mark/Shape/CurveMark.d.ts +70 -0
- package/dist/components/CandleView/Mark/Shape/DoubleCurveMark.d.ts +75 -0
- package/dist/components/CandleView/Mark/Shape/EllipseMark.d.ts +85 -0
- package/dist/components/CandleView/Mark/Shape/RectangleMark.ts.d.ts +65 -0
- package/dist/components/CandleView/Mark/Shape/SectorMark.d.ts +83 -0
- package/dist/components/CandleView/Mark/Shape/TriangleMark.d.ts +91 -0
- package/dist/components/CandleView/Mark/Static/BottomArrowMark.d.ts +13 -0
- package/dist/components/CandleView/Mark/Static/BottomTextMark.d.ts +22 -0
- package/dist/components/CandleView/Mark/Static/MultiBottomArrowMark.d.ts +14 -0
- package/dist/components/CandleView/Mark/Static/MultiBottomTextMark.d.ts +36 -0
- package/dist/components/CandleView/Mark/Static/MultiTopArrowMark.d.ts +14 -0
- package/dist/components/CandleView/Mark/Static/MultiTopTextMark.d.ts +36 -0
- package/dist/components/CandleView/Mark/Static/TopArrowMark.d.ts +13 -0
- package/dist/components/CandleView/Mark/Static/TopTextMark.d.ts +22 -0
- package/dist/components/CandleView/Mark/Text/BubbleBoxMark.d.ts +126 -0
- package/dist/components/CandleView/Mark/Text/EmojiMark.d.ts +72 -0
- package/dist/components/CandleView/Mark/Text/FlagMark.d.ts +63 -0
- package/dist/components/CandleView/Mark/Text/PinMark.d.ts +110 -0
- package/dist/components/CandleView/Mark/Text/PriceLabelMark.d.ts +70 -0
- package/dist/components/CandleView/Mark/Text/PriceNoteMark.d.ts +87 -0
- package/dist/components/CandleView/Mark/Text/SignPostMark.d.ts +110 -0
- package/dist/components/CandleView/Mark/Text/TextEditMark.d.ts +105 -0
- package/dist/components/CandleView/MarkManager/Channel/DisjointChannelMarkManager.d.ts +68 -0
- package/dist/components/CandleView/MarkManager/Channel/EquidistantChannelMarkManager.d.ts +67 -0
- package/dist/components/CandleView/MarkManager/Channel/LinearRegressionChannelMarkManager.d.ts +64 -0
- package/dist/components/CandleView/MarkManager/Channel/ParallelChannelMarkManager.d.ts +67 -0
- package/dist/components/CandleView/MarkManager/Content/ImageMarkManager.d.ts +58 -0
- package/dist/components/CandleView/MarkManager/Elliott/ElliottCorrectiveMarkManager.d.ts +54 -0
- package/dist/components/CandleView/MarkManager/Elliott/ElliottDoubleCombinationMarkManager.d.ts +54 -0
- package/dist/components/CandleView/MarkManager/Elliott/ElliottImpulseMarkManager.d.ts +54 -0
- package/dist/components/CandleView/MarkManager/Elliott/ElliottTriangleMarkManager.d.ts +54 -0
- package/dist/components/CandleView/MarkManager/Elliott/ElliottTripleCombinationMarkManager.d.ts +54 -0
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciArcMarkManager.d.ts +54 -0
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciChannelMarkManager.d.ts +65 -0
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciCircleMarkManager.d.ts +54 -0
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciExtensionBasePriceMarkManager.d.ts +55 -0
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciExtensionBaseTimeMarkManager.d.ts +55 -0
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciFanMarkManager.d.ts +54 -0
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciRetracementMarkManager.d.ts +55 -0
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciSpiralMarkManager.d.ts +54 -0
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciTimeZoonMarkManager.d.ts +54 -0
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciWedgeMarkManager.d.ts +57 -0
- package/dist/components/CandleView/MarkManager/Fork/AndrewPitchforkMarkManager.d.ts +72 -0
- package/dist/components/CandleView/MarkManager/Fork/EnhancedAndrewPitchforkMarkManager.d.ts +72 -0
- package/dist/components/CandleView/MarkManager/Fork/SchiffPitchforkMarkManager.d.ts +77 -0
- package/dist/components/CandleView/MarkManager/Gann/GannBoxMarkManager.d.ts +54 -0
- package/dist/components/CandleView/MarkManager/Gann/GannFanMarkManager.d.ts +54 -0
- package/dist/components/CandleView/MarkManager/Gann/GannRectangleManager.d.ts +57 -0
- package/dist/components/CandleView/MarkManager/Line/ArrowLineMarkManager.d.ts +53 -0
- package/dist/components/CandleView/MarkManager/Line/AxisLineMarkManager.d.ts +57 -0
- package/dist/components/CandleView/MarkManager/Line/LineSegmentMarkManager.d.ts +53 -0
- package/dist/components/CandleView/MarkManager/Line/ThickArrowLineMarkManager.d.ts +53 -0
- package/dist/components/CandleView/MarkManager/Map/HeatMapMarkManager.d.ts +65 -0
- package/dist/components/CandleView/MarkManager/Mock/MockKLineMarkManager.d.ts +53 -0
- package/dist/components/CandleView/MarkManager/Pattern/ABCDMarkManager.d.ts +54 -0
- package/dist/components/CandleView/MarkManager/Pattern/HeadAndShouldersMarkManager.d.ts +54 -0
- package/dist/components/CandleView/MarkManager/Pattern/TriangleABCDMarkManager.d.ts +55 -0
- package/dist/components/CandleView/MarkManager/Pattern/XABCDMarkManager.d.ts +54 -0
- package/dist/components/CandleView/MarkManager/Pen/BrushMarkManager.d.ts +56 -0
- package/dist/components/CandleView/MarkManager/Pen/EraserMarkManager.d.ts +52 -0
- package/dist/components/CandleView/MarkManager/Pen/MarkerPenMarkManager.d.ts +56 -0
- package/dist/components/CandleView/MarkManager/Pen/PenMarkManager.d.ts +56 -0
- package/dist/components/CandleView/MarkManager/Pen/PencilMarkManager.d.ts +55 -0
- package/dist/components/CandleView/MarkManager/Range/LongPositionMarkManager.d.ts +64 -0
- package/dist/components/CandleView/MarkManager/Range/PriceRangeMarkManager.d.ts +64 -0
- package/dist/components/CandleView/MarkManager/Range/ShortPositionMarkManager.d.ts +64 -0
- package/dist/components/CandleView/MarkManager/Range/TimePriceRangeMarkManager.d.ts +64 -0
- package/dist/components/CandleView/MarkManager/Range/TimeRangeMarkManager.d.ts +64 -0
- package/dist/components/CandleView/MarkManager/Shape/CircleMarkManager.d.ts +54 -0
- package/dist/components/CandleView/MarkManager/Shape/CurveMarkManager.d.ts +54 -0
- package/dist/components/CandleView/MarkManager/Shape/DoubleCurveMarkManager.d.ts +55 -0
- package/dist/components/CandleView/MarkManager/Shape/EllipseMarkManager.d.ts +56 -0
- package/dist/components/CandleView/MarkManager/Shape/RectangleMarkManager.d.ts +52 -0
- package/dist/components/CandleView/MarkManager/Shape/SectorMarkManager.d.ts +54 -0
- package/dist/components/CandleView/MarkManager/Shape/TriangleMarkManager.d.ts +54 -0
- package/dist/components/CandleView/MarkManager/StaticMarkManager.d.ts +46 -0
- package/dist/components/CandleView/MarkManager/Text/BubbleBoxMarkManager.d.ts +62 -0
- package/dist/components/CandleView/MarkManager/Text/EmojiMarkManager.d.ts +53 -0
- package/dist/components/CandleView/MarkManager/Text/FlagMarkManager.d.ts +52 -0
- package/dist/components/CandleView/MarkManager/Text/PinMarkManager.d.ts +57 -0
- package/dist/components/CandleView/MarkManager/Text/PriceLabelMarkManager.d.ts +52 -0
- package/dist/components/CandleView/MarkManager/Text/PriceNoteMarkManager.d.ts +54 -0
- package/dist/components/CandleView/MarkManager/Text/SignPostMarkManager.d.ts +56 -0
- package/dist/components/CandleView/MarkManager/Text/TextEditMarkManager.d.ts +62 -0
- package/dist/components/CandleView/Theme.d.ts +59 -0
- package/dist/components/CandleView/TopPanel/Config.d.ts +22 -0
- package/dist/components/CandleView/TopPanel/IndicatorProcessing.d.ts +4 -0
- package/dist/components/CandleView/TopPanel/index.d.ts +104 -0
- package/dist/components/CandleView/ViewportManager.d.ts +53 -0
- package/dist/components/CandleView/index.d.ts +2 -0
- package/dist/components/CandleView/tools.d.ts +7 -0
- package/dist/components/CandleView/types.d.ts +200 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +87315 -0
- package/dist/index.js.map +1 -0
- package/dist/index.modern.js +87312 -0
- package/dist/index.modern.js.map +1 -0
- package/dist/index.test.d.ts +1 -0
- package/package.json +93 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ChartLayer } from "..";
|
|
2
|
+
import { ThemeConfig } from "../../Theme";
|
|
3
|
+
import { IMainChart } from "./IMainChart";
|
|
4
|
+
export declare class HighLow implements IMainChart {
|
|
5
|
+
private series;
|
|
6
|
+
constructor(chartLayer: ChartLayer, theme: ThemeConfig);
|
|
7
|
+
private transformToHighLowData;
|
|
8
|
+
refreshData: (chartLayer: ChartLayer) => void;
|
|
9
|
+
updateStyle: (options: any) => void;
|
|
10
|
+
destroy: (chartLayer: ChartLayer) => void;
|
|
11
|
+
getSeries(): any;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ChartLayer } from "..";
|
|
2
|
+
import { ThemeConfig } from "../../Theme";
|
|
3
|
+
import { IMainChart } from "./IMainChart";
|
|
4
|
+
export declare class Histogram implements IMainChart {
|
|
5
|
+
private histogramSeries;
|
|
6
|
+
private theme;
|
|
7
|
+
constructor(chartLayer: ChartLayer, theme: ThemeConfig);
|
|
8
|
+
private transformToHistogramData;
|
|
9
|
+
refreshData: (chartLayer: ChartLayer) => void;
|
|
10
|
+
updateStyle: (options: any) => void;
|
|
11
|
+
destroy: (chartLayer: ChartLayer) => void;
|
|
12
|
+
getSeries(): any;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ChartLayer } from "..";
|
|
2
|
+
import { ThemeConfig } from "../../Theme";
|
|
3
|
+
import { IMainChart } from "./IMainChart";
|
|
4
|
+
export declare class HollowCandlestick implements IMainChart {
|
|
5
|
+
private candleSeries;
|
|
6
|
+
private theme;
|
|
7
|
+
constructor(chartLayer: ChartLayer, theme: ThemeConfig);
|
|
8
|
+
private transformToHollowCandlestickData;
|
|
9
|
+
refreshData: (chartLayer: ChartLayer) => void;
|
|
10
|
+
updateStyle: (options: any) => void;
|
|
11
|
+
destroy: (chartLayer: ChartLayer) => void;
|
|
12
|
+
getSeries(): any;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ChartLayer } from "..";
|
|
2
|
+
import { ThemeConfig } from "../../Theme";
|
|
3
|
+
import { IMainChart } from "./IMainChart";
|
|
4
|
+
export declare class Line implements IMainChart {
|
|
5
|
+
private lineSeries;
|
|
6
|
+
private _lineWidht;
|
|
7
|
+
constructor(chartLayer: ChartLayer, theme: ThemeConfig);
|
|
8
|
+
private transformToLineData;
|
|
9
|
+
refreshData: (chartLayer: ChartLayer) => void;
|
|
10
|
+
updateStyle: (options: any) => void;
|
|
11
|
+
destroy: (chartLayer: ChartLayer) => void;
|
|
12
|
+
getSeries(): any;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ChartLayer } from "..";
|
|
2
|
+
import { ThemeConfig } from "../../Theme";
|
|
3
|
+
import { IMainChart } from "./IMainChart";
|
|
4
|
+
export declare class LineBreak implements IMainChart {
|
|
5
|
+
private series;
|
|
6
|
+
private lineCount;
|
|
7
|
+
private globalChartData;
|
|
8
|
+
constructor(chartLayer: ChartLayer, theme: ThemeConfig);
|
|
9
|
+
private generateLineBreakData;
|
|
10
|
+
refreshData: (chartLayer: ChartLayer) => void;
|
|
11
|
+
updateStyle: (options: any) => void;
|
|
12
|
+
destroy: (chartLayer: ChartLayer) => void;
|
|
13
|
+
getSeries(): any;
|
|
14
|
+
setLineCount(count: number): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ChartLayer } from "..";
|
|
2
|
+
import { ThemeConfig } from "../../Theme";
|
|
3
|
+
import { MainChartType } from "../../types";
|
|
4
|
+
export declare class MainChartManager {
|
|
5
|
+
private currentChart;
|
|
6
|
+
private currentType;
|
|
7
|
+
private chartLayer;
|
|
8
|
+
private theme;
|
|
9
|
+
constructor(chartLayer: ChartLayer, theme: ThemeConfig);
|
|
10
|
+
switchChartType(type: MainChartType): void;
|
|
11
|
+
refreshData(): void;
|
|
12
|
+
updateStyle(options: any): void;
|
|
13
|
+
getCurrentSeries(): any;
|
|
14
|
+
getCurrentType(): MainChartType | null;
|
|
15
|
+
private destroyCurrentChart;
|
|
16
|
+
destroy(): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ChartLayer } from "..";
|
|
2
|
+
import { I18n } from "../../I18n";
|
|
3
|
+
import { ThemeConfig } from "../../Theme";
|
|
4
|
+
export declare class MarketProfile {
|
|
5
|
+
private _chart;
|
|
6
|
+
private _series;
|
|
7
|
+
private _renderer;
|
|
8
|
+
private _chartData;
|
|
9
|
+
private _width;
|
|
10
|
+
private _height;
|
|
11
|
+
private _isAttached;
|
|
12
|
+
private _config;
|
|
13
|
+
private _cachedProfile;
|
|
14
|
+
private _lastDataHash;
|
|
15
|
+
private _widthProportion;
|
|
16
|
+
private _menu;
|
|
17
|
+
private _profileRect;
|
|
18
|
+
private _i18n;
|
|
19
|
+
private _theme;
|
|
20
|
+
private _closeCallBack;
|
|
21
|
+
constructor(chartLayer: ChartLayer, i18n: I18n, theme: ThemeConfig, closeCallBack: () => void);
|
|
22
|
+
private initializeMarketProfile;
|
|
23
|
+
private _contextMenuHandler;
|
|
24
|
+
private _clickHandler;
|
|
25
|
+
private _resizeHandler;
|
|
26
|
+
private bindContextMenu;
|
|
27
|
+
private isInProfileArea;
|
|
28
|
+
private updateProfileRect;
|
|
29
|
+
private showContextMenu;
|
|
30
|
+
private hideContextMenu;
|
|
31
|
+
refreshData: (chartLayer: ChartLayer) => void;
|
|
32
|
+
attached(param: any): void;
|
|
33
|
+
updateAllViews(): void;
|
|
34
|
+
time(): any;
|
|
35
|
+
priceValue(): any;
|
|
36
|
+
updateI18n(i18n: I18n): void;
|
|
37
|
+
updateTheme(theme: ThemeConfig): void;
|
|
38
|
+
paneViews(): {
|
|
39
|
+
renderer: () => any;
|
|
40
|
+
}[];
|
|
41
|
+
private drawMarketProfile;
|
|
42
|
+
private getDataHash;
|
|
43
|
+
private calculateProfile;
|
|
44
|
+
private findPriceLevel;
|
|
45
|
+
private calculateSimpleValueArea;
|
|
46
|
+
private drawProfileBars;
|
|
47
|
+
private drawValueArea;
|
|
48
|
+
private getProfileColor;
|
|
49
|
+
private requestUpdate;
|
|
50
|
+
destroy(): void;
|
|
51
|
+
reactivate(): void;
|
|
52
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ChartLayer } from "..";
|
|
2
|
+
import { ThemeConfig } from "../../Theme";
|
|
3
|
+
import { IMainChart } from "./IMainChart";
|
|
4
|
+
export declare class Mountain implements IMainChart {
|
|
5
|
+
private series;
|
|
6
|
+
constructor(chartLayer: ChartLayer, theme: ThemeConfig);
|
|
7
|
+
private transformToMountainData;
|
|
8
|
+
refreshData: (chartLayer: ChartLayer) => void;
|
|
9
|
+
updateStyle: (options: any) => void;
|
|
10
|
+
destroy: (chartLayer: ChartLayer) => void;
|
|
11
|
+
getSeries(): any;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ChartLayer } from "..";
|
|
2
|
+
import { ThemeConfig } from "../../Theme";
|
|
3
|
+
import { IMainChart } from "./IMainChart";
|
|
4
|
+
export declare class StepLine implements IMainChart {
|
|
5
|
+
private stepLineSeries;
|
|
6
|
+
constructor(chartLayer: ChartLayer, theme: ThemeConfig);
|
|
7
|
+
private transformToStepLineData;
|
|
8
|
+
refreshData: (chartLayer: ChartLayer) => void;
|
|
9
|
+
updateStyle: (options: any) => void;
|
|
10
|
+
destroy: (chartLayer: ChartLayer) => void;
|
|
11
|
+
getSeries(): any;
|
|
12
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ChartLayer } from "..";
|
|
2
|
+
import { I18n } from "../../I18n";
|
|
3
|
+
import { ThemeConfig } from "../../Theme";
|
|
4
|
+
export declare class VolumeHeatMap {
|
|
5
|
+
private _chart;
|
|
6
|
+
private _series;
|
|
7
|
+
private _renderer;
|
|
8
|
+
private _chartData;
|
|
9
|
+
private _width;
|
|
10
|
+
private _height;
|
|
11
|
+
private _isAttached;
|
|
12
|
+
private _menu;
|
|
13
|
+
private _heatMapRect;
|
|
14
|
+
private _i18n;
|
|
15
|
+
private _theme;
|
|
16
|
+
private _closeCallBack;
|
|
17
|
+
constructor(chartLayer: ChartLayer, i18n: I18n, theme: ThemeConfig, closeCallBack: () => void);
|
|
18
|
+
private initializeHeatMap;
|
|
19
|
+
private _contextMenuHandler;
|
|
20
|
+
private _clickHandler;
|
|
21
|
+
private _resizeHandler;
|
|
22
|
+
private bindContextMenu;
|
|
23
|
+
private isInHeatMapArea;
|
|
24
|
+
private updateHeatMapRect;
|
|
25
|
+
private showContextMenu;
|
|
26
|
+
private hideContextMenu;
|
|
27
|
+
refreshData: (chartLayer: ChartLayer) => void;
|
|
28
|
+
attached(param: any): void;
|
|
29
|
+
updateAllViews(): void;
|
|
30
|
+
time(): any;
|
|
31
|
+
priceValue(): any;
|
|
32
|
+
updateI18n(i18n: I18n): void;
|
|
33
|
+
updateTheme(theme: ThemeConfig): void;
|
|
34
|
+
paneViews(): {
|
|
35
|
+
renderer: () => any;
|
|
36
|
+
}[];
|
|
37
|
+
private drawHeatMap;
|
|
38
|
+
private requestUpdate;
|
|
39
|
+
destroy(): void;
|
|
40
|
+
reactivate(): void;
|
|
41
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ThemeConfig } from '../../Theme';
|
|
3
|
+
import { I18n } from '../../I18n';
|
|
4
|
+
export declare const ImageUploadModal: React.FC<{
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
onConfirm: (imageUrl: string) => void;
|
|
8
|
+
theme: ThemeConfig;
|
|
9
|
+
i18n: I18n;
|
|
10
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ThemeConfig } from '../../Theme';
|
|
3
|
+
import { MainChartIndicatorType } from '../../types';
|
|
4
|
+
import { MainChartIndicatorInfo } from '../../Indicators/MainChart/MainChartIndicatorInfo';
|
|
5
|
+
import { I18n } from '../../I18n';
|
|
6
|
+
interface MainChartIndicatorsSettingModalProps {
|
|
7
|
+
isOpen: boolean;
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
onConfirm: (indicator: MainChartIndicatorInfo) => void;
|
|
10
|
+
initialIndicator?: MainChartIndicatorInfo | null;
|
|
11
|
+
theme?: ThemeConfig;
|
|
12
|
+
parentRef?: React.RefObject<HTMLDivElement | null>;
|
|
13
|
+
indicatorType?: MainChartIndicatorType | null;
|
|
14
|
+
i18n: I18n;
|
|
15
|
+
}
|
|
16
|
+
declare const MainChartIndicatorsSettingModal: React.FC<MainChartIndicatorsSettingModalProps>;
|
|
17
|
+
export default MainChartIndicatorsSettingModal;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ThemeConfig } from '../../Theme';
|
|
3
|
+
import { IIndicatorInfo } from '../../Indicators/SubChart/IIndicator';
|
|
4
|
+
import { SubChartIndicatorType } from '../../types';
|
|
5
|
+
import { I18n } from '../../I18n';
|
|
6
|
+
interface SubChartIndicatorsSettingModalProps {
|
|
7
|
+
isOpen: boolean;
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
onConfirm: (params: IIndicatorInfo[]) => void;
|
|
10
|
+
initialParams: IIndicatorInfo[];
|
|
11
|
+
theme?: ThemeConfig;
|
|
12
|
+
parentRef?: React.RefObject<HTMLDivElement | null>;
|
|
13
|
+
indicatorType: SubChartIndicatorType | null;
|
|
14
|
+
i18n: I18n;
|
|
15
|
+
}
|
|
16
|
+
declare const SubChartIndicatorsSettingModal: React.FC<SubChartIndicatorsSettingModalProps>;
|
|
17
|
+
export default SubChartIndicatorsSettingModal;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ThemeConfig } from '../../Theme';
|
|
3
|
+
import { I18n } from '../../I18n';
|
|
4
|
+
interface TextMarkEditorModalProps {
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
position: {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
};
|
|
10
|
+
theme: ThemeConfig;
|
|
11
|
+
initialText: string;
|
|
12
|
+
initialColor: string;
|
|
13
|
+
initialFontSize: number;
|
|
14
|
+
initialIsBold: boolean;
|
|
15
|
+
initialIsItalic: boolean;
|
|
16
|
+
onSave: (text: string, color: string, fontSize: number, isBold: boolean, isItalic: boolean) => void;
|
|
17
|
+
onCancel: () => void;
|
|
18
|
+
i18n: I18n;
|
|
19
|
+
}
|
|
20
|
+
export declare const TextMarkEditorModal: React.FC<TextMarkEditorModalProps>;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { MouseEventParams, Point } from "lightweight-charts";
|
|
2
|
+
import { ThemeConfig } from "../../Theme";
|
|
3
|
+
import { SubChartIndicatorType } from "../../types";
|
|
4
|
+
import { IChartPane } from "./IChartPanes";
|
|
5
|
+
import { IIndicatorInfo } from "../../Indicators/SubChart/IIndicator";
|
|
6
|
+
export declare abstract class BaseChartPane implements IChartPane {
|
|
7
|
+
readonly id: string;
|
|
8
|
+
readonly size: number;
|
|
9
|
+
readonly vertPosition: 'left' | 'right';
|
|
10
|
+
readonly indicatorType: SubChartIndicatorType;
|
|
11
|
+
readonly chartInstance: any;
|
|
12
|
+
readonly paneInstance: any;
|
|
13
|
+
theme: ThemeConfig;
|
|
14
|
+
onSettingsClick: (subChartIndicatorType: SubChartIndicatorType) => void;
|
|
15
|
+
onCloseClick: (subChartIndicatorType: SubChartIndicatorType) => void;
|
|
16
|
+
protected _infoElement: HTMLElement | null;
|
|
17
|
+
constructor(id: string, size: number, vertPosition: 'left' | 'right', indicatorType: SubChartIndicatorType, chartInstance: any, paneInstance: any, theme: ThemeConfig, onSettingsClick: (subChartIndicatorType: SubChartIndicatorType) => void, onCloseClick: (subChartIndicatorType: SubChartIndicatorType) => void);
|
|
18
|
+
init(chartData: any[], settings?: {
|
|
19
|
+
paramName: string;
|
|
20
|
+
paramValue: number;
|
|
21
|
+
lineColor: string;
|
|
22
|
+
lineWidth: number;
|
|
23
|
+
}[]): void;
|
|
24
|
+
protected createInfoElement(): void;
|
|
25
|
+
destroy(): void;
|
|
26
|
+
getSeries(): {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
getChart(): any;
|
|
30
|
+
getParams(): IIndicatorInfo[];
|
|
31
|
+
updateData(chartData: any[]): void;
|
|
32
|
+
setStyles(styles: any): void;
|
|
33
|
+
setVisible(visible: boolean): void;
|
|
34
|
+
updateThme(theme: ThemeConfig): void;
|
|
35
|
+
updateSettings(chartData: any[], settings: IIndicatorInfo[]): void;
|
|
36
|
+
protected getDefaultPriceScaleId(): string;
|
|
37
|
+
handleMouseDown(poin: Point): void;
|
|
38
|
+
handleMouseMove(poin: Point): void;
|
|
39
|
+
handleMouseUp(poin: Point): void;
|
|
40
|
+
handleCrosshairMoveEvent(event: MouseEventParams): void;
|
|
41
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ThemeConfig } from "../../Theme";
|
|
2
|
+
import { SubChartIndicatorType } from "../../types";
|
|
3
|
+
import { IChartPane } from "./IChartPanes";
|
|
4
|
+
export declare class ChartPaneFactory {
|
|
5
|
+
static createPane(chartInstance: any, paneInstance: any, id: string, size: number, vertPosition: 'left' | 'right', indicatorType: SubChartIndicatorType, theme: ThemeConfig, onSettingsClick: (subChartIndicatorType: SubChartIndicatorType) => void, onCloseClick: (subChartIndicatorType: SubChartIndicatorType) => void): IChartPane;
|
|
6
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Point, SubChartIndicatorType } from "../../types";
|
|
2
|
+
import { ChartLayer } from "..";
|
|
3
|
+
import { IChartPane } from "./IChartPanes";
|
|
4
|
+
import { ThemeConfig } from "../../Theme";
|
|
5
|
+
import { IIndicatorInfo } from "../../Indicators/SubChart/IIndicator";
|
|
6
|
+
import { MouseEventParams } from "lightweight-charts";
|
|
7
|
+
export declare class ChartPanesManager {
|
|
8
|
+
private panesCache;
|
|
9
|
+
private chartInstance;
|
|
10
|
+
constructor();
|
|
11
|
+
setChartInstance(chart: any): void;
|
|
12
|
+
addSubChart(chartLayer: ChartLayer, subChartIndicatorType: SubChartIndicatorType, onSettingsClick: (subChartIndicatorType: SubChartIndicatorType) => void, onCloseClick: (subChartIndicatorType: SubChartIndicatorType) => void): void;
|
|
13
|
+
updatePaneDataBySubChartIndicatorType(chartData: any[], subChartIndicatorType: SubChartIndicatorType): void;
|
|
14
|
+
updateAllPaneData(chartData: any[]): void;
|
|
15
|
+
updatePaneThemeBySubChartIndicatorType(theme: ThemeConfig, subChartIndicatorType: SubChartIndicatorType): void;
|
|
16
|
+
updateAllPaneTheme(theme: ThemeConfig): void;
|
|
17
|
+
updateSettingsBySubChartIndicatorType(chartData: any[], settings: IIndicatorInfo[], subChartIndicatorType: SubChartIndicatorType): void;
|
|
18
|
+
removePaneBySubChartIndicatorType(subChartIndicatorType: SubChartIndicatorType): void;
|
|
19
|
+
removeAllPane(): void;
|
|
20
|
+
removeAllSeries(): void;
|
|
21
|
+
getParamsByIndicatorType(indicatorType: SubChartIndicatorType): IIndicatorInfo[];
|
|
22
|
+
getPaneByIndicatorType(indicatorType: SubChartIndicatorType): IChartPane | undefined;
|
|
23
|
+
getAllPanes(): IChartPane[];
|
|
24
|
+
hasPane(indicatorType: SubChartIndicatorType): boolean;
|
|
25
|
+
private calculatePaneSize;
|
|
26
|
+
private buildPanesCacheId;
|
|
27
|
+
handleMouseDown(poin: Point): void;
|
|
28
|
+
handleMouseMove(poin: Point): void;
|
|
29
|
+
handleMouseUp(poin: Point): void;
|
|
30
|
+
handleCrosshairMoveEvent(event: MouseEventParams): void;
|
|
31
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MouseEventParams } from "lightweight-charts";
|
|
2
|
+
import { ThemeConfig } from "../../Theme";
|
|
3
|
+
import { IIndicatorInfo } from "../../Indicators/SubChart/IIndicator";
|
|
4
|
+
import { Point, SubChartIndicatorType } from "../../types";
|
|
5
|
+
export interface PaneConfig {
|
|
6
|
+
id: string;
|
|
7
|
+
size: number;
|
|
8
|
+
vertPosition: 'left' | 'right';
|
|
9
|
+
indicatorType: SubChartIndicatorType;
|
|
10
|
+
series: any;
|
|
11
|
+
}
|
|
12
|
+
export interface IChartPane {
|
|
13
|
+
readonly id: string;
|
|
14
|
+
readonly size: number;
|
|
15
|
+
readonly vertPosition: 'left' | 'right';
|
|
16
|
+
readonly indicatorType: SubChartIndicatorType;
|
|
17
|
+
readonly chartInstance: any;
|
|
18
|
+
readonly paneInstance: any;
|
|
19
|
+
getChart(): any;
|
|
20
|
+
init(chartData: any[], settings?: {
|
|
21
|
+
paramName: string;
|
|
22
|
+
paramValue: number;
|
|
23
|
+
lineColor: string;
|
|
24
|
+
lineWidth: number;
|
|
25
|
+
}[]): void;
|
|
26
|
+
getSeries(): {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
getParams(): IIndicatorInfo[];
|
|
30
|
+
setStyles(styles: any): void;
|
|
31
|
+
setVisible(visible: boolean): void;
|
|
32
|
+
destroy(): void;
|
|
33
|
+
updateData(chartData: any[]): void;
|
|
34
|
+
updateSettings(chartData: any[], settings: IIndicatorInfo[]): void;
|
|
35
|
+
updateThme(theme: ThemeConfig): void;
|
|
36
|
+
onSettingsClick(subChartIndicatorType: SubChartIndicatorType): void;
|
|
37
|
+
onCloseClick(subChartIndicatorType: SubChartIndicatorType): void;
|
|
38
|
+
handleMouseDown(poin: Point): void;
|
|
39
|
+
handleMouseMove(poin: Point): void;
|
|
40
|
+
handleMouseUp(poin: Point): void;
|
|
41
|
+
handleCrosshairMoveEvent(event: MouseEventParams): void;
|
|
42
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MouseEventParams } from "lightweight-charts";
|
|
2
|
+
import { IIndicatorInfo } from "../../Indicators/SubChart/IIndicator";
|
|
3
|
+
import { BaseChartPane } from "../Panes/BaseChartPane";
|
|
4
|
+
export declare class ADX extends BaseChartPane {
|
|
5
|
+
seriesMap: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
private adxIndicator;
|
|
9
|
+
private currentValues;
|
|
10
|
+
private adxIndicatorInfo;
|
|
11
|
+
init(chartData: any[], settings?: IIndicatorInfo[]): void;
|
|
12
|
+
updateSettings(chartData: any[], settings?: IIndicatorInfo[]): void;
|
|
13
|
+
private getCurrentValue;
|
|
14
|
+
private updateInfoParams;
|
|
15
|
+
protected getPriceScaleOptions(): any;
|
|
16
|
+
updateData(chartData: any[]): void;
|
|
17
|
+
getSeries(): {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
};
|
|
20
|
+
updateIndicatorSettings(settings: IIndicatorInfo): void;
|
|
21
|
+
getParams(): IIndicatorInfo[];
|
|
22
|
+
getIndicatorSettings(): IIndicatorInfo | null;
|
|
23
|
+
destroy(): void;
|
|
24
|
+
handleCrosshairMoveEvent(event: MouseEventParams): void;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MouseEventParams } from "lightweight-charts";
|
|
2
|
+
import { IIndicatorInfo } from "../../Indicators/SubChart/IIndicator";
|
|
3
|
+
import { BaseChartPane } from "../Panes/BaseChartPane";
|
|
4
|
+
export declare class ATR extends BaseChartPane {
|
|
5
|
+
seriesMap: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
private atrIndicator;
|
|
9
|
+
private currentValues;
|
|
10
|
+
private atrIndicatorInfo;
|
|
11
|
+
init(chartData: any[], settings?: IIndicatorInfo[]): void;
|
|
12
|
+
updateSettings(chartData: any[], settings?: IIndicatorInfo[]): void;
|
|
13
|
+
getParams(): IIndicatorInfo[];
|
|
14
|
+
private getCurrentValue;
|
|
15
|
+
private updateInfoParams;
|
|
16
|
+
protected getPriceScaleOptions(): any;
|
|
17
|
+
updateData(chartData: any[]): void;
|
|
18
|
+
getSeries(): {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
};
|
|
21
|
+
updateIndicatorSettings(settings: IIndicatorInfo): void;
|
|
22
|
+
getIndicatorSettings(): IIndicatorInfo | null;
|
|
23
|
+
destroy(): void;
|
|
24
|
+
handleCrosshairMoveEvent(event: MouseEventParams): void;
|
|
25
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { MouseEventParams } from "lightweight-charts";
|
|
2
|
+
import { BaseChartPane } from "../Panes/BaseChartPane";
|
|
3
|
+
import { IIndicatorInfo } from "../../Indicators/SubChart/IIndicator";
|
|
4
|
+
export declare class BBWidth extends BaseChartPane {
|
|
5
|
+
seriesMap: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
private bbWidthIndicator;
|
|
9
|
+
private currentValues;
|
|
10
|
+
private bbWidthIndicatorInfo;
|
|
11
|
+
init(chartData: any[], settings?: IIndicatorInfo[]): void;
|
|
12
|
+
updateSettings(chartData: any[], settings?: IIndicatorInfo[]): void;
|
|
13
|
+
private getCurrentValue;
|
|
14
|
+
private updateInfoParams;
|
|
15
|
+
getParams(): IIndicatorInfo[];
|
|
16
|
+
protected getPriceScaleOptions(): any;
|
|
17
|
+
updateData(chartData: any[]): void;
|
|
18
|
+
getSeries(): {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
};
|
|
21
|
+
updateIndicatorSettings(settings: IIndicatorInfo): void;
|
|
22
|
+
getIndicatorSettings(): IIndicatorInfo | null;
|
|
23
|
+
destroy(): void;
|
|
24
|
+
handleCrosshairMoveEvent(event: MouseEventParams): void;
|
|
25
|
+
protected calculateIndicatorData(chartData: any[]): any[];
|
|
26
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MouseEventParams } from "lightweight-charts";
|
|
2
|
+
import { IIndicatorInfo } from "../../Indicators/SubChart/IIndicator";
|
|
3
|
+
import { BaseChartPane } from "../Panes/BaseChartPane";
|
|
4
|
+
export declare class CCI extends BaseChartPane {
|
|
5
|
+
seriesMap: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
private cciIndicator;
|
|
9
|
+
private currentValues;
|
|
10
|
+
private cciIndicatorInfo;
|
|
11
|
+
init(chartData: any[], settings?: IIndicatorInfo[]): void;
|
|
12
|
+
updateSettings(chartData: any[], settings?: IIndicatorInfo[]): void;
|
|
13
|
+
getParams(): IIndicatorInfo[];
|
|
14
|
+
private getCurrentValue;
|
|
15
|
+
private updateInfoParams;
|
|
16
|
+
protected getPriceScaleOptions(): any;
|
|
17
|
+
updateData(chartData: any[]): void;
|
|
18
|
+
getSeries(): {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
};
|
|
21
|
+
updateIndicatorSettings(settings: IIndicatorInfo): void;
|
|
22
|
+
getIndicatorSettings(): IIndicatorInfo | null;
|
|
23
|
+
destroy(): void;
|
|
24
|
+
handleCrosshairMoveEvent(event: MouseEventParams): void;
|
|
25
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { MouseEventParams } from "lightweight-charts";
|
|
2
|
+
import { IIndicatorInfo } from "../../Indicators/SubChart/IIndicator";
|
|
3
|
+
import { BaseChartPane } from "../Panes/BaseChartPane";
|
|
4
|
+
export declare class KDJ extends BaseChartPane {
|
|
5
|
+
private seriesMap;
|
|
6
|
+
private kdjIndicator;
|
|
7
|
+
private currentValues;
|
|
8
|
+
private kdjIndicatorInfo;
|
|
9
|
+
init(chartData: any[], settings?: IIndicatorInfo[]): void;
|
|
10
|
+
updateSettings(chartData: any[], settings?: IIndicatorInfo[]): void;
|
|
11
|
+
private getCurrentValue;
|
|
12
|
+
private updateInfoParams;
|
|
13
|
+
protected getPriceScaleOptions(): any;
|
|
14
|
+
updateData(chartData: any[]): void;
|
|
15
|
+
getSeries(): {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
updateIndicatorSettings(settings: IIndicatorInfo): void;
|
|
19
|
+
getParams(): IIndicatorInfo[];
|
|
20
|
+
getIndicatorSettings(): IIndicatorInfo | null;
|
|
21
|
+
destroy(): void;
|
|
22
|
+
handleCrosshairMoveEvent(event: MouseEventParams): void;
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { MouseEventParams } from "lightweight-charts";
|
|
2
|
+
import { IIndicatorInfo } from "../../Indicators/SubChart/IIndicator";
|
|
3
|
+
import { BaseChartPane } from "../Panes/BaseChartPane";
|
|
4
|
+
export declare class MACD extends BaseChartPane {
|
|
5
|
+
private seriesMap;
|
|
6
|
+
private macdIndicator;
|
|
7
|
+
private currentValues;
|
|
8
|
+
private macdIndicatorInfo;
|
|
9
|
+
init(chartData: any[], settings?: IIndicatorInfo[]): void;
|
|
10
|
+
updateSettings(chartData: any[], settings?: IIndicatorInfo[]): void;
|
|
11
|
+
private getCurrentValue;
|
|
12
|
+
private updateInfoParams;
|
|
13
|
+
protected getPriceScaleOptions(): any;
|
|
14
|
+
updateData(chartData: any[]): void;
|
|
15
|
+
getSeries(): {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
updateIndicatorSettings(settings: IIndicatorInfo): void;
|
|
19
|
+
getParams(): IIndicatorInfo[];
|
|
20
|
+
getIndicatorSettings(): IIndicatorInfo | null;
|
|
21
|
+
destroy(): void;
|
|
22
|
+
handleCrosshairMoveEvent(event: MouseEventParams): void;
|
|
23
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { MouseEventParams } from "lightweight-charts";
|
|
2
|
+
import { IIndicatorInfo } from "../../Indicators/SubChart/IIndicator";
|
|
3
|
+
import { BaseChartPane } from "../Panes/BaseChartPane";
|
|
4
|
+
export declare class OBV extends BaseChartPane {
|
|
5
|
+
private seriesMap;
|
|
6
|
+
private obvIndicator;
|
|
7
|
+
private currentValues;
|
|
8
|
+
private obvIndicatorInfo;
|
|
9
|
+
init(chartData: any[], settings?: IIndicatorInfo[]): void;
|
|
10
|
+
updateSettings(chartData: any[], settings?: IIndicatorInfo[]): void;
|
|
11
|
+
private getCurrentValue;
|
|
12
|
+
private updateInfoParams;
|
|
13
|
+
protected getPriceScaleOptions(): any;
|
|
14
|
+
updateData(chartData: any[]): void;
|
|
15
|
+
getSeries(): {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
updateIndicatorSettings(settings: IIndicatorInfo): void;
|
|
19
|
+
getParams(): IIndicatorInfo[];
|
|
20
|
+
getIndicatorSettings(): IIndicatorInfo | null;
|
|
21
|
+
destroy(): void;
|
|
22
|
+
handleCrosshairMoveEvent(event: MouseEventParams): void;
|
|
23
|
+
protected calculateIndicatorData(chartData: any[]): any[];
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MouseEventParams } from "lightweight-charts";
|
|
2
|
+
import { IIndicatorInfo } from "../../Indicators/SubChart/IIndicator";
|
|
3
|
+
import { BaseChartPane } from "../Panes/BaseChartPane";
|
|
4
|
+
export declare class RSI extends BaseChartPane {
|
|
5
|
+
seriesMap: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
private rsiIndicator;
|
|
9
|
+
private currentValues;
|
|
10
|
+
private rsiIndicatorInfo;
|
|
11
|
+
init(chartData: any[], settings?: IIndicatorInfo[]): void;
|
|
12
|
+
updateSettings(chartData: any[], settings?: IIndicatorInfo[]): void;
|
|
13
|
+
getParams(): IIndicatorInfo[];
|
|
14
|
+
private getCurrentValue;
|
|
15
|
+
private updateInfoParams;
|
|
16
|
+
protected getPriceScaleOptions(): any;
|
|
17
|
+
updateData(chartData: any[]): void;
|
|
18
|
+
getSeries(): {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
};
|
|
21
|
+
updateIndicatorSettings(settings: IIndicatorInfo): void;
|
|
22
|
+
getIndicatorSettings(): IIndicatorInfo | null;
|
|
23
|
+
destroy(): void;
|
|
24
|
+
handleCrosshairMoveEvent(event: MouseEventParams): void;
|
|
25
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { MouseEventParams } from "lightweight-charts";
|
|
2
|
+
import { IIndicatorInfo } from "../../Indicators/SubChart/IIndicator";
|
|
3
|
+
import { BaseChartPane } from "../Panes/BaseChartPane";
|
|
4
|
+
export declare class SAR extends BaseChartPane {
|
|
5
|
+
private seriesMap;
|
|
6
|
+
private sarIndicator;
|
|
7
|
+
private currentValues;
|
|
8
|
+
private sarIndicatorInfo;
|
|
9
|
+
init(chartData: any[], settings?: IIndicatorInfo[]): void;
|
|
10
|
+
updateSettings(chartData: any[], settings?: IIndicatorInfo[]): void;
|
|
11
|
+
private getCurrentValue;
|
|
12
|
+
private updateInfoParams;
|
|
13
|
+
protected getPriceScaleOptions(): any;
|
|
14
|
+
updateData(chartData: any[]): void;
|
|
15
|
+
getSeries(): {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
updateIndicatorSettings(settings: IIndicatorInfo): void;
|
|
19
|
+
getParams(): IIndicatorInfo[];
|
|
20
|
+
getIndicatorSettings(): IIndicatorInfo | null;
|
|
21
|
+
destroy(): void;
|
|
22
|
+
handleCrosshairMoveEvent(event: MouseEventParams): void;
|
|
23
|
+
}
|