Hi Everyone
I've transformed lists of strings to be appropriate for TradingChart {{{YYYY, MM, DD}, {O, H, L,C,V}}......} and made some changes with a function for plotting
these data:
ClearAll
strzala[{{xmin_, xmax_}, {ymin_, ymax_}}, {o_, h_, l_, c_},
metoda_] := {Line[{{(xmin + xmax)/2, o}, {(xmin + xmax)/2, c}}],
Line[{{{xmin, o}, {(xmin + xmax)/2, o}, {(xmin + xmax)/2,
If[o < c, l, h]}}, {{xmax, c}, {(xmin + xmax)/2,
c}, {(xmin + xmax)/2, If[o < c, h, l]}}}]}
CandlestickChart[list, Axes -> True, GridLines -> Automatic,
AspectRatio -> 0.4, ImageSize -> 440, BarSpacing -> Automatic,
TrendStyle -> {Green, Red}, ChartBaseStyle -> AbsoluteThickness[1],
ChartElementFunction -> strzala, PlotLabel -> "Moja wersja",
BaseStyle -> {FontFamily -> "Helvetica"}]
However, I'd like to add a subplot, which contains date for volume (v) taken from the lists, and it is welded in that way like
TradingChart[list]
. And I do not know how to achieve this.