短线:=((CLOSE-MA(CLOSE,5))/MA(CLOSE,5))*30,LINETHICK1,COLORYELLOW;
红柱持股:=SMA(短线,3,1)*20,LINETHICK1,COLORRED;
INDEX:=cci(14);
专家:=crOSS(INDEX,-100),LINETHICK9,COLORRED;
A1X:=BArslAST(CROSS("macd.DIF","MacD.DEA"));
B1:=REF(C,A1X+1)> C AND REF("MACD.DIF",A1X+1)<"MACD.DIF" {AND CROSS("MACD.DIF","MACD.DEA")};
底背:=B1>0,LINETHICK6,COLORYELLOW;
选股:(专家 AND (底背 OR REF(底背,1) OR REF(底背,2))) OR (底背 AND (专家 OR REF(专家,1) OR REF(专家,2))) AND C>=REF(O,1)*1.02 AND 红柱持股>=REF(红柱持股,1) AND 红柱持股>-6 AND C>=REF(C,1)*1.01,LINETHICK3,COLORFF00FF;