{洗盘拉升}{副图指标}JINGUHUI1:=HHV(HIGH,9)-LLV(LOW,9); JINGUHUI2:=HHV(HIGH,9)-CLOSE;JINGUHUI3:=CLOSE-LLV(LOW,9);JINGUHUI4:=JINGUHUI2/JINGUHUI1*100-70;JINGUHUI5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;JINGUHUI6:=(CLOSE+HIGH+LOW)/3;JINGUHUI7:=SMA(JINGUHUI3/JINGUHUI1*100,3,1);JINGUHUI8:=LLV(LOW,34);JINGUHUI9:=SMA(JINGUHUI7,3,1)-SMA(JINGUHUI4,9,1);JINGUHUIRA:=IF(JINGUHUI9>100,JINGUHUI9-100,0);JINGUHUIRB:=HHV(HIGH,34);JINGUHUIRC:=EMA((JINGUHUI6-JINGUHUI8)/(JINGUHUIRB-JINGUHUI8)*100,13);JINGUHUIRD:=EMA(0.667*REF(JINGUHUIRC,1)+0.333*JINGUHUIRC,2);JINGUHUIRE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;JINGUHUIRF:=MA(JINGUHUIRE,3);JINGUHUIR1:=HHV(HIGH,9)-LLV(LOW,9);JINGUHUIR2:=HHV(HIGH,9)-CLOSE;JINGUHUIR3:=CLOSE-LLV(LOW,9);JINGUHUIR4:=((JINGUHUIR2)/(JINGUHUIR1))*(100)-70;JINGUHUIR5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);JINGUHUIR6:=((2)*(CLOSE)+HIGH+LOW)/(4);JINGUHUIR7:=SMA(((JINGUHUIR3)/(JINGUHUIR1))*(100),3,1);JINGUHUIR8:=LLV(LOW,34);JINGUHUIR9:=SMA(JINGUHUIR7,3,1)-SMA(JINGUHUIR4,9,1);JINGUHUIR10:=IF((JINGUHUIR9>100),JINGUHUIR9-100,0);JINGUHUIR11:=HHV(HIGH,34);B1:=EMA(((JINGUHUIR6-JINGUHUIR8)/(JINGUHUIR11-JINGUHUIR8))*(100),8);DRAWKLINE(EMA(B1,5),EMA(B1,5),B1+1,B1);趋势线:EMA(B1,5),COLORRED;生命线:EMA(JINGUHUIRD,1),COLORYELLOW;A5:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1);低位区:=20;转强:IF(CROSS(A5,低位区),20,0),COLORLIRED,LINETHICK2;拉升:IF(CROSS(JINGUHUIRC,生命线) AND JINGUHUIRC>JINGUHUIRD AND JINGUHUIRC<55 AND C>O,20,0),STICK,COLORRED,LINETHICK2;DRAWTEXT(CROSS(A5,低位区),25,'低位'),COLORRED;DRAWTEXT(CROSS(JINGUHUIRC,生命线) AND JINGUHUIRC>JINGUHUIRD AND JINGUHUIRC<55 AND C>O,25,'关注'),COLORYELLOW;JINGUHUIR18:=HHV(HIGH,30);JINGUHUIR19:=LLV(LOW,30);NL:=EMA((CLOSE-JINGUHUIR19)/(JINGUHUIR18-JINGUHUIR19)*100,5)/8*10;DRAWTEXT(CROSS(5,NL),25,'低位'),COLORRED;JINGUHUIR44:=REF(CLOSE,1);JINGUHUIR45:=SMA(MAX(CLOSE-JINGUHUIR44,0),6,1)/SMA(ABS(CLOSE-JINGUHUIR44),6,1)*100;STICKLINE(CROSS(84,JINGUHUIR45),B1,B1+5,0.8,1),COLORYELLOW;DRAWTEXT(CROSS(84,JINGUHUIR45),B1+5,'洗盘后拉升'),COLORMAGENTA;