Dundas Chart for ASP.NET
Renko Chart
See Also Send comments on this topic.
Chart Types > Enterprise Edition Chart Types > Renko Chart



Glossary Item Box

Overview

Enterprise Edition Only Feature.

The Renko charting method is thought to have acquired its name from Renga, a Japanese word for bricks. Renko charts isolate the underlying price trends by filtering out minor price changes. These charts can be very useful for determining major trend lines, or support and resistance levels.

Basic trend reversals are signaled with the emergence of a new color brick which depends on the choice of colors used in the series. Since the Renko chart is used as a trend following aid, there are times when Renko charts produce whip saws, giving signals near the end of short-lived trends. However, the expectation with any trend following technique is that it allows you to ride the major portion of any significant trends.

Renko charts are normally based on closing price values. However, unless otherwise specified, the value reflected in the chart will be the first YValue. You can also specify a box size that determines the minimum price change to display in the chart. The default box size is calculated from the average share price over the charted period.

 

Figure 1: A Renko chart using a box size of 1.

 

Working with Renko Charts

The following should be taken into account when working with Renko charts:

 

Note

The Renko Chart Type cannot be combined with any other Chart Types.

 

Using Custom Attributes

The Renko chart uses the custom attributes to customize the chart display, and behavior. These custom attributes include the UsedYValue, BoxSize, and CurrentBoxSize attributes. Each one of these attributes is discussed below, along with a code sample demonstrating the syntax used to set the attribute.

The UsedYValue Attribute

The UsedYValue attribute, for a Series with multiple YValues, defines a zero based index of which Y values to use. If the UsedYValue value is not specified, the Renko chart will use the first YValue, which is found at index zero.

Example

This example demonstrates how to use the UsedYValue custom attribute.

Visual Basic Copy Code
Imports Dundas.Charting.WebControl
  ...

Chart1.Series("Series1")("UsedYValue")="3"


C# Copy Code
using Dundas.Charting.WebControl;
  ...

Chart1.Series["Series1"]["UsedYValue"]="3";


 

The  BoxSize Attribute

The  BoxSize attribute defines a custom Renko box size. By default, 4% of the difference between highest and lowest price is used for the box size. Either a fixed value, for example 2.5, or a percent of price difference, like 3%, can be used.

Example

This example demonstrates how to use the BoxSize custom attribute.

Visual Basic Copy Code
Imports Dundas.Charting.WebControl
  ...

Chart1.Series("Series1")("BoxSize")="3%"


C# Copy Code
using Dundas.Charting.WebControl;
  ...

Chart1.Series["Series1"]["BoxSize"]="3%";


 

The CurrentBoxSize Attribute

The CurrentBoxSize attribute is a read-only attribute that can accessed to get the value of the calculated, or default box size. This attribute can be accessed only in customization events.

Example

This example demonstrates how to use the CurrentBoxSize custom attribute.

Visual Basic Copy Code
   
Imports Dundas.Charting.WebControl
  ...

Dim currentBoxSize As String = Chart1.Series("Series1")("CurrentBoxSize")


C# Copy Code
using Dundas.Charting.WebControl;
  ...

string currentBoxSize = Chart1.Series["Series1"]["CurrentBoxSize"];


 

The PriceUpColor Attribute

The PriceUpColor custom attribute defines the color to use in the Renko chart to display an uptrend. When a downtrend occurs, the Renko chart will use the default series color to display it. These colors may be specified using their known color names, or by RGB values (commas are escaped using the '\' character).

Example

This example demonstrates how to use the PriceUpColor custom attribute.

Visual Basic Copy Code
Imports Dundas.Charting.WebControl
  ...

Chart1.Series("Series1")("PriceUpColor"]= "White"


C# Copy Code
using Dundas.Charting.WebControl;
  ...

Chart1.Series["Series1"]["PriceUpColor"]= "White";


 

Chart Details

Number of Y values per point:

1

Number of series:

One

Support markers:

Yes

Cannot be combined with:

Doughnut, Pie, Bar

 

Custom Attributes

UsedYValue, BoxSize, PriceUpColor



 

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.