高1:=REF(HHV(H,144),3);
低1:=REF(LLV(L,144),3);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
顶:REFDATE(高1,DATE),POINTDOT,COLORCYAN;
%19:=REFDATE(H1,DATE),POINTDOT,COLORYELLOW;
%38:REFDATE(H2,DATE),POINTDOT,COLORYELLOW;
%50:REFDATE(H3,DATE),POINTDOT,COLORWHITE;
%62:REFDATE(H4,DATE),POINTDOT,COLORYELLOW;
%80:=REFDATE(H5,DATE),POINTDOT,COLORYELLOW;
☆突破价:REF(EMA(C,14),1)COLORBLUE;
A1X:=(EMA(C,14)-☆突破价)/☆突破价*100,NODRAW;
★操作区:IF(A1X>=0,REF(EMA(C,14),BArslAST(crOSS(A1X,0))+1),DRAWNULL)COLORGREEN,LINETHICK2;
☆观望区:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)COLORBLUE,LINETHICK2;
趋势而为:IF(A1X>=0,☆突破价,DRAWNULL)COLORGREEN;
STICKLINE(A1X>=0,★操作区,☆突破价,0,-1)COLORGREEN;
STICKLINE(A1X<0,☆观望区,☆突破价,0,-1)COLORBLUE;
STICKLINE(CROSS(A1X,0),C,O,2,0)COLORGREEN;
STICKLINE(CROSS(0,A1X),C,O,2,0)COLORBLUE;