以下是通达信猎涨停源码附图(无源码的请下载附件导入)
CN1:=HHV(V,5);
CN2:=O>C;
CN02:=C>O;
CN03:=C=O;
CN04:=((SUM(V,1)/CN1));
CN05:=IF(CN04>0.3,1,0);
CN06:=IF(CN2 AND CN05,V,0);
CN07:=IF(CN02 AND CN05,V,0);
CN08:=IF(CN03 AND CN05,V,0);
AD:SUM(CN07,9),COLORYELLOW;
DA:=SUM(CN06,4);
AZ:(AD-DA),COLOR0000FF;AF:=AZ=AD;
0,COLORGRAY;
DRAWICON(AD=AZ,0,1);
猎涨停:AD=AZ;
713111309.png
|