{火车轨}
S:=crOSS(CLOSE,EMA(HIGH,30));
X:=CROSS(EMA(LOW,30),CLOSE);
WS:=BArslAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
STICKLINE(CLOSE>EMA(HIGH,30),EMA(HIGH,30),EMA(LOW,30),1,1),colorred;
STICKLINE(CLOSE
STICKLINE(CLOSE
PARTLINE(CLOSE
PARTLINE(CLOSE
PARTLINE(CLOSE
PARTLINE(CLOSE
DRAWICON(SS,LOW*0.98,8);
DRAWTEXT(XX,HIGH*1.035,'S'),colorgreen;
DRAWICON(XX,HIGH*1.02,9);