九毛八公式指标
请老师帮忙把(双趋势线)改成通达信选股公式,要求是MA5线在BBI线下方。当日价格上穿MA5并且收盘价在MA5线上。去除上影阳线和近期已经除权股即可。谢谢 MA5:MA(C,5),COLORGREEN; IF(MA5>=REF(MA5,1),MA5,DRAWNULL),COLORRED,LINETHICK2; BBI:EMA((WMA(CLOSE,3)+WMA(CLOSE,6)+WMA(CLOSE,12)+WMA(CLOSE,24))/4,13),COLORGREEN,LINETHICK2; IF(BBI>=REF(BBI,1),BBI,DRAWNULL),COLORRED,LINETHICK2;
公式模块:
MA5:=MA(C,5);
bbi:=EMA((WMA(CLOSE,3)+WMA(CLOSE,6)+WMA(CLOSE,12)+WMA(CLOSE,24))/4,13); MA5<BBI AND crOSS(C,MA5) AND C>O AND C=H;