月N:=MONTH;
月HIGH:=IF(MONTH=月N,HHV(H,19),0);
月LOW:=IF(MONTH=月N,LLV(L,19),0);
月CLOSE:=IF(MONTH=月N,CLOSE,0);
月RSV:=(月CLOSE-LLV(月LOW,9*20))/(HHV(月HIGH,9*20)-LLV(月LOW,9*20))*100;
80,colorgray;
57,colorligray;
70,colorlired;
月K:=SMA(月RSV,3,1),colorwhite ;
月D:=SMA(月K,3,1),coloryellow ;
月J:3*月K-2*月D,coloryellow,LINETHICK2;
周N:=WEEkdAY;
周HIGH:=IF(WEEKDAY=周N,HHV(H,4),0);
周LOW:=IF(WEEKDAY=周N,LLV(L,4),0);
周CLOSE:=IF(WEEKDAY=周N,CLOSE,0);
周RSV:=(周CLOSE-LLV(周LOW,45))/(HHV(周HIGH,45)-LLV(周LOW,45))*100;
周K:=SMA(周RSV,3,1),colorwhite ;
周D:=SMA(周K,3,1),coloryellow ;
周J:3*周K-2*周D,colorlicyan,LINETHICK2;
DRAWICON(周J-REF(周J,1)>12 AND 月J-REF(月J,1)>2,40,1);
H100:=C/HHV(H,110)-1,colorblue;
H110新高:DRAWTEXT(H100>-0.105 AND REF(H100,1)<-0.105,4,'新高'),colorlired;
DRAWNUMBER(crOSS(月J,70),23,BArslASTCOUNT(REF(月J,1)<70)),coloryellow;
DRAWNUMBER(CROSS(周J,80),47,BARSLASTCOUNT(REF(周J,1)<80)),colorlicyan;
模糊买点:DRAWICON(月J-REF(月J,1)>5.5 AND 月J<70 AND 月J-周J<17,10,1);
谨慎买点:DRAWICON(月J-REF(月J,1)>12 AND 月J<80,5,1);
五天有3:80*EXIST(SUM((月J-REF(月J,1)>5.5 AND 月J<80 AND 月J-周J<17),5)>2,4),colorred;