ma5:=MA(CLOSE,5),colorgreen,linethick1;
买卖线增平仓线10:MA(CLOSE,10),color778899,linethick1;
中线趋势20:MA(CLOSE,20),colorwhite,linethick3;
上轨:中线趋势20+2*STD(CLOSE,20),colorred,linethick2;
下轨:中线趋势20-2*STD(CLOSE,20),colorgreen,linethick2;
生命线:=MA(CLOSE,30),colorwhite,linethick1;
多空趋势60:=MA(CLOSE,60),colorliblue,linethick1;
半年线:=MA(CLOSE,120),colorblue,linethick1;
DRAWTEXT(CROSS(中线趋势20,生命线),生命线*0.98,'回调买'),colorgreen,linethick2;
DRAWTEXT(CROSS(生命线,多空趋势60),多空趋势60*0.98,'走牛'),COLOR0000FF,linethick2;
DRAWTEXT(CROSS(多空趋势60,半年线),半年线*0.98,'长牛'),COLOR999999,linethick2;
STICKLINE(C/REF(C,1)>1.0925 AND C=H,CLOSE,OPEN,8,0),colormagenta;