KagiChart

KagiChart[{{date1,p1},{date2,p2},}]

makes a Kagi chart with prices pi at date datei.

KagiChart[{"name",daterange}]

makes a Kagi chart of closing prices for the financial entity "name" over the date range daterange.

KagiChart[{},rt]

makes a Kagi chart with reversal threshold rt.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Chart the prices from a list of values:

Use three months of prices from FinancialData entities:

Specify a date range:

Scope  (25)

Data and Wrappers  (16)

Automatically get quarterly data for a financial entity:

Get data for a specific date range:

Get data from FinancialData:

Reversal threshold by default is a fraction of the price range:

Use thresholds relative to the overall price range:

Use thresholds that are a percentage of the current price:

Use absolute thresholds:

The data may include units:

Specify the units to use:

Data can be TimeSeries, EventSeries, or TemporalData:

Use wrappers on individual data:

Use wrappers on entire datasets:

Wrappers can be nested:

Override the default tooltips:

Use PopupWindow to provide additional drilldown information:

Button can be used to trigger any action:

Styling and Appearance  (6)

Specify styles for up and down trends:

Use preset styles:

ChartBaseStyle can be used to set a style for the entire chart:

Style can be used to override styles:

Use a theme with simple ticks and grid lines in a bright color scheme:

Use a theme with a dark background in a high-contrast color scheme:

Labeling  (3)

Use Labeled to add a label to a candlestick:

Use symbolic positions for label placement:

Label a list of date events:

Use Placed to control the positioning of labels, using the same positions as for Labeled:

Options  (25)

ChartBaseStyle  (1)

Use ChartBaseStyle to apply overall styles to lines:

EventLabels  (3)

Events are labeled at the price by default:

Use Placed to control label placement:

Use Placed to control label appearance:

GridLines  (4)

Grid lines are used by default:

Turn off date grid lines:

Turn off price grid lines:

Place grid lines at month or year boundaries:

Use dotted grid lines for months and red grid lines for years:

GridLinesStyle  (4)

By default, GridLinesStyle uses dotted grid lines:

Year grid lines are emphasized:

Style grid lines:

GridLines overrides GridLinesStyle:

PerformanceGoal  (3)

Generate a KagiChart with interactive highlighting:

Emphasize performance by disabling interactive behaviors:

Typically, less memory is required for non-interactive charts:

PlotRange  (3)

KagiChart automatically draws all price dates:

Limit to a specific date range:

PlotRange only includes dates for which there is data:

PlotTheme  (2)

Use a theme with simple ticks and grid lines in a bright color scheme:

Change the trend style:

ScalingFunction  (1)

Show prices on a logarithmic scale:

TrendStyle  (4)

Style up and down trends:

Use additional named styles:

TrendStyle combines with ChartBaseStyle:

With TrendStyle set to None, ChartBaseStyle is used:

Properties & Relations  (7)

Larger thresholds filter out more noise:

KagiChart only shows time periods with significant change in price:

Use CandlestickChart to visualize the financial data:

Use TradingChart to visualize and analyze financial data:

Use InteractiveTradingChart to visualize and interactively analyze financial data:

Use PointFigureChart, LineBreakChart, and RenkoChart to analyze the relation of financial prices and time:

Use DateListPlot to visualize financial data:

Wolfram Research (2010), KagiChart, Wolfram Language function, https://reference.wolfram.com/language/ref/KagiChart.html (updated 2014).

Text

Wolfram Research (2010), KagiChart, Wolfram Language function, https://reference.wolfram.com/language/ref/KagiChart.html (updated 2014).

CMS

Wolfram Language. 2010. "KagiChart." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/KagiChart.html.

APA

Wolfram Language. (2010). KagiChart. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/KagiChart.html

BibTeX

@misc{reference.wolfram_2023_kagichart, author="Wolfram Research", title="{KagiChart}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/KagiChart.html}", note=[Accessed: 18-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_kagichart, organization={Wolfram Research}, title={KagiChart}, year={2014}, url={https://reference.wolfram.com/language/ref/KagiChart.html}, note=[Accessed: 18-March-2024 ]}