Documentation Center

  • Trial Software
  • Product Updates

kagi

Syntax

kagi(X)

Arguments

X

M-by-2 matrix where the first column contains date numbers and the second column is the asset price.

Description

kagi(X) plots asset price with respect to dates.

Examples

expand all

Create a Kagi Chart

This example shows how to generate a Kagi chart for asset X that is an M-by-2 matrix of date numbers and asset prices.

X = [...

733299.00         41.99;...
733300.00         42.14;...
733303.00         41.93;...
733304.00         41.98;...
733305.00         41.75;...
733306.00         41.61;...
733307.00         42.29;...
733310.00         42.19;...
733311.00         41.82;...
733312.00         41.93;...
733313.00         41.81;...
733314.00         41.37;...
733317.00         41.17;...
733318.00         42.02]

kagi(X)
X =

   1.0e+05 *

    7.3330    0.0004
    7.3330    0.0004
    7.3330    0.0004
    7.3330    0.0004
    7.3331    0.0004
    7.3331    0.0004
    7.3331    0.0004
    7.3331    0.0004
    7.3331    0.0004
    7.3331    0.0004
    7.3331    0.0004
    7.3331    0.0004
    7.3332    0.0004
    7.3332    0.0004

See Also

| | | | | | | |

Was this topic helpful?