“底分型”选股公式,可预警
“底分型”选股公式,可预警 {底分型 选股 预警} V00:= HIGHREF(HIGH,1) AND LOWREF(HIGH,1) AND LOWREF(LOW,1); V04:= REF(HIGH,2) =1 AND LLVBARS(LOW,4) = 2 AND V04; V3:= COUNT(V00,4)=1 AND COUNT(V01 OR V02,4)=1 AND LLVBARS(LOW,4) = 1 AND V03; V4:= COUNT(V00,5)=1 AND COUNT(V01 OR V02,5)=2 AND LLVBARS(LOW,5) = 2 AND V04; XG:CURRENTTIME092530 AND (V1 OR V2 OR V3 OR V4) AND STRFIND(stkname, ST ,1)=0 AND STRFIND(stkname, S ,1)=0 AND DYNAINFO(4)0; 通达信:XG: V1 OR V2 OR V3 OR V4; 同花顺:XG: (V1 OR V2 OR V3 OR V4) AND STRFIND(stkname, ST ,1)=0 AND STRFIND(stkname, S ,1); 飞狐:不用替换。 动态翻译: V00 赋值: 最高价昨日最高价 AND 最低价昨日最高价 AND 最低价昨日最低价 V04 赋值: 2 日前的最高价 =1 AND 4 日内最低价距今天数 = 2 AND V04 V3 赋值: 统计 4 日中满足 V00 的天数=1 AND 统计 4 日中满足 V01ORV02 的天数=1 AND 4 日内最低价距今天数 = 1 AND V03 V4 赋值: 统计 5 日中满足 V00 的天数=1 AND 统计 5 日中满足 V01ORV02 的天数=2 AND 5 日内最低价距今天数 = 2 AND V04 输出 XG:(V1 OR V2 OR V3 OR V4) 确保向下笔成立后的“底分型”选股公式源码 {笔底分型 选股 预警 确保向下笔成立后的底分型} V00:= HIGHREF(HIGH,1) AND LOWREF(HIGH,1) AND LOWREF(LOW,1); V04:= REF(HIGH,2) = 5 AND V03; V2:= COUNT(V00,7)=3 AND COUNT(V01 OR V02,6)=1 AND LLVBARS(LOW,7) = 2 AND HHVBARS(HIGH,7) = 6 AND V04; V3:= COUNT(V00,7)=3 AND COUNT(V01 OR V02,6)=1 AND LLVBARS(LOW,7) = 1 AND HHVBARS(HIGH,7) = 6 AND V03; V4:= COUNT(V00,8)=3 AND COUNT(V01 OR V02,7)= 7 AND V04; V5:= COUNT(V00,8)=3 AND COUNT(V01 OR V02,7)= 7 AND V03; V6:= COUNT(V00,9)=3 AND COUNT(V01 OR V02,8)= 8 AND V04; V7:= COUNT(V00,9)=3 AND COUNT(V01 OR V02,8)= 8 AND V03; V8:= COUNT(V00,10)=3 AND COUNT(V01 OR V02,9)= 9 AND V04; V9:= COUNT(V00,10)=3 AND COUNT(V01 OR V02,9)= 9 AND V03; V10:= COUNT(V00,11)=3 AND COUNT(V01 OR V02,10)= 10 AND V04; XG:CURRENTTIME092530 AND (V1 OR V2 OR V3 OR V4 OR V5 OR V6 OR V7 OR V8 OR V9 OR V10) AND STRFIND(stkname, ST ,1)=0 AND STRFIND(stkname, S ,1)=0 AND DYNAINFO(4)0; 通达信:XG: V1 OR V2 OR V3 OR V4 OR V5 OR V6 OR V7 OR V8 OR V9 OR V10; 同花顺:XG: (V1 OR V2 OR V3 OR V4 OR V5 OR V6 OR V7 OR V8 OR V9 OR V10) AND STRFIND(stkname, ST ,1)=0 AND STRFIND(stkname, S ,1)=0 ; 飞狐:不用替换。 语句解释: V00 赋值: 最高价昨日最高价 AND 最低价昨日最高价 AND 最低价昨日最低价 V04 赋值: 2 日前的最高价 = 5 AND V03 V2 赋值: 统计 7 日中满足 V00 的天数=3 AND 统计 6 日中满足 V01ORV02 的天数=1 AND 7 日内最低价距今天数 = 2 AND 7 日内最高价距今天数 = 6 AND V04 V3 赋值: 统计 7 日中满足 V00 的天数=3 AND 统计 6 日中满足 V01ORV02 的天数=1 AND 7 日内最低价距今天数 = 1 AND 7 日内最高价距今天数 = 6 AND V03 V4 赋值: 统计 8 日中满足 V00 的天数=3 AND 统计 7 日中满足 V01ORV02 的天数= 7 AND V04 V5 赋值: 统计 8 日中满足 V00 的天数=3 AND 统计 7 日中满足 V01ORV02 的天数= 7 AND V03 V6 赋值: 统计 9 日中满足 V00 的天数=3 AND 统计 8 日中满足 V01ORV02 的天数= 8 AND V04 V7 赋值: 统计 9 日中满足 V00 的天数=3 AND 统计 8 日中满足 V01ORV02 的天数= 8 AND V03 V8 赋值: 统计 10 日中满足 V00 的天数=3 AND 统计 9 日中满足 V01ORV02 的天数= 9 AND V04 V9 赋值: 统计 10 日中满足 V00 的天数=3 AND 统计 9 日中满足 V01ORV02 的天数= 9 AND V03 V10 赋值: 统计 11 日中满足 V00 的天数=3 AND 统计 10 日中满足 V01ORV02 的天数= 10 AND V04 输出 XG:V1 OR V2 OR V3 OR V4 OR V5 OR V6 OR V7 OR V8 OR V9 OR V10 顶分型预警公式源码 顶分型 预警} V00:= HIGHREF(HIGH,1) AND LOWREF(LOW,1); V01:= HIGH LOW AND REF(HIGH,2) REF(HIGH,1) AND REF(LOW,2) =2 AND HHVBARS(HIGH,4) = 1 AND V01; V2:= COUNT(V00,5)=2 AND HHVBARS(HIGH,5) = 2 AND V02; V3:= COUNT(V00,5)=2 AND HHVBARS(