工作线:=EMA(C,13);
止盈线:EMA(C,7),LINETHICK1,COLORGRAY;
生命线:EMA(C,25),COLORYELLOW,LINETHICK2;
准备区:IF(C>=工作线 AND EMA(C,14)<EMA(C,25),工作线,DRAWNULL), COLORMAGENTA, LINETHICK2;
工作区:IF(C>=工作线 AND EMA(C,14)>=EMA(C,25),工作线,DRAWNULL), COLORRED, LINETHICK2;
休息区:IF(C<工作线,工作线,DRAWNULL), COLORGREEN, LINETHICK2;
BOLL_UPPER:MA(CLOSE,23)+2*STD(CLOSE,23),COLORBLUE;
BOLL_LOWER:MA(CLOSE,23)-2*STD(CLOSE,23),COLORLICYAN;
DRAWICON(CROSS(工作线,生命线),工作线,5);
DRAWICON(CROSS(C,生命线) AND C>EMA(C,14),L,1);
DRAWICON(COUNT(C<EMA(C,7),2)=2 AND EMA(C,7)>EMA(C,14) AND COUNT(C>止盈线,6)>=3,H,2);
DRAWICON(CROSS(生命线,工作线),LOW,4);