ma3:MA(C,5),colorf00ff0;
ma10:MA(C,10),coloryellow;
ma21:MA(C,21),colore66878;
ma30:MA(C,30),colorwhite;
ma120:MA(C,120),color399c7f,POINTDOT;
ma240:MA(C,240),color000999,POINTDOT;
x1:=(C+L+H)/3;
x2:=EMA(x1,6);
x3:=EMA(x2,5);
DRAWICON(CROSS(X2,X3),L-0.1,10);
DRAWICON(CROSS(X3,X2),H+0.1,12);
STICKLINE(x2>=x3,LOW,HIGH,0.1,1),colorred;
STICKLINE(x2>=x3,CLOSE,OPEN,9,2),colorred;
STICKLINE(x2>=x3,CLOSE,OPEN,9,8),;
STICKLINE(x2 STICKLINE(x2 STICKLINE(CROSS(X2,X3),OPEN,CLOSE,6,1),coloryellow; STICKLINE(CROSS(X3,X2),OPEN,CLOSE,6,1),colorblue;