Trading System API
3.0
Library for Simulating and Deploying Trading and Investment Strategies
|
Plots an 'open,high,low,close' series on a chart pane. More...
#include <TSCPlots.h>
Public Member Functions | |
ohlc (const tsa::variant &op, const tsa::variant &hi, const tsa::variant &lo, const tsa::variant &cl, const color &col=color::gold, size_t weight=DEFAULT_WEIGHT, bool dynamic_color=false) | |
x More... | |
ohlc (const tsa::in_stream &, const color &col=color::gold, size_t weight=DEFAULT_WEIGHT, bool dynamic_color=false) | |
x More... | |
ohlc (const tsa::instrument &, const color &col=color::gold, size_t weight=DEFAULT_WEIGHT, bool dynamic_color=false) | |
Constructor. More... | |
~ohlc (void) | |
Destructor. | |
Public Member Functions inherited from tsa::plot::plot_base | |
plot_base (void) | |
Constructor. | |
plot_base (plot_type_t _t, const tsa::variant &_v, const color &_pc, const color &_sc, size_t _w, bool _dc, int _js, bool _has_pivot, double _piv) | |
plot_base (plot_type_t _t, size_t _nv, const color &_pc, const color &_sc, size_t _w, bool _dc, int _js, bool _has_pivot, double _piv) | |
~plot_base (void) | |
Plots an 'open,high,low,close' series on a chart pane.
|
explicit |
x
Set this to true if the color changes from bar to bar.
op | Bar open price. |
hi | Bar high price. |
lo | Bar low price. |
cl | Bar close price. |
col | The bar color. |
weight | The bar weight / width. |
|
explicit |
x
_r | The in_stream object from which the o/h/l/c prices are to be taken. |
col | The bar color. |
weight | The bar weight / width. |
dynamic_color | Set this to true if the color changes from bar to bar. |
|
explicit |
Constructor.
_r | Instrument from which the o/h/l/c prices are to be taken. |
col | The bar color. |
weight | The bar weight / width. |
dynamic_color | Set this to true if the color changes from bar to bar. |