renko - Renko chart

Syntax

renko(X)
renko(X, threshold)

Arguments

X

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

threshold

(Optional) Specifies a threshold value for asset price. By default, threshold is set to 1.

Description

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

renko(X, threshold) plots the asset data, X, adding a new box only when the price has changed but at least the value specified by threshold.

Examples

If asset X is an M-by-2 matrix of date numbers and asset price:

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]

then the Renko chart is

renko(X)

which plots the asset prices with respect to dates.

See Also

bolling, candle, highlow, kagi, linebreak, movavg, pointfig, priceandvol, volarea

  


 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS