MA13:=MA(C,13);
MA34:=EMA(C,34);
MA55:=EMA(C,55);
RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K:=MA(RSV,2.5);
D:=MA(K,2.5);
J:=3*K-2*D;
JJ:=J<20;
强势回调:=REF(J,1)<20 AND EMA(C,13)>REF(EMA(C,13),1) AND NOT(JJ);
QH:=REF(H,2);
QL:=REF(L,2);
QO:=REF(O,2);
QC:=REF(C,2);
ZO:=REF(O,1);
ZC:=REF(C,1);
JYZHK:= ABS(QO-QC)/QO<0.02 AND ZO/ZC>1.03 AND ABS(O-C)/O<0.02 AND C>MA(C,30);
JYZHV:=V<REF(V,1) ;
金印选股:=JYZHK AND JYZHV;
ST:=(CLOSE/OPEN-1)*100;
Z,:=(C/REF(C,1)-1)*100;
SX1:=ST>3 AND ST=HHV(ST,6);
SX2:=Z,>3 AND Z,=HHV(Z,,6);
SX3:=Z,>=9 AND CLOSE=HIGH;
烧香:=IF(SX1 OR SX2 OR SX3,1,0);
DYSJ:=BARSLAST(烧香);
跟踪:=IF(DYSJ<=13 AND COUNT(C>REF(L,DYSJ),DYSJ)>=DYSJ-1,DYSJ,0);
BBB:=BETWEEN(跟踪,4,9);
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
主力:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,19))/210;
WY1001:=(2*CLOSE+HIGH+LOW)/4;
WY1002:=EMA(WY1001,3);
WY1003:=EMA(WY1002,3);
WY1004:=EMA(WY1003,3);
XYS0:=(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;
XYS2:=MA(XYS0,1);
生命线:=EMA(CLOSE,453);
选股: (强势回调 OR (金印选股 OR REF(金印选股,1))) AND BBB AND (C-O)>=0 AND C/REF(C,1)<=1.02 AND C/REF(C,1)>=0.99 AND (C>=EMA(C,13) OR (C<EMA(C,13) AND 短期=中期))
AND 主力>REF(主力,1) AND REF(XYS2,2)>0
AND C>生命线;
MA13:=MA(C,13);
MA34:=EMA(C,34);
MA55:=EMA(C,55);
RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K:=MA(RSV,2.5);
D:=MA(K,2.5);
J:=3*K-2*D;
JJ:=J<20;
强势回调:=REF(J,1)<20 AND EMA(C,13)>REF(EMA(C,13),1) AND NOT(JJ);
QH:=REF(H,2);
QL:=REF(L,2);
QO:=REF(O,2);
QC:=REF(C,2);
ZO:=REF(O,1);
ZC:=REF(C,1);
JYZHK:= ABS(QO-QC)/QO<0.02 AND ZO/ZC>1.03 AND ABS(O-C)/O<0.02 AND C>MA(C,30);
JYZHV:=V<REF(V,1) ;
金印选股:=JYZHK AND JYZHV;
ST:=(CLOSE/OPEN-1)*100;
Z,:=(C/REF(C,1)-1)*100;
SX1:=ST>3 AND ST=HHV(ST,6);
SX2:=Z,>3 AND Z,=HHV(Z,,6);
SX3:=Z,>=9 AND CLOSE=HIGH;
烧香:=IF(SX1 OR SX2 OR SX3,1,0);
DYSJ:=BARSLAST(烧香);
跟踪:=IF(DYSJ<=13 AND COUNT(C>REF(L,DYSJ),DYSJ)>=DYSJ-1,DYSJ,0);
BBB:=BETWEEN(跟踪,4,9);
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
主力:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,19))/210;
WY1001:=(2*CLOSE+HIGH+LOW)/4;
WY1002:=EMA(WY1001,3);
WY1003:=EMA(WY1002,3);
WY1004:=EMA(WY1003,3);
XYS0:=(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;
XYS2:=MA(XYS0,1);
生命线:=EMA(CLOSE,453);
选股: (强势回调 OR (金印选股 OR REF(金印选股,1))) AND BBB AND (C-O)>=0 AND C/REF(C,1)<=1.02 AND C/REF(C,1)>=0.99 AND (C>=EMA(C,13) OR (C<EMA(C,13) AND 短期=中期))
AND 主力>REF(主力,1) AND REF(XYS2,2)>0
AND C>生命线;