This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


makes a Renko chart with prices at date .
makes a Renko chart of closing prices for the financial entity over the date range daterange.
makes a Renko chart with brick height of fraction s of the average price.
  • RenkoChart displays as a sequence of bricks and is used to track price movement; neither time nor volume is included.
  • A Renko chart is drawn as a series of fixed-height bricks. A brick is drawn in a new column when the price rises above the top of the previous brick, or drops below the bottom of the previous brick, by a fixed amount.
  • RenkoChart[...] is equivalent to RenkoChart for a brick height of 10% of the high minus low price range.
  • The following arguments can be used to specify the brick height s:
{"Relative",p}fraction of high minus low price (default)
{"Absolute",p}absolute price change
  • The dates are considered an ordered sequence of events, and are not shown on an absolute time scale.
  • Data elements for RenkoChart can be given in the following forms:
{datei,pi}a pure date-price pair
wi[{datei,pi},...]a date-price pair and wrapper
formi->mia date-price pair with metadata
  • A brick may represent several date-price pairs and the corresponding wrappers will apply to the entire brick.
  • Data not given in these is taken to be missing, and typically is excluded when generating the chart.
  • Data for RenkoChart can be given in the following forms:
{e1,e2,...}list of elements with or without wrappers
w[{e1,e2,...}]wrapper applied to the whole data
  • The following wrappers can be used for data elements:
Annotation[e,label]provide an annotation
Button[e,action]define an action to execute when the element is clicked
EventHandler[e,...]define a general event handler for the element
Hyperlink[e,uri]make the element act as a hyperlink
Labeled[e,...]display the element with labeling
PopupWindow[e,cont]attach a popup window to the element
StatusArea[e,label]display in the status area when the element is moused over
Style[e,opts]show the element using the specified styles
Tooltip[e,label]attach an arbitrary tooltip to the element
Top,Bottom,Left,Right,Centerpositions within bricks
Above, Below, Before, Afterpositions outside bricks
{{bx,by},{lx,ly}}scaled position in the label at scaled position in the brick
AspectRatio1/GoldenRatiooverall ratio of width to height
AxesTruewhether to draw axes
ChartBaseStyleAutomaticoverall style for bricks
ChartElementFunctionAutomatichow to generate raw graphics for bricks
ChartElementsAutomaticgraphics to use in each of the bricks
DateFunctionAutomatichow to convert dates to standard form
EventLabelsNoneevents to label
GridLinesAutomaticgrid lines to draw
GridLinesStyleAutomaticstyle for grid lines
PerformanceGoal$PerformanceGoalaspects of performance to try to optimize
TrendStyleAutomatichow to style up and down trends
ScalingFunctionsNonehow to scale the axis
  • The arguments supplied to ChartElementFunction are the brick region , the date-price pairs list, and metadata .
  • With the setting ChartElements, up and down will be used for up and down bricks, respectively.
  • EventLabels specifies a label associated with . The label will be displayed with the brick that has a date range that includes .
  • Style and other specifications from options and other constructs in RenkoChart are effectively applied in the order TrendStyle, Style and other wrappers, and ChartElementFunction, with later specifications overriding earlier ones.
Chart the prices from a list of values:
Use three months of prices from FinancialData entities:
Specify a date range:
Chart the prices from a list of values:
Click for copyable input
Click for copyable input
Use three months of prices from FinancialData entities:
Click for copyable input
Specify a date range:
Click for copyable input
Automatically get quarterly data for a financial entity:
Get data for a specific date range:
Get data from FinancialData:
Brick size by default is a fraction of the price range:
Specify brick sizes as a fraction of the price range:
Use absolute brick sizes:
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:
Specify styles for up and down trends:
Use preset styles:
ChartBaseStyle can be used to set a style for all chart elements:
Style can be used to override styles:
Use built-in programmatically generated bars:
Use Labeled to add a label to a bar:
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:
Use the default axes:
Turn off the axes:
Axes origin is on the left by default:
Place the axis at the end of February:
Use named positions for the axis:
Use ChartBaseStyle to apply overall styles for the bricks:
Add gray edges to the bricks:
ChartBaseStyle combines with TrendStyle:
TrendStyle may override the settings for ChartBaseStyle:
Style overrides the settings for ChartBaseStyle:
Use any Graphics object for the bricks:
Use different markers for up and down trends:
Graphical elements pick up the style from TrendStyle:
Use images for the bars:
Chart elements are sized to fill the bricks:
Use explicit sizes for width and height:
Get a list of built-in settings for ChartElementFunction:
These examples of ChartElementFunction show the global scale:
Write a custom ChartElementFunction:
Label a date event:
Use Placed to control label placement:
Use Placed to control label appearance:
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:
By default GridLinesStyle uses dotted grid lines with emphasized year grid lines:
Style grid lines:
Generate a RenkoChart with interactive highlighting:
Emphasize performance by disabling interactive behaviors:
Typically, less memory is required for non-interactive charts:
RenkoChart automatically draws all price dates:
Limit to a specific date range:
PlotRange only includes dates for which there is data:
Prices are normally shown on a linear scale:
Show prices on a logarithmic scale:
TrendStyle uses green for up trends and red for down trends by default:
Use black for up trends and red for down trends:
Use named styles:
TrendStyle combines with ChartBaseStyle:
With TrendStyle set to None, the base style is used for up trends and empty bars for down trends:
TrendStyle->style uses style for up trends and empty bars for down trends:
Larger brick sizes filter out more noise:
RenkoChart only shows time periods with significant changes 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 KagiChart to analyze the relation of financial prices and time:
Use DateListPlot to visualize financial data:
New in 8