形态好:=crOSS(CLOSE,ma(CLOSE,5)) OR CROSS(CLOSE,MA(CLOSE,8)) OR CROSS(CLOSE,MA(CLOSE,24)) OR CROSS(CLOSE,MA(CLOSE,55)) OR CROSS(CLOSE,MA(CLOSE,60)) OR CROSS(CLOSE,MA(CLOSE,75)) OR CROSS(CLOSE,MA(CLOSE,120)) OR CROSS(CLOSE,MA(CLOSE,188)) OR CROSS(CLOSE,MA(CLOSE,240)),COLORRED;
量能足:=CROSS(obv,MA(OBV,5)) OR CROSS(MA(OBV,5),MA(OBV,10)) OR CROSS(MA(OBV,5),MA(OBV,20)) OR CROSS(MA(OBV,5),MA(OBV,60)),COLORLIMAGENTA;
大盘环境好:=INDEXC>REF(INDEXC,1),COLORYELLOW;
XG:形态好 AND 量能足 AND 大盘环境好;