K, K-line, Candle Candlestick.
T, Technical Analysis, Tools Platform
L, formula Language language using c++14, Lite compact and easy.
Project Warehouse:/bbqz007/KTL
Domestic warehouse:/bbqz007/KTL
Currently 0.9.2 new features are based on QCharts and Tom Tom mdt data files.
1. Data analysis tools, add QCharts to the K chart preview Tom Tom Daily file.
2. New graphical analysis tools.
2.1 Parse the Tom Tom Daily Market Panorama data mdt file.
2.2 Provide daily star charts of panoramic data.
2.3 Provide a large pie chart of the daily distribution of ups and downs.
2.4 Provide a list of daily panoramic data with special columns of the day's K-line shape.
2.5 Provide a summary of panoramic gains in date interval segments, with special column rating patterns.
3. Find similar K-line bands using opencv via my cvtool tool.
Add a K-line preview of the TomTom daily file, purely for demonstration purposes. 20 lines of code can be used QCharts to write a K-line chart, which is only fun to demonstrate. Hold down CTRL, with the mouse you can drag the K-line chart, the slider wheel to zoom in and out of the coordinate scale.
Then there's the major new feature, Market Panorama.
The star chart (Cartesian coordinate system) has three dimensions, the horizontal coordinate amplitude and the vertical coordinate is the rise. The thickness of the dots represents the volume. With a slope of 1:1 with 1:-1 can be divided into two areas, located in the left side of the slash, said the amplitude is less than the absolute value of the increase, if it is up is a high open, if it is down is a low open. The right side of the slash, that the amplitude is greater than the absolute value of the increase, the occurrence of the highest turn low or lowest turn high. Hold down CTRL to zoom in and out of the coordinates via the mouse wheel.
The star chart (polar coordinate system) is also three dimensional, with the corner coordinates being the rise and the radius coordinates being the amplitude. The thickness of the dots represents volume. The left side represents up, the right side represents down. Near the bottom means that the rise and fall of light, near the top means that the rise and fall of fierce. The more to the outer ring amplitude, the larger, may be more exciting, the more to the inner ring is also the amplitude of the smaller there is little ups and downs. Hold down CTRL to zoom in and out of the radius coordinates with the mouse wheel. Drag left and right to adjust the position of the corner coordinates.
Volume filter that can filter out points with different levels of volume. Users can modify the code themselves to adjust the level division or change to other data such as turnover, weighting, etc. as needed.
The number of rising and falling homes. Here are 4 proportional big pie charts. All of the market's traded stocks for the day are categorized into proportional large pies by gain rank. There are ten grades from 10% to -10%. And colored from red to green. The absolute value of the size of the dark and light color. The more red rose more, the more green fell badly. The first chart is up, the following chart is compared to today's opening of the closing rate of increase, the right side of the chart is today's opening relative to yesterday's closing rate, reflecting the continuation of yesterday's market sentiment, the high opening and low opening of the distribution ratio. The lower right chart is the amplitude related, the amplitude is concentrated in a few more.
Panoramic ticker list, providing daily K-line shape columns. Drawing by symbolic text. Stocks with the same K-line shape can be categorized by sorting. The amplitude line is represented by the = sign, the open-close line is represented by the + or * sign, + indicates a close above the open, * indicates a close below the open. hl indicates the highest and lowest i.e. the direction of the chart. Drawing to the list is a horizontal lying daily K line. Double-click on the tree panoramic data file name, you can open this file panoramic data to generate star charts, pie charts, and lists.
Double-click .cod to open A shares (including SMB, Venture Tech) and double-click .mdt to open B shares.
Multi-day panorama summary list. You need to select a panorama file and open it in the right-click menu. The date of this panorama file is used as a boundary to summarize all previous files, or all subsequent files. The summary is based on the daily increase of each individual stock. And the start and end price of the date range, as well as the end gain. Finally, there is a special column, Pattern Rating. The daily gain of a stock is rated on a scale of 10% to -10% in ten levels A-J, with A-E corresponding to positive numbers and F-J corresponding to negative numbers, A being the up level and J being the down level. Finally, it is summarized and aggregated. Users can create their own rating patterns according to their needs.
after sorting
The release provides two data samples containing data from 240926 through 241111, corresponding to the current bull market data from October through November. Contains data for the June '24 bear market. Comparisons can be made.
Here is how to use my cvtool tool to find similar K lines using opencv.
Steps:
1. Save the K-plot you want to analyze as a picture with a numbered ending using a white color scheme, e.g., .
2. cvtool The name of your image match. run this command to open your image.
3. In the select window, select a segment of the K-line with the mouse box, and then double-click on the mouse wheel button to submit it.
4. The results are displayed in the match window.
5. In the match window to adjust the parameters of the algorithm, the recommended SQIFF NORMED, that is, the first bar. the second bar to adjust the threshold, the larger the value of the more erroneous results, the smaller the less or even filtered into none.
6. Spacebar opens the next numbered diagram and applies the current match.
Since the match algorithm is not based on ML, it can only be entertaining. opencv is good enough for you or not, tune it yourself.
My cvtool tool, originally used just for debugging tuning opencv parameters. The introductory address is at/bbqzsl/p/。
There must be winners and losers in investing. The stock market is a wealth redistribution tool; you have the opportunity to redistribute wealth from other people's pockets and the same opportunity to redistribute wealth to others. Winning money is not born out of thin air.
In addition, KTL is a tool that can be programmed to extend any functionality you need.
For example I provided two small features patch code in the last version.
Browse microsoft database with sqlchiper and parse protobuf data files. Details are in theReverse WeChat (VII)
End of this post.