AA:EMA(C,5)-EMA(C,13),COLORRED,LINETHICK2;
BB:EMA(AA,3),COLORGREEN,LINETHICK1;
牛熊分水岭:0,COLORFF00FF,LINETHICK5,POINTDOT;
STICKLINE(AA>BB,AA,BB,2,0),COLORYELLOW;
DRAWICON(CROSS(AA,BB),AA*0.8,1),COLORRED;
DRAWICON(CROSS(BB,AA),BB*1.2,2),COLORGREEN;
X:=AA>REF(AA,1); Y:=REF(AA,3)>=REF(AA,2);Z:=REF(AA,2)>=REF(AA,1);Z1:=AA<BB;
注意:=X AND Y AND Z AND Z1 ;
DRAWTEXT(注意,AA*0.8,'注意!'),COLORYELLOW;