M1:=5;M2:=21;SHORT:=12;LONG:=26;MID:=9;
MA1:=MA(CLOSE,M1);
MA2:=MA(CLOSE,M2);
五日线XG1:=MA1>=MA2 AND C>=MA1;
五日量XG2:=crOSS(MA(V,5),MA(V,72)) AND vol>MA(V,5) ;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
macd:=(DIF-DEA)*2,COLORSTICK;
MacDXG3:=MACD>DIF AND MACD>DEA;
三线三上XG:五日线XG1 AND 五日量XG2 AND MACDXG3;