资源描述:
《白鲨抓涨停股票公式源码》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、N21100R:=DYNAINFO(3);HH:=DYNAINFO(5);LL:=DYNAINFO(6);F:=MAX(HH-R,R-LL);FF:=F/R*100;Q4:=IF(FF<1,0.9898*R,R+F*1.01);DRAWTEXT(TIME=93100,Q4*0.995,''+BLKNAME),ALIGN4,COLORWHITE;INPUT:N(2,1,100);VAR41:=IF(DYNAINFO(7)[0ANDREF(ASKVOL(1),1)>0,BUYVOL,0);VAR42:=IF(BUYV]
2、OL>REF(ASKVOL(1),1)ANDDYNAINFO(7)=REF(ASKPRICE(1),1)ANDREF(BIDVOL(1),1)>0,BUYVOL,0);VAR42A:=IF(VAR42>0,VAR42-REF(ASKVOL(1),1),0);VAR4B:=VAR41+VAR42A;VAR51:=IF(BUYVOL>REF(ASKVOL(1),1)ANDDYNAINFO(7)>REF(ASKPRICE(1),1)ANDDYNAINFO(7)[REF(ASKVOL(1),1)+REF(AS]
3、KVOL(2),1)ANDDYNAINFO(7)=REF(ASKPRICE(2),1)ANDREF(BIDVOL(1),1)>0,BUYVOL,0);VAR52A:=IF(VAR52>0,VAR52-(REF(ASKVOL(1),1)+REF(ASKVOL(2),1)),0);VAR5B:=VAR51+VAR52A;VAR61:=IF(BUYVOL>REF(ASKVOL(1),1)+REF(ASKVOL(2),1)ANDDYNAINFO(7)>REF(ASKPRICE(2),1)ANDDYNAINFO(7)4、VOL>REF(ASKVOL(1),1)+REF(ASKVOL(2),1)+REF(ASKVOL(3),1)ANDDYNAINFO(7)=REF(ASKPRICE(3),1)ANDREF(BIDVOL(1),1)>0,BUYVOL,0);VAR62A:=IF(VAR62>0,VAR62-(REF(ASKVOL(1),1)+REF(ASKVOL(2),1)+REF(ASKVOL(3),1)),0);VAR6B:=VAR61+VAR62A;VARA2:=IF(SELLVOL>REF(BIDVOL(1),1)ANDDYNAINFO(7)=REF(BIDPRICE(1),1)ANDREF(ASKVO
5、L(1),1)>0,SELLVOL,0);VARAA:=IF(VARA2>0,SELLVOL-REF(BIDVOL(1),1),0);VARB1:=IF(SELLVOL>REF(BIDVOL(1),1)ANDDYNAINFO(7)[REF(BIDPRICE(2),1),SELLVOL,0);VARB2:=IF(SELLVOL>REF(BIDVOL(1),1)+REF(BIDVOL(2),1)ANDDYNAINFO(7)=REF(BIDPRICE(2),1)ANDREF(ASKVOL(1),1)>0,SELLVOL,0);VAR]
6、BA:=IF(VARB2>0,SELLVOL-(REF(BIDVOL(1),1)+REF(BIDVOL(2),1)),0);VARAB:=VARB1+VARBA;VARC1:=IF(SELLVOL>REF(BIDVOL(1),1)+REF(BIDVOL(2),1)ANDDYNAINFO(7)[REF(BIDPRICE(3),1),SELLVOL,0);VARC2:=IF(SELLVOL>REF(BIDVOL(1),1)+REF(BIDVOL(2),1)+REF(BIDVOL(3),1)ANDDYNAINFO(7)=REF(BI]
7、DPRICE(3),1)ANDREF(ASKVOL(1),1)>0,SELLVOL,0);VARCA:=IF(VARC2>0,SELLVOL-(REF(BIDVOL(1),1)+REF(BIDVOL(2),1)+REF(BIDVOL(3),1)),0);VARAC:=VARC1+VARCA;VARF:=IF(ASKVOL(1)[ ]