STICKLINE(1,90,90,1,0),COLORGREEN;
STICKLINE(1,10,10,1,0),COLORYELLOW;
STICKLINE(1,0,0,20,0),COLORYELLOW;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,13);
VAR8:=HHV(HIGH,13);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
RSV:= (CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
FASTK:=SMA(RSV,5,1);
K:=SMA(FASTK,5,1);
D:=SMA(K,3,1);
AA1:=K-REF(K,1);
STICKLINE(VAR9>VARA,VARA,VARA+(1/5)*(VAR9-VARA),4,0),COLOR00FFFF;
STICKLINE(VAR9>VARA,VARA+(1/5)*(VAR9-VARA),VARA+(2/5)*(VAR9-VARA),4,0),COLOR00CCFF;
STICKLINE(VAR9>VARA,VARA+(2/5)*(VAR9-VARA),VARA+(3/5)*(VAR9-VARA),4,0),COLOR0099FF;
STICKLINE(VAR9>VARA,VARA+(3/5)*(VAR9-VARA),VARA+(4/5)*(VAR9-VARA),4,0),COLOR0066FF;
STICKLINE(VAR9>VARA,VARA+(4/5)*(VAR9-VARA),VARA+(5/5)*(VAR9-VARA),4,0),COLOR0033FF;
STICKLINE(VAR9<=VARA,VARA,VARA-(1/5)*(VAR9-VARA),4,0),COLOR00FF33;
STICKLINE(VAR9<=VARA,VARA-(1/5)*(VAR9-VARA),VARA-(2/5)*(VAR9-VARA),4,0),COLOR33FF33;
STICKLINE(VAR9<=VARA,VARA-(2/5)*(VAR9-VARA),VARA-(3/5)*(VAR9-VARA),4,0),COLOR66FF33;
STICKLINE(VAR9<=VARA,VARA-(3/5)*(VAR9-VARA),VARA-(4/5)*(VAR9-VARA),4,0),COLOR99FF33;
STICKLINE(VAR9<=VARA,VARA-(4/5)*(VAR9-VARA),VARA-(5/5)*(VAR9-VARA),4,0),COLORCCFF33;
STICKLINE(AA1>0,REF(K,1),REF(K,1)+(1/5)*(K-REF(K,1)),6,0),COLOR0000FF;
STICKLINE(AA1>0,REF(K,1)+(1/5)*(K-REF(K,1)),REF(K,1)+(2/5)*(K-REF(K,1)),6,0),COLOR3300FF;
STICKLINE(AA1>0,REF(K,1)+(2/5)*(K-REF(K,1)),REF(K,1)+(3/5)*(K-REF(K,1)),6,0),COLOR6600FF;
STICKLINE(AA1>0,REF(K,1)+(3/5)*(K-REF(K,1)),REF(K,1)+(4/5)*(K-REF(K,1)),6,0),COLOR9900FF;
STICKLINE(AA1>0,REF(K,1)+(4/5)*(K-REF(K,1)),REF(K,1)+(5/5)*(K-REF(K,1)),6,0),COLORCC00FF;
STICKLINE(AA1<=0,REF(K,1),K,6,0),COLORFFFF00;
快速涨:IFF(VAR9>VARA,(VAR9+VARA)/2,DRAWNULL),NODRAW,COLOR00FFFF;
快速跌:IFF(VAR9<=VARA,(VAR9+VARA)/2,DRAWNULL),NODRAW,COLOR00FF33;
慢速涨:IFF(AA1>0,K,DRAWNULL),NODRAW,COLORCC00FF;
慢速跌:IFF(AA1<=0,K,DRAWNULL),NODRAW,COLORFFFF00;
版权声明:文章来自网络!方法技巧仅供参考!拾荒网10Huang.CN,财富在手十指紧握!与努力的人共勉!