TrendStyle

TrendStyle

is an option to CandlestickChart, RenkoChart, and other financial charting functions that specifies how to style price trends.

Details

  • TrendStyle->{up,down} specifies that the up trend should be styled using the graphics directive up and down trend with the graphics directive down.

Examples

Basic Examples  (6)

TrendStyle uses green for up trends and red for down trends by default:

In[1]:=
Click for copyable input
Out[1]=

Use black for up trends and red for down trends:

In[1]:=
Click for copyable input
Out[1]=

Use named styles:

In[1]:=
Click for copyable input
Out[1]=

TrendStyle combines with ChartBaseStyle:

In[1]:=
Click for copyable input
Out[1]=

With TrendStyle set to None, the base style is used for up trends and empty bars for down trends:

In[1]:=
Click for copyable input
Out[1]=

TrendStyle->style uses style for up trends and empty bars for down trends:

In[1]:=
Click for copyable input
Out[1]=

See Also

CandlestickChart  TradingChart  InteractiveTradingChart  KagiChart  RenkoChart  PointFigureChart  LineBreakChart  ChartBaseStyle

Introduced in 2010
(8.0)