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;STICKLINE(REF(J,7)< 0 AND J>1,10,0,10,0),COLOR00FF00;LIJIN1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;LIJIN2:=SMA(LIJIN1,3,1);LIJIN3:=SMA(LIJIN2,3,1);贵:=12,COLOR00FF00;LIJIN4:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);LIJIN5:=CROSS(LIJIN4,10) AND LIJIN3< 12;抄底:IF(LIJIN5,90,1),COLORRED;DRAWICON(LIJIN5,65,1);DRAWTEXT(LIJIN5,30,'抄底'),COLORYELLOW;备钱:IF(CROSS(10,LIJIN4),40,1),COLORFF00FF;DRAWICON(CROSS(10,LIJIN4),45,1);DRAWTEXT(IF(CROSS(10,LIJIN4),1,0),20,'$备钱'),COLORWHITE;危机线: 80,COLORRED,POINTDOT,LINETHICK2;中间线: 50,COLORFFCCCC,POINTDOT,LINETHICK2;安全线: 10,COLORFF00FF,POINTDOT,LINETHICK2;LIJIN6:=(2*CLOSE+HIGH+LOW)/4;LIJIN7:=LLV(LOW,36);LIJIN8:=HHV(HIGH,36);LIJIN9:=EMA((LIJIN6-LIJIN7)/(LIJIN8-LIJIN7)*100,13);LIJINA:=EMA(0.667*REF(LIJIN9,1)+0.333*LIJIN9,2);战术线: LIJIN9,COLORYELLOW,LINETHICK2;战略线: EMA(0.382*REF(LIJIN9,2)+0.618*LIJIN9,12),COLORBLUE;STICKLINE(LIJIN9>LIJINA,LIJIN9,LIJINA,6,0),COLORRED;STICKLINE(LIJIN9<=LIJINA,LIJIN9,LIJINA,6,0),COLOR00FF00;LIJINB:=SUM(IF(CLOSE>REF(CLOSE,7),VOL,IF(CLOSE< REF(CLOSE,7),0-VOL,0)),0);LIJINC:=SUMBARS(VOL,CAPITAL);LIJIND:=IF(CLOSE>LLV(CLOSE,LIJINC),1,-1);LIJINE:=IF(LIJINB>LLV(LIJINB,LIJINC),1,-1);LIJINF:=LIJIND*LIJINE;LIJIN10:=IF(LIJINF=-1,1,0);关注:IF(LIJIN10 AND CLOSE=LLV(CLOSE,20) AND LIJIN3< 12,70,1),COLORFFCC66;A1:=EMA(CLOSE,5);A2:=EMA(CLOSE,10);A3:=EMA(CLOSE,20);A4:=EMA(CLOSE,40);A5:=EMA(CLOSE,60);I:=MA(BARSLAST(HIGH=HHV(HIGH,16))*IF(CLOSE< OPEN,VOL,1),3);R:=MA(BARSLAST(LOW=LLV(LOW,18))*IF(CLOSE>OPEN,VOL,1),4);短线逃顶:=IF(I,0,1),COLORGREEN;DRAWICON(短线逃顶,90,2);LC:=REF(CLOSE,1);Z1:=SMA(MAX(CLOSE-LC,0),10,1)/SMA(ABS(CLOSE-LC),10,1)*100;DRAWTEXT(CROSS(Z1,20),0,'底'),COLORRED;DRAWTEXT(CROSS(80,Z1),100,'顶'),COLORGREEN;