QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QwtOHLCSample Class Reference

Open-High-Low-Close sample used in financial charts. More...

#include <qwt_samples.h>

Public Member Functions

 QwtOHLCSample (double time=0.0, double open=0.0, double high=0.0, double low=0.0, double close=0.0)
 Constructor with all OHLC values.
 
QwtInterval boundingInterval () const
 Calculate the bounding interval of the OHLC values.
 
bool isValid () const
 Check if a sample is valid.
 

Public Attributes

double time
 Time of the sample, usually a number representing a specific interval - like a day.
 
double open
 Opening price.
 
double high
 Highest price.
 
double low
 Lowest price.
 
double close
 Closing price.
 

Detailed Description

Open-High-Low-Close sample used in financial charts.

Constructor & Destructor Documentation

◆ QwtOHLCSample()

QwtOHLCSample::QwtOHLCSample ( double  t = 0.0,
double  o = 0.0,
double  h = 0.0,
double  l = 0.0,
double  c = 0.0 
)
inline

Constructor with all OHLC values.

Member Function Documentation

◆ boundingInterval()

QwtInterval QwtOHLCSample::boundingInterval ( ) const
inline

Calculate the bounding interval of the OHLC values.

◆ isValid()

bool QwtOHLCSample::isValid ( ) const
inline

Check if a sample is valid.


The documentation for this class was generated from the following file: