源码简介: |
大智慧买股简单的事情,华尔街选股生命线_DLL 会用的是宝贝-// FxjFunc.cpp : Defines the entry point for the DLL application.//#include "stdafx.h"#include "FxjFunc.h"#include<math.h>BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ){ switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: case DLL_THREAD_ATTACH: case DLL_THREAD_DETACH: case DLL_PROCESS_DETACH: break } return TRUE }//计算收盘价的均价,一个常数参数,表示计算周期//调用方法:// MYMACLOSE(5)__declspec(dllexport) int WINAPI A(CALCINFO* pData){ #define cc(i) pData->m_pData.m_fClose int nPeriod=10,i float x05=0.5f,x40=4.0f,xx50=-5.0f,x100=10.0f float z10,z20,z2c,z24,z14,z30,zx float f2 int dd=pData->m_nNumData+10 float*qa1,*qa2,*qa3 qa1=new > Downloads > 源码/资料 > *行业应用
|