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:

Wolfram Research (2010), TrendStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/TrendStyle.html.

Text

Wolfram Research (2010), TrendStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/TrendStyle.html.

CMS

Wolfram Language. 2010. "TrendStyle." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TrendStyle.html.

APA

Wolfram Language. (2010). TrendStyle. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TrendStyle.html

BibTeX

@misc{reference.wolfram_2023_trendstyle, author="Wolfram Research", title="{TrendStyle}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/TrendStyle.html}", note=[Accessed: 18-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_trendstyle, organization={Wolfram Research}, title={TrendStyle}, year={2010}, url={https://reference.wolfram.com/language/ref/TrendStyle.html}, note=[Accessed: 18-March-2024 ]}