QwtOHLCSample(3)
πΈ NAME πΈ
okay so bestie, youβre reading QwtOHLCSample(3) from the Library Functions Manual, and itβs literally the Open-High-Low-Close sample used in financial charts. π
β¨ SYNOPSIS β¨
#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)
QwtInterval boundingInterval () const
bool isValid () const
QwtInterval boundingInterval () constβ calculates the bounding interval of the OHLC values. πbool isValid () constβ checks whether a sample is valid. π¦
π Public Attributes
double timedouble 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.
In financial charts, the movement of a price during a time interval is often represented by the opening/closing prices and the lowest/highest prices in that interval. slay, thatβs the whole vibe.
See also: QwtTradingChartData
Definition at line 143 of file qwt_samples.h.
π Constructor & Destructor Documentation π
QwtOHLCSample::QwtOHLCSample (double t = 0.0, double o = 0.0, double h = 0.0, double l = 0.0, double c = 0.0) [inline]
Constructor. π«Ά
Parameters
tβ time valueoβ open valuehβ high valuelβ low valuecβ close value
Definition at line 182 of file qwt_samples.h.
β Member Function Documentation β
QwtInterval QwtOHLCSample::boundingInterval () const [inline]
Calculates the bounding interval of the OHLC values. For valid samples, the limits of this interval are always low/high. periodt. π
Returns: bounding interval
See also: isValid()
Definition at line 220 of file qwt_samples.h.
bool QwtOHLCSample::isValid () const [inline]
Checks whether a sample is valid. A sample is valid when all of these checks are true:
low <= highlow <= open <= highlow <= close <= high
Returns: true when the sample is valid
Definition at line 203 of file qwt_samples.h.
π¦ Member Data Documentation π¦
double QwtOHLCSample::close
Closing price.
Definition at line 170 of file qwt_samples.h.
double QwtOHLCSample::high
Highest price.
Definition at line 164 of file qwt_samples.h.
double QwtOHLCSample::low
Lowest price.
Definition at line 167 of file qwt_samples.h.
double QwtOHLCSample::open
Opening price.
Definition at line 161 of file qwt_samples.h.
double QwtOHLCSample::time
Time of the sample, usually a number representing a specific interval β like a day.
Definition at line 158 of file qwt_samples.h.
π Author π
Generated automatically by Doxygen for Qwt User's Guide from the source code.
mwah π this one signs off with source/version Qwt User's Guide and page tag QwtOHLCSample(3) β no date in the footer, just those iconic little lines, bestie π
π¦ where this page comes from
- alpine 3.24: qwt-doc 6.3.0-r0 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms