BTC USD 81,115.0 Gold USD 4,378.12
Time now: Jun 1, 12:00 AM

mintak tolong

azrulazman

CG Top Poster Club
gem
Messages
30,843
Joined
Feb 11, 2010
Messages
30,843
Reaction score
215
Points
128
sape2 pandai wat ni.. leh ajar tak... heheheh
wat chart utk finacial punye...

Requisites
1. Develop a Microsoft Windows program in C/C++. No other language is permitted.
2. Candidate MUST NOT use any third-party plug-ins (in other words, you must code all the drawing functions and call only GDI functions such as LineTo).
3. Candidate MUST use only native Win32 (GDI) API’s (must NOT use .NET or any other API’s).
4. Candidate’s program must run under Windows 7 (any version). Ability to run under Windows XP is a bonus.
5. Candidate must submit source code with any necessary compilation requirements/instructions no later by 5.00pm, Tuesday, 29 March 2011.
You may download the free Visual Studio Express IDE/compiler here: http://www.microsoft.com/express/Downloads/

Program’s mandatory functions
1. Menu option File –> Open to prompt user for an input file using the Open File dialog box.
2. Once loaded, the program draws a candlestick chart using the data read from the file. This chart is drawn inside a window. See Chart example below.
3. The chart must include these components:
a. The candlestick series (open, high, low, close)
b. Date labels along the X-axis at the bottom
c. Value labels along the Y-axis on the right
See here for more information on candlestick chart: http://en.wikipedia.org/wiki/Candlestick_chart

Program’s bonus functions
1. Resizing the chart window automatically resizes the the chart.
2. User may use the mouse scroll wheel to zoom in and out of the chart..
3. User may click and hold the mouse button (either one) to pan the chart.
4. Drawing the Volume series as a bar chart at the bottom (not shown in example).
Candidates whose programs implementing bonus functions will receive extra points
 
yang lain tu senang je.. cuma part candlestick tu, tak pernah plak buat.
 
Back
Top
Log in Register