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;