56 double v,
double min,
double max ):
73 return !( *
this == other );
125 return !( *
this == other );
132 for (
int i = 0; i <
set.size(); i++ )
151 double open = 0.0,
double high = 0.0,
152 double low = 0.0,
double close = 0.0 );
156 bool isValid()
const;
188 double o,
double h,
double l,
double c ):
228 minY = qMin( minY,
high );
229 minY = qMin( minY,
low );
230 minY = qMin( minY,
close );
233 maxY = qMax( maxY,
high );
234 maxY = qMax( maxY,
low );
235 maxY = qMax( maxY,
close );
244 double vx = 0.0,
double vy = 0.0 );
247 double vx = 0.0,
double vy = 0.0 );
261 double posX,
double posY,
double vectorX,
double vectorY ):
270 const QPointF &
pos,
double vectorX,
double vectorY ):
280 return QPointF(
x,
y );
285 return (
vx == 0.0 ) && (
vy == 0.0 );
Open-High-Low-Close sample used in financial charts.
enum MQTTPropertyCodes value
QwtInterval boundingInterval() const
Calculate the bounding interval of the OHLC values.
constexpr bool operator!=(const optional< T > &lhs, const optional< U > &rhs)
relop
bool operator==(fp x, fp y)
A class representing an interval.
double open
Opening price.
bool operator!=(const QwtSetSample &other) const
Compare operator.
double high
Highest price.
A sample of the types (x1...xn, y) or (x, y1..yn)
bool operator==(const QwtIntervalSample &) const
Compare operator.
QwtVectorFieldSample(double x=0.0, double y=0.0, double vx=0.0, double vy=0.0)
double close
Closing price.
A sample of the types (x1-x2, y) or (x, y1-y2)
bool operator!=(const QwtIntervalSample &) const
Compare operator.
bool isValid() const
Check if a sample is valid.
QwtOHLCSample(double time=0.0, double open=0.0, double high=0.0, double low=0.0, double close=0.0)
bool operator==(const QwtSetSample &other) const
Compare operator.
QVector< double > set
Vector of values associated to value.
QwtInterval interval
Interval.