中期线:=EMA(CLOSE,140),LINETHICK1,COLORBLUE;
中期线1:=EMA(CLOSE,86),LINETHICK1,COLORBLUE;
中期线2:=EMA(CLOSE,100),LINETHICK1,COLORBLUE;
中期线3:=EMA(CLOSE,110),LINETHICK1,COLORBLUE;
年线:=EMA(C,312)*0.99,COLORRED,LINETHICK1;
年线1:=EMA(C,262)*0.99,COLORRED,LINETHICK1;
年线2:=EMA(C,274)*0.99,COLORRED,LINETHICK1;
年线3:=EMA(C,290)*0.99,COLORRED,LINETHICK1;
HZ:=EMA(CLOSE,6),COLORRED,LINETHICK1;
短波:=EMA(HZ,3),COLORRED,LINETHICK1;
中波:=EMA(HZ,26),COLORYELLOW,LINETHICK1;
均线148天:=EMA(C,148),LINETHICK1,COLORGREEN;
成本:=SUM(AMOUNT,0)/SUM(vol,0)/100,COLORYELLOW ,LINETHICK2 ;
HZ2:=EMA(HZ,8),COLORRED,LINETHICK1;
HZ4:=EMA(HZ,34),COLORYELLOW,LINETHICK1;
HZ41:=EMA(HZ,32),COLORYELLOW,LINETHICK1;
HZ42:=EMA(HZ,30),COLORYELLOW,LINETHICK1;
强势1:=IF((EVERY(短波>=REF(短波,1),1)),10,5)COLOR0000FF,LINETHICK3;
强势2:=IF((EVERY(HZ2>=REF(HZ2,1),1)),10,5)COLOR0000FF,LINETHICK3;
强势3:=IF((EVERY(HZ4>=REF(HZ4,1),1)),10,5)COLOR0000FF,LINETHICK3;
强势4:=IF((EVERY(中波>=REF(中波,1),1)),10,5)COLOR0000FF,LINETHICK3;
强势5:=IF((EVERY(中期线>=REF(中期线,1),1)),10,5)COLOR0000FF,LINETHICK3;
强势6:=IF((EVERY(年线>=REF(年线,1),1)),10,5)COLOR0000FF,LINETHICK3;
XG:=IF({强势1=10 AND 强势2=10 AND} 强势3=10 AND 强势4=10 AND 强势5=10 AND 强势6=10,5,0);
XG低买:crOSS(XG,0.01);