以下是大智慧分时资金异动源码
大智慧分时资金异动源码
分时资金异动源码,需要自己手动添加到夏卫东老师的分时超赢源码底下,别说不能用,如果不能用,肯定是你的数据不全,请先下载数据
源码
ZLB:=SUM((ORDERVOL(1,2)/CAPITAL*100),0);
ZLS:=SUM((ORDERVOL(2,2)/CAPITAL*100),0);
主增:=ZLB-ZLS;
TDB:=SUM((ORDERVOL(1,3)/CAPITAL*100),0);
TDS:=SUM((ORDERVOL(2,3)/CAPITAL*100),0);
超增:=TDB-TDS;
DDB:=SUM(((ORDERVOL(1,2)/CAPITAL*100-ORDERVOL(1,3)/CAPITAL*100)),0);
DDS:=SUM(((ORDERVOL(2,2)/CAPITAL*100-ORDERVOL(2,3)/CAPITAL*100)),0);
大增:=DDB-DDS;
ZDB:=SUM(((ORDERVOL(1,1)/CAPITAL*100-ORDERVOL(1,2)/CAPITAL*100)),0);
ZDS:=SUM(((ORDERVOL(2,1)/CAPITAL*100-ORDERVOL(2,2)/CAPITAL*100)),0);
中增:=ZDB-ZDS;
XDB:=SUM(((VOL-ORDERVOL(1,1))/CAPITAL*100),0);
XDS:=SUM(((VOL-ORDERVOL(2,1))/CAPITAL*100),0);
散增:=XDB-XDS;
DZ3:=大增-REF(大增,3);
CZ3:=超增-REF(超增,3);
DZ1:=大增-REF(大增,1);
CZ1:=超增-REF(超增,1);
ZS3:=DZ3+CZ3;
ZS1:=DZ1+CZ1;
ZS33:=ZS3>0.1;
ZS11:=ZS1>0.05;
异动:=ZS33 AND ZS11;
DRAWICON(异动,C,11);
评论(0)