ABC111:=MA(CLOSE,5);
持股线:EMA(EMA(EMA(EMA(CLOSE,2),2),2),2),LINETHICK2,COLOR0000FF;
ABC222:=MA((LOW+HIGH+CLOSE)/3,5);
黄色线:HHV(ABC222,60)*0.95,COLORYELLOW;
ABC1:=120;
ABC2:=BARSLAST(CURRBARSCOUNT=ABC1);
ABC3:=CONST(IF(ISLASTBAR=1,HHV(HIGH,ABC2),0));
ABC4:=CONST(IF(ISLASTBAR=1,LLV(LOW,ABC2),0));
ABC5:=ABC3-ABC4;
ABC6:=EMA(CLOSE,21);
ABC7:=ABC6< REF(ABC6,1);
ABC8:=IF(ABC7-1,ABC6,DRAWNULL);
ABC9:=EMA(CLOSE,3)>EMA(CLOSE,21);
ABC10:=EMA(CLOSE,3)< EMA(CLOSE,21);
ABC11:=EMA(CLOSE,3)>EMA(CLOSE,8);
ABC12:=EMA(CLOSE,3)< EMA(CLOSE,8);
STICKLINE(ABC9,LOW,HIGH,0,0),COLOR0088EE;
STICKLINE(ABC9,CLOSE,OPEN,3,0),COLOR0055AA;
STICKLINE(ABC9,CLOSE,OPEN,2.8,0),COLOR0066BB;
STICKLINE(ABC9,CLOSE,OPEN,2.5,0),COLOR0077CC;
STICKLINE(ABC9,CLOSE,OPEN,2.2,0),COLOR0088DD;
STICKLINE(ABC9,CLOSE,OPEN,1.7,0),COLOR0099EE;
STICKLINE(ABC9,CLOSE,OPEN,1.2,0),COLOR00AAFF;
STICKLINE(ABC9,CLOSE,OPEN,0.7,0),COLOR00CCFF;
STICKLINE(ABC9,CLOSE,OPEN,0.2,0),COLORYELLOW;
STICKLINE(ABC10,HIGH,LOW,0,1),COLORGREEN;
STICKLINE(ABC10,CLOSE,OPEN,3.2,0),COLOR006600;
STICKLINE(ABC10,CLOSE,OPEN,2.6,0),COLOR008800;
STICKLINE(ABC10,CLOSE,OPEN,1.9,0),COLOR00AA00;
STICKLINE(ABC10,CLOSE,OPEN,1.1,0),COLOR00CC00;
STICKLINE(ABC10,CLOSE,OPEN,0.3,0),COLORGREEN;
STICKLINE(ABC10 AND ABC11,HIGH,LOW,0,1),COLORFF55FF;
STICKLINE(ABC10 AND ABC11,CLOSE,OPEN,3.2,0),COLOR880088;
STICKLINE(ABC10 AND ABC11,CLOSE,OPEN,2.6,0),COLORAA00AA;
STICKLINE(ABC10 AND ABC11,CLOSE,OPEN,1.9,0),COLORCC00CC;
STICKLINE(ABC10 AND ABC11,CLOSE,OPEN,1.1,0),COLOREE00EE;
STICKLINE(ABC10 AND ABC11,CLOSE,OPEN,0.3,0),COLORFF44FF;
STICKLINE(ABC9 AND ABC12,HIGH,LOW,0,1),COLORFF8800;
STICKLINE(ABC9 AND ABC12,CLOSE,OPEN,3.2,0),COLORFF2200;
STICKLINE(ABC9 AND ABC12,CLOSE,OPEN,2.6,0),COLORFF4400;
STICKLINE(ABC9 AND ABC12,CLOSE,OPEN,1.9,0),COLORFF6600;
STICKLINE(ABC9 AND ABC12,CLOSE,OPEN,1.1,0),COLORFF8800;
STICKLINE(ABC9 AND ABC12,CLOSE,OPEN,0.3,0),COLORFFAA00;
DRAWTEXT(CURRBARSCOUNT=ABC1/2+9,ABC3-ABC5/12,4),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=ABC1/2+9,ABC3-ABC5/3,5),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=ABC1/2+9,ABC4+ABC5/3,6),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=ABC1/2+9,ABC4+ABC5/10,7),COLORCYAN;
ABC13:=EMA(CLOSE,13)-EMA(CLOSE,55);
ABC14:=EMA(0.618*REF(ABC13,1)+0.382*ABC13,3);
ABC15:=REF(CLOSE,1);
ABC16:=EMA(HHV(HIGH,1),8);
ABC17:=EMA(CLOSE,8);
ABC18:=ABC17< REF(ABC17,1) AND CLOSE< ABC17;
ABC19:=IF(ABC16< REF(ABC16,1) OR ABC18,1,0);
ABC20:=SMA(MAX(CLOSE-ABC15,0),2,1)/SMA(Abs(CLOSE-ABC15),2,1)*100;
ABC21:=45;
ABC22:=20;
ABC23:=ABC20< ABC21 AND REF(ABC20,1)>ABC21;
ABC24:=ABC20< ABC22 AND REF(ABC20,1)>ABC22;
ABC25:=(COUNT(ABC19=1,4)=3 AND ABC19=0 AND OPEN< CLOSE AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.065)*10>=10 OR ((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.065 AND (REF(ABC24,1) OR REF(ABC23,1)));
DRAWICON(ABC25,LOW,9);
STICKLINE(ABC25,LOW,LOW+(HIGH-LOW)/2,2.7,0),COLORYELLOW;
STICKLINE(ABC25,LOW+(HIGH-LOW)/2,HIGH,2.7,0),COLORRED;