FX.HPP
上传用户:bjghjy
上传日期:2007-01-07
资源大小:379k
文件大小:1k
- #define FX_TYPE_MACD 0
- #define FX_TYPE_RSI 1
- #define FX_TYPE_DMI 2
- #define FX_TYPE_PSY 3
- #define FX_TYPE_VR 4
- #define FX_TYPE_JLT 5
- #define FX_TYPE_K 6
- #define FX_TYPE_KD 7
- typedef struct tag_FX_SETS
- {
- int ma[3];
- COLORREF colors[3];
- }FX_SETS, FAR *LPFX_SETS;
- typedef struct tag_FX
- {
- int type;
- int gpRecNum;
- int recFirst;
- RECT rc;
- int xTitle[3];
- FX_SETS sets;
- COLORREF colors[3];
- }FX, FAR *LPFX;
- typedef struct tag_DAY_DATA
- {
- long day;
- float kpjg, spjg, zgjg, zdjg;
- long cjss;
- double cjje;
- }DAY_DATA, FAR *LPDAY_DATA;
- typedef struct tag_FX_DATAS
- {
- int recCount;
- LPDAY_DATA lpData;
- }FX_DATAS, FAR *LPFX_DATAS;
- extern FX_DATAS FxDatas;
- BOOL RegisterFx(void);
- int DrawFx(HWND, HDC, LPFX);
- FAR PASCAL DrawDmi(HWND, HDC hDc,LPFX Fx);
- FAR PASCAL DrawVr(HWND, HDC hDc,LPFX Fx);
- FAR PASCAL DrawRsi(HWND, HDC hDc,LPFX Fx);
- FAR PASCAL DrawPsy(HWND, HDC hDc,LPFX Fx);
- FAR PASCAL DrawMacd(HWND, HDC hDc,LPFX Fx);