YC_:=((CLOSE-REF(MA(CLOSE,6),1))/6+MA(CLOSE,6))*1.004;买进条件:=OSS(CLOSE,YC_买进) AND YC_买进>REF(YC_买进,1);YC_:=((CLOSE-REF(MA(CLOSE,18),1))/18+MA(CLOSE,18))*1.004;加仓条件:=CROSS(CLOSE,YC_加仓) AND YC_加仓>REF(YC_加仓,1);YG_回挡:=SMA(HIGH,21,2) * 1.05;YG_:=(CLOSE < REF> YG_回挡) AND CLOSE < YG_回挡;:买进条件 AND 加仓条件;