Trading System API  3.0
Library for Simulating and Deploying Trading and Investment Strategies
tsa::plot::marker Class Reference

Simply plots a 'marker' which is a shape. More...

#include <TSCPlots.h>

Inheritance diagram for tsa::plot::marker:
tsa::plot::plot_base

Public Member Functions

 marker (marker_t type, variant y_value, const color &color=color::auto_color, size_t weight=DEFAULT_WEIGHT)
 x More...
 
 ~marker (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)
 

Detailed Description

Simply plots a 'marker' which is a shape.

Constructor & Destructor Documentation

tsa::plot::marker::marker ( marker_t  type,
variant  y_value,
const color color = color::auto_color,
size_t  weight = DEFAULT_WEIGHT 
)
explicit

x

Parameters
typeThe type of marker.
y_valueThe y_value (e.g. price) of where the market will be drawn.
colorThe color of the marker.
weightThe weight of the marker