New in Wolfram
Mathematica
8: Financial Visualization
◄
previous
|
next
►
Graphics & Visualization
Use OHLC Markers to View Prices
Use open-high-low-close markers to show 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.2, ChartElementFunction -> "OHLC", ChartBaseStyle -> Directive[AbsoluteThickness[8]], Frame -> {Left, Right, Top}, FrameTicks -> {{True, True}, {False, False}}, Axes -> {True, False}, PlotRangePadding -> {None, {Scaled[0], Scaled[0.04]}}]
Out[2]=