通达信通宝天书公式
HJX:=MA(C,20);
XHJX:=(MA(CLOSE,20)+MA(CLOSE,30))/2,COLORYELLOW;
EXP1:=EXPMA(CLOSE,12);
EXP2:=EXPMA(CLOSE,50);
EXP3:=EXPMA(CLOSE,7);
VAR20:=LLV(LOW,10);
VAR30:=HHV(HIGH,25);
动力线:= EMA((CLOSE-VAR20)/(VAR30-VAR20)*4,4);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
BOLL:=MA(CLOSE,20);
UPPER:=BOLL+2*STD(CLOSE,20);
LOWER:=BOLL-2*STD(CLOSE,20);
GK1:=EMA(CLOSE,13),COLORYELLOW;
GK2:=EMA(CLOSE,21),COLORYELLOW;
GK3:=EMA(CLOSE,34),COLORYELLOW;
GK4:=EMA(CLOSE,55),COLORRED;
GK5:=EMA(CLOSE,89),COLORRED;
GK6:=EMA(CLOSE,144),COLORRED;
GK7:=EMA(CLOSE,233);
GK8:=EMA(CLOSE,377);
GK9:=EMA(CLOSE,610);
反弹阻力1:=MA(CLOSE,5) ;
反弹阻力2:=MA(CLOSE,10) ;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
BIAS:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIASMA:=MA(BIAS,6);
MACD:=(DIF-DEA)*2;
T1:=1;
M3:=EMA(CLOSE,3);
M8:=EMA(CLOSE,8);
M13:=EMA(M8,13);
M62:=EMA(M8,55);
VAR1:=EMA(M13,62);
M81:=EMA(M62,81);
M144:=EMA(VAR1,144);
M250:=EMA(VAR1,250);
VAR2:=(CLOSE+HIGH+LOW)/(3);
VAR3:=(EMA(VAR2,13))*(T1);
VAR4:=(REF(VAR3,2))*(T1);
VAR300:=(EMA(VAR2,12))*(T1);
VAR400:=(REF(VAR300,1))*(T1);
VAR3000:=(EMA(VAR2,13))*(T1);
VAR4000:=(REF(VAR3000,1))*(T1);
VAR310:=(EMA(VAR2,16))*(T1);
VAR410:=(REF(VAR310,1))*(T1);
DRAWTEXT((GK1<GK2 AND GK2<GK3 AND GK3<GK4 AND GK4<GK5 AND GK5<GK6 AND (REF(OPEN,1)<REF(C,2) OR REF(OPEN,2)<REF(C,3) OR OPEN<REF(C,1) OR C<OPEN) AND (REF(CLOSE,1)-REF(CLOSE,2))/REF(CLOSE,2)<0.09 AND (C-REF(C,1))/REF(C,1)<0.08 AND (CROSS(VAR3,VAR4) AND ((REF(CLOSE,1)>GK1 AND REF(CLOSE,1)<GK2 AND LOW>GK1 AND C>REF(C,1) AND (H-C)/C<0.015 OR (LOW<GK1 AND HIGH>GK3 AND CLOSE>REF(CLOSE,1) AND (HIGH-CLOSE)/CLOSE<0.015)) OR (REF(CLOSE,1)>GK2 AND REF(CLOSE,1)<GK3 AND LOW>GK2 AND C>REF(C,1) AND (H-C)/C<0.015 OR (LOW<GK1 AND HIGH>GK3 AND CLOSE>REF(CLOSE,1) AND (HIGH-CLOSE)/CLOSE<0.015) ) OR (REF(CLOSE,1)>GK3 AND REF(CLOSE,1)<GK4 AND LOW>GK3 AND C>REF(C,1) AND (H-C)/C<0.015 OR (LOW<GK1 AND HIGH>GK3 AND CLOSE>REF(CLOSE,1) AND (HIGH-CLOSE)/CLOSE<0.015)) OR ((OPEN-LOW)/OPEN<0.002 AND CLOSE>REF(CLOSE,1) AND (HIGH-CLOSE)/CLOSE<0.015 )) OR (CROSS(VAR3,VAR4) AND (CLOSE<REF(CLOSE,1) OR CLOSE<OPEN AND CLOSE>GK1))) OR (CROSS(VAR300,VAR400) AND (REF(CLOSE,2)-REF(LOW,2))/REF(CLOSE,2)<0.035 AND (CEILING(CLOSE)>FLOOR(GK1) OR CEILING(CLOSE)=FLOOR(GK1)) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<0.035 AND GK1>GK2 AND GK2>GK3 AND GK3>GK4 AND GK4>GK5 AND GK5>GK6)),LOW*0.98,'转'),COLORYELLOW ;
DRAWTEXT((CROSS(VAR4,VAR3) OR (CROSS(VAR400,VAR300) AND GK1>GK2 AND GK2>GK3 AND GK3>GK4 AND GK4>GK5 AND GK5>GK6) AND TFILTER((CROSS(VAR4,VAR3)) OR (CROSS(VAR400,VAR300) AND GK1>GK2 AND GK2>GK3 AND GK3>GK4 AND GK4>GK5 AND GK5>GK6) ,((CROSS(VAR4,VAR3)) OR (CROSS(VAR400,VAR300) AND GK1>GK2 AND GK2>GK3 AND GK3>GK4 AND GK4>GK5 AND GK5>GK6)),2)) OR (CROSS(VAR4000,VAR3000)),HIGH*1.02,'转'),COLORGREEN;
DRAWTEXT(CROSS(VAR3000,VAR4000) && GK1>REF(GK1,1) && ((REF(C,1)<REF(C,2) OR REF(C,2)<REF(C,3) OR (GK1>GK2) OR (GK1<GK2 && GK2>GK3 && GK1>GK3) OR GK1<GK2) OR (EVERY(C>REF(C,1) && OPEN<CLOSE && C-O<REF(C,1)-REF(OPEN,1),2)) OR (CROSS(C,GK1) && CROSS(C,GK2) && O<GK1 && (EVERY(C>REF(C,1) && C>O AND C-O>REF(C,1)-REF(O,1),2)) && GK1<GK2 && GK2<GK3)) && (H-C)/C<0.025 && C>REF(C,1) && ((O-REF(C,1))/REF(C,1)<0.01 OR ((C-REF(C,1))/REF(C,1)>0.045 && GK1<GK4 && GK2<GK4 && GK3<GK4)) && ((GK4>GK5 && GK5>GK6) OR (GK4>GK6 && GK5<GK6) OR (GK4<GK5 && GK5>GK6) OR (GK4>GK5 && GK5<GK6)),LOW*0.98,'转'),COLORYELLOW;
DRAWTEXT((CROSS(VAR310,VAR410) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)<0.015 AND OPEN<CLOSE AND ((GK1>GK2 AND GK2>GK3 AND GK4<GK5 AND GK5<GK6) OR (GK1<GK2 AND GK2>GK3 AND GK4<GK5 AND GK5<GK6) OR (GK1<GK2 AND GK1>GK3 AND GK2>GK3 AND GK4<GK5 AND GK5<GK6))) OR (CLOSE>REF(CLOSE,1) AND LOW<GK1 AND CLOSE>GK3 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.04 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<0.05 AND GK1<GK2 AND GK2<GK3 AND GK3<GK4 AND GK4<GK5 AND GK5<GK6),LOW*0.98,'转'),COLORYELLOW;
DRAWICON(SUM((REF(CLOSE,1)-CLOSE)/REF(CLOSE,1),2)>0.1 AND J<0 AND ((GK1<GK2 AND GK2<GK3 AND GK1<GK3) OR (GK1<GK2 AND GK1<GK3 AND GK2>GK3)),LOW,25);
DRAWICON(SUM((CLOSE-REF(CLOSE,1))/REF(CLOSE,1),2)>0.07 AND GK1<GK2 AND GK2<GK3 AND GK4<GK5 AND GK4>GK6 AND GK5>GK6,HIGH,26);
DRAWICON(SUM((CLOSE-REF(CLOSE,1))/REF(CLOSE,1),4)>0.09 AND FILTER(SUM((CLOSE-REF(CLOSE,1))/REF(CLOSE,1),4)>0.095 AND GK1<GK2 AND GK2<GK3 AND GK4<GK5 AND GK4<GK6 AND GK5>GK6,1)AND GK1<GK2 AND GK2<GK3 AND GK4<GK5 AND GK4<GK6 AND GK5>GK6,HIGH,26);
DRAWICON(SUM((CLOSE-REF(CLOSE,1))/REF(CLOSE,1),3)>0.04 AND CLOSE<EXP3 AND C<GK1 AND C<GK2 AND C<GK3 AND C<GK4 AND C<GK5 AND C<GK6 AND GK1<GK2 AND GK2<GK3 AND GK4>GK5 AND GK4>GK6 AND GK5>GK6,HIGH,26);
DRAWICON((CLOSE-LOW)/LOW>0.04 AND DOWNNDAY(CLOSE,3) AND REF(CLOSE,3)>REF(CLOSE,4) AND J<20 AND CLOSE>OPEN AND CLOSE<REF(CLOSE,1) AND ((GK1<GK2 AND GK2<GK3 AND GK1<GK3) OR (GK1<GK2 AND GK1<GK3 AND GK2>GK3)) OR (REF(C,1)<REF(C,2) AND ABS(REF(C,1)-REF(O,1))/REF(C,1)<0.002 AND ((REF(H,1)-REF(C,1))/REF(C,1)>0.003 OR (REF(C,1)-REF(L,1))/REF(L,1)>0.003) AND C<REF(C,1) AND C<REF(L,1) AND C<REF(L,2) AND REF(C,1)>REF(O,2) AND REF(L,1)>REF(O,2) AND REF(H,1)<REF(H,2) AND REF(O,1)<REF(C,2) AND REF(O,1)>REF(O,2) AND GK1<GK2 AND GK2<GK3 AND GK3<GK4 AND GK5<GK6),LOW,25);
DRAWICON(ABS(GK3-CLOSE)/GK3<0.005 AND J>115 AND OPEN>CLOSE AND (OPEN-CLOSE)/OPEN<0.005 AND GK1<GK2 AND GK2<GK3 AND GK1<GK3,HIGH,26);
DRAWICON((DOWNNDAY(CLOSE,7) AND J<0 AND SUM((REF(CLOSE,1)-CLOSE)/REF(CLOSE,1),7)>0.07 AND (DOWNNDAY(J,2) OR J<-8) AND ((GK1<GK2 AND GK2<GK3 AND GK1<GK3) OR (GK1<GK2 AND GK1<GK3 AND GK2>GK3))) AND ((GK1<GK2 AND GK2<GK3 AND GK1<GK3) OR (GK1<GK2 AND GK1<GK3 AND GK2>GK3)) ,LOW,25);
DRAWICON(LAST(CLOSE>REF(CLOSE,1),2,0) AND LAST(OPEN<CLOSE,2,0) AND LAST((CLOSE-OPEN)<(REF(CLOSE,1)-REF(OPEN,1)),1,0) AND J>120 AND GK1>GK2 AND GK1>GK3 AND GK2<GK3,HIGH,26);
DRAWICON(((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.025) OR ((CLOSE-REF(CLOSE,2))/REF(CLOSE,2)>0.025) OR ((CLOSE-REF(CLOSE,3))/REF(CLOSE,3)>0.025) AND ((GK1<GK2 AND GK2<GK3 AND GK4>GK5 AND GK5>GK6 AND GK3<GK4 AND GK1<GK4 AND GK3>GK6 AND GK2<GK6) OR ((GK1<GK2 AND GK2<GK3 AND GK4<GK5 AND GK5<GK6 AND GK3>GK4)) AND ((GK1>GK4) OR (GK1>GK5) OR (GK1>GK6) OR (GK2>GK4) OR (GK2>GK5) OR (GK2>GK6) OR (GK3>GK4) OR (GK3>GK5) OR (GK3>GK6))),HIGH,26);
DRAWICON(REF(J,3)<0 AND (REF(CLOSE,10)-REF(CLOSE,3))/REF(CLOSE,10)>0.07 AND REF(CLOSE,9)<REF(CLOSE,10) AND REF(CLOSE,8)<REF(CLOSE,9) AND REF(CLOSE,7)<REF(CLOSE,8) AND REF(CLOSE,6)<REF(CLOSE,7) AND REF(CLOSE,5)<REF(CLOSE,6) AND REF(CLOSE,4)<REF(CLOSE,5) AND REF(CLOSE,3)<REF(CLOSE,4) AND (REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)>0.02 AND REF(CLOSE,3)<REF(CLOSE,4) AND CLOSE<REF(CLOSE,1) AND GK1<GK2 AND GK2<GK3 AND GK3<GK4 AND GK4<GK5 AND GK5<GK6,HIGH,26);
DRAWICON(DOWNNDAY(CLOSE,3) AND (HJX-CLOSE)/HJX>0.02 AND J<-4.7 AND (MA(CLOSE,5)-CLOSE)/MA(CLOSE,5)>0.015 AND SUM((REF(CLOSE,1)-CLOSE)/REF(CLOSE,1),4)>0.025 AND REF(CLOSE,3)>REF(CLOSE,4) OR(DOWNNDAY(CLOSE,3) AND (CLOSE-LOW)/LOW>0.025 AND J>REF(J,1) AND CLOSE<OPEN )AND ((GK1<GK2 AND GK2<GK3 AND GK1<GK3) OR (GK1<GK2 AND GK1<GK3 AND GK2>GK3)) ,LOW,25);
DRAWICON(CROSS(GK6,GK3) AND CLOSE<REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND OPEN>MA(CLOSE,5) AND (REF(CLOSE,1)-REF(CLOSE,2))/REF(CLOSE,2)>0.01 AND GK1<GK2 AND GK2<GK3 AND GK4<GK5 AND GK5>GK6 AND GK4>GK6,HIGH,26);
DRAWICON(EVERY(ABS(CLOSE-OPEN)/CLOSE<0.008,4) AND EVERY(ABS(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<0.008,4) AND ABS(CLOSE-REF(CLOSE,3))/REF(CLOSE,3)<0.008 AND REF(J,4)<0 AND CLOSE>REF(CLOSE,1) AND EVERY(GK1<GK2 AND GK2<GK3 AND GK3<GK4 AND GK4<GK5 AND GK5<GK6,10),HIGH,26);
DRAWICON(HIGH>EXP3 AND CLOSE<EXP3 AND CLOSE<REF(CLOSE,1) AND (HIGH-EXP3)/HIGH<0.01 AND EVERY(GK1<REF(GK1,1),10) AND REF(CLOSE,1)>REF(CLOSE,2) AND REF(CLOSE,1)<EXP3 AND REF(HIGH,1)<EXP3 AND SUM((CLOSE-REF(CLOSE,1))/REF(CLOSE,1),3)>0.02 AND GK1<GK2 AND GK2<GK3 AND GK3<GK4 AND GK4<GK5 AND GK5<GK6,HIGH,26);
DRAWICON(EVERY(HIGH>EXP3 AND CLOSE<EXP3 AND CLOSE<REF(CLOSE,1),2) AND REF(CLOSE,2)>EXP3 AND EVERY(CLOSE<GK1,3) AND REF(CLOSE,2)>REF(CLOSE,3) AND ABS(CLOSE-REF(LOW,1))/REF(LOW,1)<0.005 AND GK1<GK2 AND GK2<GK3 AND GK3<GK4 AND GK4<GK5 AND GK5<GK6,HIGH,26);
DRAWICON((DOWNNDAY(CLOSE,4) AND CLOSE<OPEN AND ABS(OPEN-CLOSE)<2 AND CLOSE<REF(LOW,1) AND J<2) AND ((GK1<GK2 AND GK2<GK3 AND GK1<GK3) OR (GK1<GK2 AND GK1<GK3 AND GK2>GK3)) ,LOW,25);
DRAWICON(((REF(CLOSE,3)-REF(CLOSE,2))/REF(CLOSE,3)>0.015 AND (REF(CLOSE,1)-REF(CLOSE,2))/REF(CLOSE,2)<0.01 AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)>0.015 AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE<REF(LOW,1) AND J<0 AND K<25) AND ((GK1<GK2 AND GK2<GK3 AND GK1<GK3) OR (GK1<GK2 AND GK1<GK3 AND GK2>GK3)) ,LOW,25);
DRAWICON((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.05 AND OPEN<REF(CLOSE,1) AND CLOSE<GK1 AND GK1<GK2 AND GK2<GK3 AND GK3<GK4 AND GK4<GK5 AND GK5<GK6,HIGH,26);
DRAWICON((DOWNNDAY(CLOSE,3) AND (CLOSE-LOW)/LOW>0.025 AND J>REF(J,1) AND CLOSE>OPEN AND CLOSE<REF(CLOSE,1) AND ABS(CLOSE-OPEN)<8) AND ((GK1<GK2 AND GK2<GK3 AND GK1<GK3) OR (GK1<GK2 AND GK1<GK3 AND GK2>GK3)) OR (CROSS(GK7,CLOSE) AND (CROSS(GK4,GK1) OR CROSS(GK5,GK1) OR CROSS(GK6,GK1) OR CROSS(GK4,GK2) OR CROSS(GK5,GK2) OR CROSS(GK6,GK2) OR CROSS(GK4,GK3) OR CROSS(GK5,GK3) OR CROSS(GK6,GK3)) AND 动力线<0.55 AND CROSS(D,J) AND CROSS(D,K)) ,LOW,25);
DRAWICON((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.05 AND OPEN<REF(CLOSE,1) AND CLOSE<GK1 AND GK1<GK2 AND GK2<GK3 AND GK3<GK4 AND GK4<GK5 AND GK5<GK6,HIGH,26);
DRAWICON(CROSS(MA(C,89),MA(C,21)) AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,2) AND J>K AND K>D AND GK1<GK2 AND GK2<GK3 AND GK1<GK3 AND GK4<REF(GK4,1) AND GK5<REF(GK5,1) AND GK6<REF(GK6,1),HIGH,26);
DRAWICON(REF(CLOSE,2)<REF(CLOSE,3) AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE<REF(CLOSE,1) AND C>REF(CLOSE,2) AND REF(CLOSE,1)>REF(HIGH,2) AND HIGH>MA(C,10) AND CLOSE<MA(C,10) AND CLOSE<GK1 AND CLOSE<GK2 AND CLOSE<GK3 AND GK4>GK5 AND GK5>GK6 AND GK1>GK4 AND GK2>GK4 AND GK3>GK4,HIGH,26);
DRAWICON((CROSS(REF(MA(CLOSE,10),1),REF(MA(CLOSE,5),1)) AND OPEN<REF(CLOSE,1) AND OPEN>C AND J<-5 AND (OPEN-CLOSE)/OPEN<0.005 AND CLOSE<REF(CLOSE,1) AND (HIGH-OPEN)>0.003) AND (HIGH-OPEN)/OPEN>0.005 AND ((GK1<GK2 AND GK2<GK3 AND GK1<GK3) OR (GK1<GK2 AND GK1<GK3 AND GK2>GK3)),LOW,25);
DRAWICON((CROSS(MA(CLOSE,10),MA(CLOSE,5)) AND CLOSE>REF(CLOSE,1) AND J<5 AND (HIGH-LOW)/LOW>0.01) AND ((GK1<GK2 AND GK2<GK3 AND GK1<GK3) OR (GK1<GK2 AND GK1<GK3 AND GK2>GK3)),LOW,25);
DRAWICON(((HIGH-LOW)/LOW>0.06 AND REF(OPEN,1)-REF(CLOSE,1)<5 AND CLOSE>REF(CLOSE,1) AND J<25) AND ((GK1<GK2 AND GK2<GK3 AND GK1<GK3) OR (GK1<GK2 AND GK1<GK3 AND GK2>GK3)),LOW,25);
DRAWICON(OPEN>REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE<REF(CLOSE,1) AND (REF(CLOSE,1)-REF(CLOSE,2))/REF(CLOSE,2)>0.03 AND HIGH>XHJX AND OPEN<XHJX AND CLOSE<XHJX AND GK1<GK2 AND GK2<GK3 AND GK3<GK4 AND GK4<GK5 AND GK5<GK6,HIGH,26);
DRAWICON((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667 AND J<5 AND UPNDAY(J,2) AND (REF(CLOSE,1)-OPEN)/REF(CLOSE,1)>0.020 OR((REF(CLOSE,1)-C)/REF(CLOSE,1)>0.05 AND J<5 AND K<20 AND D<20 AND RSI1<15) OR(CROSS(J,D) AND CROSS(K,D) AND CROSS(RSI1,RSI2) AND J<25 AND CLOSE>REF(CLOSE,1) AND OPEN<REF(CLOSE,1) AND CLOSE>REF(OPEN,1) AND (CLOSE-REF(C,1))/REF(C,1)<0.03 ) OR(ABS(CLOSE-GK6)/GK6<0.005 AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)<0.02 AND CLOSE<REF(CLOSE,1) AND (LOW<GK6 OR (LOW>GK6 AND LOW-GK6<1)) AND J<0 ) AND ((GK1<GK2 AND GK2<GK3 AND GK1<GK3) OR (GK1<GK2 AND GK1<GK3 AND GK2>GK3)),LOW,25);
DRAWICON((CLOSE-REF(C,1))/REF(C,1)>0.044 AND O<REF(C,1) AND C<GK2 AND GK1<GK2 AND GK2<GK3 AND GK3<GK4 AND GK4<GK5 AND GK5<GK6,HIGH,26);
DRAWICON(EVERY(CLOSE<REF(CLOSE,1) AND OPEN<CLOSE AND (ABS(H-O)/O>0.01 OR ABS(O-LOW)>0.01) AND (C-O)/C<0.01 AND OPEN>REF(L,1),2) AND REF(C,2)>REF(C,3) AND GK1<GK2 AND GK2<GK3 AND GK3<GK4 AND GK4<GK5 AND GK5<GK6,HIGH,26);
DRAWICON(((REF(C,1)-C)/REF(C,1)>0.01 AND (C-L)/C<0.005 AND REF(CLOSE,2)>REF(CLOSE,3) AND REF(CLOSE,1)>REF(CLOSE,2) AND (REF(CLOSE,1)-REF(OPEN,1))/REF(OPEN,1)<0.005 AND (REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)<0.005 AND REF(CLOSE,1)>REF(OPEN,1) AND REF(CLOSE,2)>REF(OPEN,2) AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)>0.005 AND J<10 AND CLOSE<REF(LOW,2) AND RSI1<RSI2 AND RSI2<RSI3 AND RSI1<RSI3 AND RSI1<20 AND RSI2<25 AND RSI3<35) AND ((GK1<GK2 AND GK2<GK3 AND GK1<GK3) OR (GK1<GK2 AND GK1<GK3 AND GK2>GK3)),LOW,25);
{}
DRAWICON(UPNDAY(C,3) AND EVERY(C>O,3) AND (C-REF(C,3))/REF(C,3)>0.04 AND C<GK2 AND GK3<REF(GK3,1) AND GK1<GK2 AND GK2<GK3 AND GK3<GK4 AND GK4<GK5 AND GK5<GK6,HIGH,26);
DRAWICON((ABS(REF(OPEN,3)-REF(CLOSE,3))<10 AND ABS(REF(CLOSE,2)-REF(CLOSE,2))<10 AND ABS(REF(CLOSE,3)-REF(CLOSE,2))<5 AND LAST(CLOSE<REF(CLOSE,1),1,0) AND J<0 AND RSI1<15 AND ((GK1<GK2 AND GK2<GK3 AND GK1<GK3) OR (GK1<GK2 AND GK1<GK3 AND GK2>GK3))) OR (LAST(C<REF(C,1),3,1) AND ABS(CLOSE-OPEN)<2 AND SUM((REF(CLOSE,1)-CLOSE)/REF(CLOSE,1),4)>0.02 AND J<5 AND CLOSE>OPEN AND GK1>GK2 AND GK2>GK3 AND GK1>GK3 AND GK4>GK5 AND GK5>GK6 AND GK4>GK6 AND VAR3<VAR4) OR((CLOSE>EXP2 AND LOW<EXP2 AND (EXP2-LOW)/EXP2<0.005 AND J<0 AND (CLOSE-EXP2)/EXP2>0.01) OR (CLOSE>EXP2 AND LOW<EXP2 AND (CLOSE-EXP2)/EXP2>0.01 AND (EXP2-LOW)/EXP2<0.005 AND CLOSE>REF(OPEN,1) AND CLOSE>REF(HIGH,1) AND REF(CLOSE,1)<REF(CLOSE,2)) AND GK1>GK2 AND GK2>GK3 AND GK1>GK3 AND GK4>GK5 AND GK5>GK6 AND GK4>GK6 AND VAR3<VAR4) OR (LAST(CLOSE<REF(CLOSE,1),1,0) AND SUM((REF(CLOSE,1)-CLOSE)/REF(CLOSE,1),2)>0.1 AND (REF(C,1)-O)/REF(C,1)<0.01 AND J<0 AND GK1>GK2 AND GK2>GK3 AND GK1>GK3 AND GK4>GK5 AND GK5>GK6 AND GK4>GK6 AND VAR3<VAR4) OR (ABS(CLOSE-GK4)/GK4<0.005 AND ABS(CLOSE-GK3)/GK3>0.002 AND CLOSE>GK4 AND J<0 AND GK1>GK2 AND GK2>GK3 AND GK1>GK3 AND GK4>GK5 AND GK5>GK6 AND GK4>GK6 AND VAR3<VAR4),LOW,25);
DRAWICON((ABS(CLOSE-GK3)/GK3<0.009 AND LOW<GK3 AND CLOSE>OPEN AND CLOSE<REF(CLOSE,1) AND J<0 AND GK1>GK2 AND GK2>GK3 AND GK1>GK3 AND GK4>GK5 AND GK5<GK6 AND GK4>GK6 AND VAR3<VAR4) OR (GK4>GK5 AND GK5>GK6 AND GK4>GK6 AND CLOSE<GK6 AND REF(CLOSE,1)>GK6 AND CLOSE<REF(CLOSE,1) AND 动力线<0.2 AND J<0) OR (J<0 AND CLOSE>GK6 AND LOW<GK6 AND (GK6-LOW)/GK6<0.009 AND CLOSE<REF(CLOSE,1) AND REF(C,1)>REF(C,2) AND (REF(C,1)-C)/REF(C,1)>0.03 AND LOW<REF(LOW,2) AND J>REF(J,2) AND (REF(C,3)-REF(C,2))/REF(C,3)>0.03 AND GK4>GK5 AND GK5>GK6 AND GK4>GK6 AND GK3>GK4) OR (REF(CLOSE,2)>REF(CLOSE,3) AND REF(CLOSE,1)<MA(CLOSE,5) AND 动力线<0.4 AND J<15 AND RSI1<25 AND REF(HIGH,1)<REF(HIGH,2) AND REF(OPEN,1)>REF(OPEN,2) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(CLOSE,1)>REF(OPEN,2) AND CLOSE<REF(CLOSE,1) AND (REF(C,1)-C)/REF(C,1)>0.01) OR (LAST(OPEN<CLOSE,1,0) AND CLOSE<REF(CLOSE,1) AND LAST(动力线<REF(动力线,1),1,0) AND 动力线<0.5 AND REF(J,1)<0 AND GK1>GK2 AND GK2>GK3 AND GK1>GK3),LOW,25);
DRAWICON((CROSS(GK3,CLOSE) AND OPEN>GK3 AND REF(LOW,1)>REF(GK3,1) AND CLOSE<REF(CLOSE,1) AND (REF(OPEN,2)-REF(CLOSE,2))<(REF(OPEN,1)-REF(CLOSE,1)) AND (REF(OPEN,1)-REF(CLOSE,1)>(OPEN-CLOSE) AND (OPEN-CLOSE)>(REF(OPEN,2)-REF(CLOSE,2)) AND LAST(OPEN>CLOSE,2,0) AND GK1>GK2 AND GK2>GK3 AND GK1>GK3 AND GK1>GK4 AND GK1>GK5 AND GK1>GK6 AND GK1>GK7 AND GK1>GK8 AND GK1>GK9 AND GK4>GK5 AND GK4>GK6 AND GK4>GK7 AND GK4>GK8 AND GK4>GK9 AND GK5>GK6 AND GK5>GK7 AND GK5>GK8 AND GK5>GK9 AND GK6>GK7 AND GK7>GK8 AND GK7>GK9 AND GK7>GK8 AND GK8>GK9)) OR (CROSS(GK7,CLOSE) AND CROSS(D,K) AND CROSS(D,J) AND LAST(CLOSE<REF(CLOSE,1),1,0) AND REF(LOW,1)>GK7 AND 动力线<0.55 AND CLOSE<REF(CLOSE,1) AND OPEN>CLOSE AND GK7>GK8 AND GK8>GK9 AND GK7>GK9 AND GK3>GK7) OR (CROSS(GK3,CLOSE) AND REF(LOW,1)>REF(GK3,1) AND REF(CLOSE,1)<REF(CLOSE,2) AND (REF(C,1)-C)/REF(C,1)<0.09 AND J<-10 AND GK1>GK2 AND GK2>GK3 AND GK1>GK3 AND GK4>GK5 AND GK5>GK6 AND GK4>GK6 AND GK1>GK4 AND GK2>GK4 AND GK3>GK4 AND GK4>GK5 AND GK5>GK6 AND GK6>GK7 AND GK7>GK8 AND GK8>GK9) OR (CROSS(GK3,CLOSE) AND OPEN<GK2 AND REF(CLOSE,1)>REF(CLOSE,2) AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)>0.01 AND J<-10 AND GK1>GK2 AND GK2>GK3 AND GK1>GK3 AND GK4<GK5 AND GK5<GK6 AND GK4<GK6),LOW,25);
DRAWICON(((CROSS(MA(CLOSE,144),CLOSE) AND REF(OPEN,1)<REF(CLOSE,1) AND LAST(J<0,1,0) AND OPEN>CLOSE AND J<REF(J,1) ) AND GK4>GK5 AND GK5>GK6 AND VAR3<VAR4) OR ((REF(CLOSE,1)>MA(CLOSE,144) AND CROSS(MA(CLOSE,144),CLOSE) AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(OPEN,1)>REF(CLOSE,1) AND OPEN>CLOSE AND REF(J,1)<8 AND J<0 AND (REF(C,2)>REF(C,3) OR REF(C,3)>REF(C,4))) AND VAR3<VAR4) OR (CROSS(GK6,CLOSE) AND CROSS(GK4,GK2) AND (CLOSE-LOWER)/LOWER<0.01 AND CLOSE>LOWER AND LOW<LOWER AND CLOSE<REF(CLOSE,1) AND OPEN>CLOSE AND GK3>GK6) OR (LAST(CLOSE<REF(CLOSE,1) AND OPEN>CLOSE,2,0) AND REF(CLOSE,3)>REF(OPEN,3) AND (REF(OPEN,2)-REF(CLOSE,2))<(REF(OPEN,1)-REF(CLOSE,1)) AND (REF(OPEN,1)-REF(CLOSE,1)>(OPEN-CLOSE) AND J>REF(J,1) AND REF(J,1)<REF(J,2) AND J<15)) OR ((REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>0.005 AND CLOSE<REF(LOW,2) AND REF(OPEN,1)<REF(CLOSE,1) AND (REF(CLOSE,1)-REF(OPEN,1))/REF(OPEN,1)<0.005 AND REF(OPEN,1)<REF(CLOSE,2) AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(CLOSE,1)>REF(OPEN,2) AND REF(OPEN,2)<REF(CLOSE,2) AND CLOSE<REF(CLOSE,1) AND OPEN>CLOSE AND (OPEN-CLOSE)/OPEN>0.02 AND J<50 AND GK1<GK2 AND GK2<GK3 AND GK1<GK3) ,LOW,25);
DRAWICON(EVERY(CLOSE<REF(CLOSE,1),2) AND EVERY(ABS(OPEN-CLOSE)/OPEN<0.01 AND (HIGH-CLOSE)/HIGH>0.005 AND (CLOSE-LOW)/CLOSE>0.002,2) AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)<0.005 AND J>REF(J,1) AND K>D AND K>REF(K,1) AND D>REF(D,1) AND 动力线<0.6 ,LOW,25);
DRAWICON(((OPEN-REF(CLOSE,1))/REF(CLOSE,1)>0.04 AND CROSS(D,J) AND CROSS(D,K) AND CLOSE>REF(CLOSE,1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.02) OR (J>115 AND J>REF(J,1) AND RSI1>80 AND RSI1>REF(RSI1,1) AND 动力线>3.6 AND 动力线>REF(动力线,1)) OR(J>90 AND J<REF(J,1) AND REF(J,1)>100 AND CLOSE<REF(CLOSE,1) AND CLOSE<OPEN AND K>90 AND K<REF(K,1) AND REF(K,1)>REF(K,2) AND D>90 AND REF(D,1)<D AND REF(D,1)>REF(D,2) AND REF(动力线,1)>3.8 AND REF(动力线,2)<REF(动力线,1) AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)>0.005) AND GK1>GK2 AND GK2>GK3 AND GK1>GK3 AND GK3>GK4 AND GK4>GK5 AND GK5>GK6,HIGH,26);
DRAWICON((ABS(REF(CLOSE,3)-REF(OPEN,3))/REF(CLOSE,3)<0.005 AND REF(RSI1,1)>85 AND ABS(REF(CLOSE,2)-REF(OPEN,2))/REF(CLOSE,2)<0.005 AND ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)<0.005 AND CROSS(D,J) AND CROSS(D,K) AND ABS(REF(CLOSE,3)-REF(CLOSE,4))/REF(CLOSE,4)<0.01 AND ABS(REF(CLOSE,2)-REF(CLOSE,3))/REF(CLOSE,3)<0.01 AND ABS( REF(CLOSE,1)-REF(CLOSE,2))/REF(CLOSE,1)<0.01 AND (REF(CLOSE,1)-LOW)/REF(CLOSE,1)>0.01 AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)>0.009 AND REF(K,1)>90 AND REF(J,1)>90) OR (LAST(动力线>3.75,2,0) AND LAST(J>100,2,0) AND ABS(CLOSE-REF(CLOSE,2))/REF(CLOSE,2)<0.01) OR ((OPEN>REF(HIGH,1) AND CLOSE<REF(LOW,1) AND CLOSE<REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND (REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)<0.01 AND CROSS(D,J) AND CROSS(D,K) AND CROSS(RSI3,RSI1) AND RSI3-RSI1>4)) OR (EVERY(ABS(HIGH-REF(HIGH,1))/REF(HIGH,1)<0.05,4) AND REF(CLOSE,1)>REF(CLOSE,2) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND CLOSE<REF(LOW,3) AND CROSS(RSI3,RSI1) AND CROSS(MA(CLOSE,5),CLOSE) AND RSI2-RSI3<1) OR ((REF(RSI1,1)>90 AND REF(动力线,1)>3.8 AND SUM((C-REF(C,1))/REF(C,1),4)>0.035 AND O>REF(H,1) AND C<REF(L,1)) OR(EVERY(ABS(H-REF(H,1))/REF(H,1)<0.005,4) AND CROSS(D,J) AND CROSS(D,K) AND CROSS(RSI2,RSI1) AND REF(J,1)>100 )) AND GK1>GK2 AND GK2>GK3 AND GK1>GK3,HIGH,26);
DRAWICON((CLOSE<REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND (REF(OPEN,2)-REF(CLOSE,3))/REF(CLOSE,3)>0.01 AND REF(CLOSE,2)>REF(CLOSE,3) AND CLOSE<REF(OPEN,2) AND CROSS(RSI3,RSI1) AND CROSS(RSI3,RSI2)) OR ((CLOSE-LOW)/LOW>0.01 AND CLOSE>REF(CLOSE,1) AND CLOSE<OPEN AND (CLOSE-OPEN)/OPEN<0.005 AND ABS(HIGH-OPEN)<3 AND GK1>GK2 AND GK2>GK3 AND GK1>GK3 ) OR (CLOSE<REF(CLOSE,1) AND CLOSE<REF(OPEN,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND REF(CLOSE,1)-REF(OPEN,1)>10 AND REF(OPEN,1)-CLOSE<20 AND (CLOSE<REF(OPEN,1)) AND REF(OPEN,1)>REF(CLOSE,2) AND REF(LOW,1)>REF(CLOSE,2) AND REF(MACD,1)>40) OR (CROSS(MA(CLOSE,5),MA(CLOSE,20)) AND CLOSE<REF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND ABS(CLOSE-OPEN)/OPEN<0.005 AND OPEN<REF(CLOSE,1) AND CLOSE>REF(OPEN,1) AND GK1<GK2 AND GK1<GK3 AND GK2<GK3 AND GK4<GK5 AND GK5<GK6 AND GK4<GK6 ) OR (ABS(GK6-HIGH)/GK6<0.05 AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE<REF(CLOSE,1) AND REF(动力线,1)>3.5 AND (OPEN-CLOSE)/(REF(CLOSE,1)-REF(OPEN,1))>0.7 AND GK1>GK2 AND GK2<GK3 AND GK1<GK3 AND VAR2>VAR3) OR (LAST(CLOSE>REF(CLOSE,1),2,0) AND LAST(ABS(CLOSE-OPEN)/OPEN<0.005,2,0) AND LAST(J<REF(J,1),1,0) AND 动力线>3.7 AND GK1>GK2 AND GK2>GK3 AND GK1>GK3),HIGH,26);
DRAWICON((LAST(CLOSE>REF(CLOSE,1),2,0) AND LAST(OPEN<CLOSE,2,0) AND LAST((CLOSE-OPEN)<(REF(CLOSE,1)-REF(OPEN,1)),1,0) AND J>120 AND GK1>GK2 AND GK1>GK3 AND GK2<GK3) OR (CLOSE>REF(CLOSE,1) AND CROSS(MA(CLOSE,10),MA(CLOSE,5)) AND CROSS(K,D) AND CROSS(J,D) AND (MA(CLOSE,5)<REF(MA(CLOSE,5),1) OR OPEN>REF(CLOSE,1)) AND OPEN<CLOSE AND GK1>GK2 AND GK2>GK3 AND GK1>GK3 AND GK4>GK5 AND GK5>GK6 AND GK4>GK6 AND GK1>GK4) OR (REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1) AND OPEN>CLOSE AND ABS(OPEN-CLOSE)/OPEN<0.005 AND HIGH>GK6 AND CLOSE<GK6 AND (GK6-CLOSE)/GK6<0.01 AND REF(CLOSE,1)<GK6 AND J>90 AND GK1>GK2 AND GK2>GK3 AND GK1>GK3),HIGH,26);
DRAWICON((REF(C,2)>REF(C,3) AND REF(C,1)<REF(C,2) AND C>REF(C,1) AND L>REF(L,1) AND H>REF(H,1) AND J<10 AND GK1<GK2 AND GK2<GK3 AND GK3<GK4 AND GK4<GK5 AND GK5<GK6 AND C<XHJX) OR (C<REF(C,1) AND (C-LOW)/C>0.015 AND O>C AND (O-C)/O>0.005 AND REF(C,1)<REF(C,2) AND REF(O,1)>REF(C,2) AND J>REF(J,1) AND J>0 AND GK4>GK5 AND GK5>GK6) OR (C>REF(C,1) AND REF(C,1)<REF(C,2) AND (O-L)/L>0.02 AND C>O AND (C-L)/L>0.05 AND (H-C)/C<0.002 AND J<REF(J,1) AND J>K AND K>D) OR (EVERY(O>C,6) AND DOWNNDAY(C,6) AND REF(C,6)>REF(C,7) AND (REF(C,5)-C)/REF(C,1)>0.1 AND J>0 AND GK1<GK2 AND GK2<GK3 AND GK3<GK4 AND GK4<GK5 AND GK5<GK6) OR (DOWNNDAY(C ,6) AND DOWNNDAY(J,6) AND XHJX>REF(XHJX,1) AND (REF(C,5)-C)/REF(C,5)>0.05 AND J<-10 AND C<XHJX) OR (DOWNNDAY(C,2) AND (REF(C,2)-C)/REF(C,2)>0.07 AND CROSS(GK5,C) AND J<0 AND (O-C)>REF(O,1)-REF(C,1) AND GK4>GK5 AND GK5>GK6 AND GK6>GK7 AND GK7>GK8 AND GK8>GK9) OR (DOWNNDAY(C,2) AND C>REF(L,1) AND O>REF(C,1) AND O<REF(O,1) AND L>REF(L,1) AND J<REF(J,1) AND C<XHJX AND GK4<GK5 AND GK5<GK6) OR (EVERY(O<XHJX AND CLOSE>XHJX AND O<REF(C,1) AND XHJX>REF(XHJX,1),2)) OR (DOWNNDAY(C,4) AND CROSS(GK6,GK5)),LOW,25);
DRAWICON(((O-REF(C,1))/REF(C,1)>0.05 AND (C-REF(C,1))/REF(C,1)>0.08 AND J>110) OR (H>REF(H,1) AND REF(H,1)<REF(XHJX,1) AND H>XHJX AND LOW<REF(L,1) AND C<REF(C,1) AND REF(C,1)>REF(C,2) AND C<XHJX AND XHJX>REF(XHJX,1)) OR (O>MA(C,10) AND C<MA(C,10) AND C<REF(C,1) AND REF(C,1)>REF(C,2) AND (C-L)/C>0.015 AND J>REF(J,1) AND GK1<GK2 AND GK2<GK3) OR ((HIGH-GK3)/GK3<0.005 AND CLOSE<GK3 AND J>110 AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE<OPEN AND VAR3>VAR4 AND GK4>GK5 AND GK4>GK6 AND GK5>GK6) OR (EVERY(HIGH>MA(C,21),2) AND C<MA(C,21) AND O>REF(C,1) AND ABS(C-REF(O,1))/REF(C,1)<0.005 AND REF(C,1)>REF(C,2) AND REF(C,1)>REF(O,1) AND GK1<GK2 AND GK2<GK3 AND GK4<GK5 AND GK4<GK6 AND GK3<GK4) OR (EVERY((H-L)/REF(C,1)>0.03 AND C>REF(C,1) AND O<C,2) AND REF(C,2)<REF(C,3) AND (REF(C,2)-REF(O,1))/REF(C,1)>0.02 AND J>70 AND GK1<GK2 AND GK2<GK3 AND GK3<GK4 AND GK4<GK5 AND GK5<GK6) OR ((H-O)/O>0.01 AND O>REF(C,1) AND C>REF(C,1) AND L=O AND (H-C)/C>0.005 AND (C-O)/O<0.01 AND C>O AND (O-REF(C,1))/REF(C,1)>0.0065 AND J>100),HIGH,26);
DRAWICON((DOWNNDAY(C,4) AND EVERY(C<O,4) AND REF(J,1)>REF(K,1) AND REF(K,1)>REF(D,1) AND CROSS(D,K) AND CROSS(D,J) AND J<5 AND CROSS(K,J) AND GK1<GK2 AND GK2<GK3 AND GK3<GK4 AND GK4<GK5 AND GK5<GK6) OR (DOWNNDAY(C,3) AND ABS(O-C)/C<0.002 AND ABS(REF(C,3)-REF(O,3))/REF(C,3)<0.005 AND EVERY(C<O,4) AND (REF(C,3)-C)/REF(C,3)>0.04 AND GK1<GK2 AND GK2<GK3 AND GK3<GK4 AND GK4<GK5 AND GK5<GK6) OR (EVERY(O<REF(C,1) AND C<REF(C,1) AND O>C AND (O-C)/O>0.002 ,4) AND EVERY(J<REF(J,1),3) AND J<0 AND REF(C,4)>REF(C,5) AND GK1<GK2 AND GK2<GK3 AND GK3<GK4 AND GK4<GK5 AND GK5<GK6) OR ((O-REF(C,1))/REF(C,1)>0.02 AND C<O AND L<REF(L,1) AND LOW<REF(O,1) AND REF(C,1)<REF(C,2) AND REF(C,1)<REF(O,1) AND C>REF(C,1) AND GK1<GK2 AND GK2<GK3) OR (EVERY(C<REF(C,1) AND O>C,5) AND EVERY(J<REF(J,1),4) AND REF(C,5)>REF(O,5) AND J<-15 AND GK1<GK2 AND GK2<GK3) OR (CROSS(REF(D,2),REF(K,2)) AND CROSS(REF(D,2),REF(J,2)) AND CROSS(REF(K,1),REF(D,1)) AND CROSS(REF(J,1),REF(D,1)) AND CROSS(D,K) AND CROSS(D,J) AND J>REF(J,2) AND K>REF(K,2) AND C<REF(C,1) AND EVERY(GK1<GK2 AND GK2<GK3 AND GK3<GK4 AND GK4<GK5 AND GK5<GK6,10)),LOW,25);
DRAWICON(REF(C,1)<REF(C,2) AND REF(C,1)<REF(O,1) AND O<REF(L,1) AND C>REF(O,1) AND EVERY(ABS(O-C)/O>0.005,2) AND (O-L)/L<0.005 AND (H-C)/C<0.006 AND C>O AND C<REF(C,2) AND GK4>GK5 AND GK5>GK6 AND VAR300<VAR400 AND VAR3000<VAR4000 AND VAR310<VAR410,LOW,25);