2、LOW,1);V1:=COUNT(V00,3)>=1ANDLLVBARS(LOW,3)=1ANDV03;V2:=COUNT(V00,4)>=1ANDLLVBARS(LOW,4)=2ANDV04;V3:=COUNT(V00,4)>=1ANDCOUNT(V01ORV02,4)=1ANDLLVBARS(LOW,4)=1ANDV03;V4:=COUNT(V00,5)>=1ANDCOUNT(V01ORV02,5)=2ANDLLVBARS(LOW,5)=2ANDV04;XG:CURRENTTIME>092530 AND(V1OR
3、V2ORV3ORV4) ANDSTRFIND(stkname,'ST',1)=0 ANDSTRFIND(stkname,'S',1)=0 ANDDYNAINFO(4)<>0; 通达信:XG:V1ORV2ORV3ORV4; 同花顺:XG:(V1ORV2ORV3ORV4) ANDSTRFIND(stkname,'ST',1)=0 ANDSTRFIND(stkname,'S',1); 飞狐:不用替换。 动态翻译:V00赋值:最高价<昨日最高价AND最低价<昨日最低价V01赋值:最高价<昨日最高价AND最低价>昨日最低价
4、V02赋值:最高价>昨日最高价AND最低价<昨日最低价V03赋值:最高价>昨日最高价AND最低价>昨日最低价V04赋值:2日前的最高价<最高价AND2日前的最低价<最低价AND2日前的最高价>昨日最高价AND2日前的最低价<昨日最低价V1赋值:统计3日中满足V00的天数>=1AND3日内最低价距今天数=1ANDV03V2赋值:统计4日中满足V00的天数>=1AND4日内最低价距今天数=2ANDV04V3赋值:统计4日中满足V00的天数>=1AND统计4日中满足V01ORV02的天数=1AND4日内最低价距今天数=1A
5、NDV03V4赋值:统计5日中满足V00的天数>=1AND统计5日中满足V01ORV02的天数=2AND5日内最低价距今天数=2ANDV04输出XG:(V1ORV2ORV3ORV4)确保向下笔成立后的“底分型”选股公式源码{笔底分型选股预警确保向下笔成立后的底分型}V00:=HIGH[REF(LOW,1);V02:=HIGH>REF(HIGH,1)ANDLOW][R]
6、EF(HIGH,1)ANDLOW>REF(LOW,1);V04:=REF(HIGH,2)REF(HIGH,1)ANDREF(LOW,2)[=3ANDCOUNT(V01ORV02,5)=0ANDLLVBARS(LOW,6)=1ANDHHVBARS(HIGH,6)>=5ANDV03;V2:=COUNT(V00,7)>=3ANDCOUNT(V01ORV02,6)=1ANDLLVBARS(LOW]
7、,7)=2ANDHHVBARS(HIGH,7)>=6ANDV04;V3:=COUNT(V00,7)>=3ANDCOUNT(V01ORV02,6)=1ANDLLVBARS(LOW,7)=1ANDHHVBARS(HIGH,7)>=6ANDV03;V4:=COUNT(V00,8)>=3ANDCOUNT(V01ORV02,7)<=2ANDLLVBARS(LOW,8)=2ANDHHVBARS(HIGH,8)>=7ANDV04;V5:=COUNT(V00,8)>=3ANDCOUNT(V01ORV02,7)<=2ANDLLVBAR
8、S(LOW,8)=1ANDHHVBARS(HIGH,8)>=7ANDV03;V6:=COUNT(V00,9)>=3ANDCOUNT(V01ORV02,8)<=3ANDLLVBARS(LOW,9)=2ANDHHVBARS(HIGH,9)>=8ANDV04;V7:=COUNT(V00,9)>=3ANDCOUNT(V01ORV02,8)<=3ANDL