Chart for .NET > User's Guide > Chart Types > Renko > Renko |
Renko charts display series of white and black boxes (bricks) to illustrate general price movement and trend reversals. A Renko chart is constructed by placing a brick in the next column once the price surpasses the top or bottom of the previous brick by a predefined amount. White bricks are used when the direction of the trend is up, black bricks are used when the trend is down. All bricks are equal in size. This type of chart helps traders to identify key support/resistance levels. The following figure displays a Renko chart.
Figure 1.
To display a Renko chart you have to create an instance of the NRenkoSeries type and add it to the series collection of a Cartesian chart.
![]() |
Renko series can be displayed only in 2D mode only. |
C# |
Copy Code
|
---|---|
// obtain a reference to the Cartesian chart that is created by default NChart chart = chartControl.Charts[0]; // create a Renko series NRenkoSeries series = new NRenkoSeries(); // add the series to the chart series collection chart.Series.Add(series); |
Visual Basic |
Copy Code
|
---|---|
' obtain a reference to the Cartesian chart that is created by default Dim chart As NChart = chartControl.Charts(0) ' create a Renko series Dim series As New NRenkoSeries ' add the series to the chart series collection chart.Series.Add(series) |
Once the Renko series is created you can add some data in it. Renko series use the Values data series for price values and the XValues data series for date-time values associated with the prices. The date-time values are used only for annotation of the X axis and do not influence the actual X positions of the data points.
Please note, that Renko chart transforms the data before displaying it and there is no direct correspondence between values and displayed data points.