压力1:MA(REF(HHV(C,30),1),2),LINETHICK1,COLORFF0000;
支撑1:MA(REF(LLV(C,30),1),2),LINETHICK1,COLORFF0000;
上升趋势:EMA(CLOSE,5),COLORWHITE,LINETHICK2;
支撑压力:EMA(CLOSE,21),COLORYELLOW,LINETHICK1;
Y:=EMA(CLOSE,10),LINETHICK0;
X:=EMA(CLOSE,16),LINETHICK0;
STICKLINE(上升趋势<支撑压力,支撑压力,上升趋势,0.1,0)
,COLOR00FF00,LINETHICK1;
DRAWTEXT(crOSS(上升趋势,支撑压力),上升趋势,'★买') ,COLORFF00FF;
DRAWTEXT((C<=X)AND(上升趋势>Y),L*0.99,'●'),COLORE66878;
DRAWICON((C<=X)AND(上升趋势>Y),L*0.97,4);