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:

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:

Introduced in 2010
 (8.0)