「翔博精选指标」顶分型+选股+预警指标
2021-11-17原创 编 辑:翔博软件
V00:= HIGH>REF(HIGH,1) AND LOW>REF(LOW,1);
V01:= HIGH<REF(HIGH,1) AND LOW<REF(LOW,1);
V02:= REF(HIGH,2) > HIGH AND REF(LOW,2) > LOW AND REF(HIGH,2) > REF(HIGH,1) AND REF(LOW,2) < REF(LOW,1);
V1:= COUNT(V00,4)>=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(HIGH,5) = 1 AND V01;
V4:= COUNT(V00,6)>=2 AND HHVBARS(HIGH,6) = 2 AND V02;
V01:= HIGH<REF(HIGH,1) AND LOW<REF(LOW,1);
V02:= REF(HIGH,2) > HIGH AND REF(LOW,2) > LOW AND REF(HIGH,2) > REF(HIGH,1) AND REF(LOW,2) < REF(LOW,1);
V1:= COUNT(V00,4)>=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(HIGH,5) = 1 AND V01;
V4:= COUNT(V00,6)>=2 AND HHVBARS(HIGH,6) = 2 AND V02;
XG: V1 OR V2 OR V3 OR V4;