|
The LibMaster.com StockChart library is assigned for representation of stock charts.
The LibMaster.com StockChart library:
- allows you to add the representation support of stock charts in your program easily;
- supports three formats of stock charts representation: candlestick, bar chart and line chart;
- allows to resize the represented chart, to change the size of the window;
- provides autoadjustments during the window size changes for more convenient viewing the visible part of the chart;
- allows to set colors of all represented chart elements;
- allows to load data for representation from text file and stream, and to save data in file or stream;
- requires minimum work resources, has high drawing speed;
- the LibMaster.com StockChart library is supplied as a static-link library (LIB) and dynamic-link library (DLL);
- supports all versions of popular C++ compilers for Windows;
- developed on the base of ANSI C++ standard and Windows API, without use of third-party libraries;
- LIB/DLL version is supplied with free open-source wrappers for all popular GUI libraries such as MFC, ATL, WTL;
- supports all versions of OS Windows;
- the LibMaster.com StockChart library is supplied with full source code for the registered users;
- the LibMaster.com StockChart library is free for noncommercial using;
- all versions and updates is free for registered users;
- technical support during the product lifetime.
The LibMaster.com StockChart library is assigned for stock charts representation.
It allows you to add stock chart representation support in your program easily (see user examples) .
The LibMaster.com StockChart library
supports three most popular formats of stock charts representation: candlestick,
bar chart and line chart. A support of all possible formats of stock charts
representation will be accessible in following versions.
The LibMaster.com StockChart library automatically changes chart scale, when user changes window size or time axis (absciss) resolution.
Smooth scaling is distinctive feature of LibMaster.com StockChart library.
At the scaling, size changing or chart shifting to the right or to the left
by the user, the chart sizes automatically changes for more convenient viewing.
The axis of ordinates automatically changes its scale according to maximum
and minimum of displaying part of the chart. It makes chart always visible
for user.
All represented elements of the chart are easily adjusted. User can change:
- thickness, type and color of the lines which represents axis (horizontal and vertical);
- thickness, type and color of coordinate grid lines;
- thickness, type and color of chart lines and lines for bars and candlestick drawing;
- painted candlestick color.
The LibMaster.com StockChart library
allows to load data for representation from text file and stream, and save
data in file or stream (see below text file format). Stream data has such
format as data in text file. File using allows to save data in file and load
data from file, as well as add or insert data from text file in any part
of the chart. The streams gives convenient possibility for fast chart representation
data adding from any source. User can easily add data from data bases, memory
and remote servers.With the help of streams it is easy to abstract from data
transfer protocols and devices types.
The LibMaster.com StockChart library developed on the base of ANSI C++ and Windows API,
and so can be made by any compiler supporting ANSI C++ standard and which is capable of assembling of executable units.
At the present moment the work of the library assembled with use:
- Microsoft Visual C++ 6.0
- Intel C++ 6.0
- Borland C++ Builder 6.0
was tested. All versions of static and dynamic libraries as well as wrappers
and examples of using for this compilers you can get from page downloads.
The LibMaster.com StockChart library draws graphic on device context
with the use of GDI function without using of third-party libraries what
allows to draw smooth, without blinking, and requires minimum mashine time. The LibMaster.com StockChart library
draws graphic on device context without using windows what allows to draw charts on any equipment having device context.
Since LibMaster.com StockChart library automatically scales using coordinates of device context there will be no
problems with the scaling regardless of output device resolution.
For users who draws charts in windows there is no need to gain an understanding of chart drawing. There are handly wrappers
which use high-level interface and base on windows classes of the most popular GUI for Windows libraries.
At present you can get wrappers for MFC, ATL, WTL.
Wrappers supplied completely with the open-source code in all
supply variants, what lets you to work in usual library environment, to
build in stock charts supply in your application handly, to increase wrapper
class functionality by any method: by generating of filial classes from
wrapper class or by changing source code of wrapper class; and to study
work detailes of LibMaster.com StockChart library on examples of source code.
The LibMaster.com StockChart library works on all OS Windows versions supported by Microsoft company.
The LibMaster.com StockChart library is supplied with full source code for registered users.
After completing an agreement for developing can be made custom
version of stock chart library for personal customer on the base of LibMaster.com StockChart library.
All versions and updates of LibMaster.com StockChart library are free for registered users.
LibMaster.com provides technical support during the product lifetime and information about new versions for all registered users.
Text file format
The text file consist from such format lines:
<symbol>, <date>, <time>, <open quotation>,
<high quotation>, <low quotation>, <close quotation>
<date> has next format: YYYYMMDD (where the months and the days are counted out from zero)
<time> has next format: HHMMSS (where the hours and the second are counted out from zero)
The example of the text file content:
EURUSD,20021009,045800,0.9797,0.9800,0.9794,0.9796
EURUSD,20021009,045800,0.9797,0.9800,0.9794,0.9796
EURUSD,20021009,045900,0.9795,0.9800,0.9793,0.9795
EURUSD,20021009,050000,0.9796,0.9799,0.9793,0.9795
EURUSD,20021009,050100,0.9795,0.9799,0.9793,0.9796
EURUSD,20021009,050200,0.9796,0.9800,0.9794,0.9797
EURUSD,20021009,050300,0.9797,0.9799,0.9793,0.9795
EURUSD,20021009,050400,0.9794,0.9797,0.9792,0.9794
Example of ATL SDI application with LibMaster.com StockChart library >>
Example of MFC MDI application with LibMaster.com StockChart library >>
Another example of MFC MDI application with LibMaster.com StockChart library >>
|