年RS:="RSI.RSI1#year";年SI:="RSI.RSI3#year";月RS:="RSI.RSI1#MONTH"; 月SI:="RSI.RSI3#MONTH";周RS:=EMA("RSI.RSI1#WEEK"(14,3,3),3);周SI:=EMA("RSI.RSI3#WEEK"(14,3,3),21); FILLRGN(年RS>年SI and 年RS>50,0,10),COLOR999999;FILLRGN(月RS>月SI,0,8),COLOR660066; 观望:FILLRGN(年RS<年SI and 年RS>40 and 年RS<60,0,6),COLOR009900; 分析:FILLRGN(月RS<月SI and 月RS>50,0,4),COLOR0066FF; 机会:partline(年RS>年SI and 年RS>50,10),COLOR0000FF,LINETHICK4; 持仓:partline(月RS>月SI,8),COLOREEEEEE,LINETHICK4; partline(年RS<年SI and 年RS>40 and 年RS<60,6),COLOR00FFFF,LINETHICK2; partline(月RS<月SI and 月RS>50,4),COLOR66FF00,LINETHICK2; 钱坑:FILLRGN(周RS>周SI,0,2.5),COLORFF6600; VERTLINE(cross(年RS,年SI)),COLORFFFFFF,LINEDOT; VERTLINE(cross(月RS,月SI)),COLORFF00FF,LINEDOT; VERTLINE(cross(年SI,年RS)),COLOR00FF00,LINEDOT; VERTLINE(cross(月SI,月RS)),COLORFFFF00,LINEDOT; DRAWTEXT(cross(年RS,年SI),1,'▲'),COLORRED; DRAWTEXT(cross(年SI,年RS),10,'?'),COLORFFFF00; DRAWICON(cross(月RS,月SI),2.5,1); DRAWICON(cross(月SI,月RS),8,2); 选股1:cross(月RS,月SI),LINETHICK; 选股2:cross(年RS,年SI),LINETHICK; |