通达信指标:=EMA(CLOSE,6)-EMA(CLOSE,13);
源码大全:=EMA(通达信指标,20);
sfdfee7:=HHV(通达信指标,20);
sfdfee8:=LLV(通达信指标,20);
sfdfee9:=REF(sfdfee7,1);
sfdfee10:=REF(sfdfee8,1);
sfdfee11:=BARSCOUNT(C)>5;
sfdfee12:=REF(C,1);{通达信公式-通达信指标-www.gs6699.com}
sfdfee13:=(H-sfdfee12+0.01)/sfdfee12*100;
sfdfee14:=(sfdfee12-L+0.01)/sfdfee12*100;
sfdfee15:=sfdfee13>=5 AND sfdfee11 AND C=H;
sfdfee16:=sfdfee14>=5 AND sfdfee11 AND C=L;
sfdfee17:=sfdfee13>=10 AND sfdfee11 AND C=H;
sfdfee18:=sfdfee14>=10 AND sfdfee11 AND C=L;
sfdfee19:=sfdfee13>=20 AND sfdfee11 AND C=H;
sfdfee20:=sfdfee14>=20 AND sfdfee11 AND C=L;
sfdfee21:=IF(INBLOCK('科创板'),sfdfee19,IF(INBLOCK('创业板') AND DATE>1200823,sfdfee19,IF(INBLOCK(''),sfdfee15,sfdfee17)));
sfdfee85:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
sfdfee86:=FILTER(sfdfee85,10);
sfdfee87:=BARSLAST(sfdfee86);
sfdfee88:=REF(HIGH,sfdfee87+2);
sfdfee89:=REF(HIGH,sfdfee87+1);
sfdfee90:=REF(HIGH,sfdfee87);
sfdfee91:=MAX(sfdfee88,sfdfee89);
sfdfee92:=MAX(sfdfee91,sfdfee90);
sfdfee93:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
sfdfee94:=sfdfee87<150;
sfdfee95:=(OPEN-sfdfee92)/sfdfee92*100<30;
sfdfee96:=(CLOSE-LLV(LOW,sfdfee87))/LLV(LOW,sfdfee87)*100<50;
sfdfee97:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
sfdfee98:=VOL/MA(VOL,5)<3.5;
sfdfee99:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
V1:=sfdfee93 AND sfdfee94 AND sfdfee95 AND sfdfee96 AND sfdfee97 AND sfdfee98 AND sfdfee99;
V2:=FILTER(V1,15);
sfdfee100:=MA(CLOSE,10);
sfdfee101:=MA(CLOSE,54);
sfdfee102:=(((CLOSE-sfdfee101)/sfdfee101)<0.1);
sfdfee103:=(((CLOSE-sfdfee100)/sfdfee100)<0.3);
sfdfee104:=(((sfdfee102=1) AND (sfdfee103=1))*0.2);
sfdfee105:=((((sfdfee104=0) AND (REF(sfdfee104,1)=0.2)) AND (REF((COUNT((sfdfee104=0.2),10)=10),1)=1))*-0.1);
V3:=sfdfee105=-0.1;
sfdfee106:=V2 OR V3;
sfdfee107:=DYNAINFO(7)/(REF(CLOSE,1))>1.05 AND (DYNAINFO(7)/O>1.05);
sfdfee108:=(VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);
sfdfee109:=sfdfee106 AND sfdfee21 AND sfdfee108 AND sfdfee107;
B:sfdfee109;