wr1:=110*(HHV(HIGH,10)-EMA(C,1))/(HHV(HIGH,10)-LLV(LOW,10));
WR2:=110*(HHV(HIGH,2)-EMA(C,1))/(HHV(HIGH,2)-LLV(LOW,2));
G:=BArslAST(crOSS(WR1,WR2))/2+12;
XG1:WR2>G;
XG2:G>WR2;
DRAWTEXT(CROSS(XG1,XG2),XG1,'快卖 ')COLORGREEN;
DRAWTEXT(CROSS(XG2,XG1),XG2,'快买 ')COLORRED;