Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Computable Data > Finance > Financial Visualization > TrendStyle >
Mathematica > Visualization and Graphics > Charting and Information Visualization > Financial Visualization > TrendStyle >
Mathematica > Visualization and Graphics > Data Visualization > Charting and Information Visualization > Financial Visualization > TrendStyle >

TrendStyle

TrendStyle
is an option to CandlestickChart, RenkoChart, and other financial charting functions that specifies how to style price trends.
  • TrendStyle specifies that the up trend should be styled using the graphics directive up and down trend with the graphics directive down.
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:
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]=
New in 8
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF