|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
TrendStyle
TrendStyle
is an option to CandlestickChart, RenkoChart, and other financial charting functions that specifies how to style price trends.
DetailsDetails
- TrendStyle->{up, down} specifies that the up trend should be styled using the graphics directive up and down trend with the graphics directive down.
ExamplesExamplesopen allclose all
Basic Examples (6)Basic Examples (6)
TrendStyle uses green for up trends and red for down trends by default:
| In[1]:= |
| Out[1]= | ![]() |
Use black for up trends and red for down trends:
| In[1]:= |
| Out[1]= | ![]() |
| In[1]:= |
| Out[1]= | ![]() |
TrendStyle combines with ChartBaseStyle:
| In[1]:= |
| Out[1]= | ![]() |
With TrendStyle set to None, the base style is used for up trends and empty bars for down trends:
| In[1]:= |
| Out[1]= | ![]() |
TrendStyle->style uses style for up trends and empty bars for down trends:
| In[1]:= |
| Out[1]= | ![]() |
New in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »







