Candlestick Chart
Configurable options for the candlestick chart.
A candlestick chart is a type of chart commonly used in financial markets and stock trading. It uses a series of candlestick-shaped figures to display the opening, high, low, and closing prices. Candlestick charts are especially suitable for displaying time-series data, particularly in financial markets, such as stock, futures, and forex price movements.
Suitable scenarios include:
- Financial Market Analysis: Candlestick charts allow you to observe the opening, closing, highest, and lowest prices, helping to analyze market trends.
- Trend Analysis: Candlestick charts help determine the market's trend direction (uptrend, downtrend, or consolidation) and market sentiment (bullish or bearish). The patterns and shapes of the candlesticks can provide signals for trend reversal or continuation.
- Support and Resistance: Candlestick charts can help identify key support and resistance levels, which are crucial for investment decisions.
- Pattern Recognition: Candlestick charts can reveal classic candlestick patterns that are used to predict future price movements.
Each candlestick includes four main elements:
- Open: The lower end (for uptrend) or the upper end (for downtrend) of the candlestick body, representing the price at the beginning of a given time period.
- Close: The upper end (for uptrend) or the lower end (for downtrend) of the candlestick body, representing the price at the end of the time period.
- High: The upper end of the candlestick's wick, representing the highest price within the time period.
- Low: The lower end of the candlestick's wick, representing the lowest price within the time period.
Basic Mode
In basic mode, drawing a candlestick chart requires:
- X-axis and Open, Close, High, Low: select columns from the data using the dropdown menu. These are required.
- X-axis and Data: select columns via the dropdown menus. These are required.
- Color Scheme: select a color scheme from the dropdown. The default is the "Default" color scheme.
- Template: select a template using the "Change" button. If not selected, the default template is used.
- Visibility: specify whether the X-axis, Y-axis, tooltip are visible. By default, the X-axis and tooltip triggered by the cursor are displayed.
Advanced Mode
In advanced mode, more option values can be adjusted.
Axis
This includes both X and Y axes.
- Corresponding Column (X, Y): select columns from the data using the dropdown. X is required, and Y is optional. If no Y column is selected, the chart will automatically adjust.
- Visibility: controlled via the toggle button above.
- Line Color: the default is , indicating that the axis line is not displayed. You can click to select a color from the color palette or enter a HEX value to specify your preferred color. indicates using the default color.
- Line Width: specifies the thickness of the axis line.
Ticks and labels:
- Label: configure the color, font weight, and rotation angle of the labels.
- Format: use formulas to process the label text.
- Line: by default, it is not displayed. When enabled, you can configure the thickness and length of the ticks.
- Layout: configure the minimum distance between ticks and the spacing between ticks and labels.
- Numeric: when the axis column corresponds to numeric data, you can specify the number of ticks.
- Inside: controls whether the ticks and labels are displayed inside or outside the axis.
Chart/Candlestick
The options include:
- Open, Close, High, Low: select columns from the data using the dropdown menu.
- Fill: configure the fill color of the candlestick body, with separate colors for up and down movements.
- Stroke: configure the color and width of the candlestick outline, with separate colors for up and down movements.
- Bar: configure the width of the candlestick bars, supporting both absolute values and percentages.
Layout
Includes:
- Margin: configure the top, bottom, left, and right margins of the drawing area (including the axis).
- Grid: configure whether the horizontal and vertical gridlines are displayed.
Description
Used to configure the display of supplementary information for the chart.
- Title: configure the title of the chart, located at the top of the chart.
- Description: configure the description of the chart, located below the title.
- Footer: configure the footer text of the chart, located at the bottom of the chart.
- Tooltip: configure whether to display the tooltip, its offset, and whether the cursor line is shown.