New in Wolfram
Mathematica
8: Financial Visualization
◄
previous
|
next
►
Graphics & Visualization
Use Candlesticks to View Prices
Use candlesticks to show open, high, low, and close prices for a stock.
In[1]:=
X
data = FinancialData["MSFT", "OHLC", {{2010, 1}, {2010, 1, 15}}];
In[2]:=
X
CandlestickChart[data, ImageSize -> 500, BarSpacing -> 0.3, ChartElementFunction -> "GlassCandlestick", ChartBaseStyle -> AbsoluteThickness[5], Frame -> {Left, Right, Top}, FrameTicks -> {{True, True}, {False, False}}, Axes -> {True, False}, PlotRangePadding -> {None, {Scaled[0], Scaled[0.04]}}]
Out[2]=