指标为了方便寻找好的股票,今天看了咖啡猫老师的指标感觉很有思路,但是没有结合其他参考,对使用者会产生理解问题,所以用了个抄底指标来完善,源码提供。取只理想,用之理想
柱:IF("MACD.MACD">REF("MACD.MACD",1),"MACD.MACD",DRAWNULL),STICK,COLORR ED;
绿柱:IF("MACD.MACD"STICK,COLORYELLOW;
_抄底:ABS((CROSS("MACD.DIF","MACD.DEA")
&&"MACD.DEA"<=-0.07)*"MACD.DIF")*1.50,COLORLIMAGENTA;
_DIF:"MACD.DIF",COLORWHITE;
_DEA:"MACD.DEA",COLORYELLOW;
__强度:IF(_DIF>_DEA,_DIF,DRAWNULL),COLORRED,LINETHICK2;
_强度:IF(_DEA<_DIF,_DEA,DRAWNULL),COLORMAGENTA,LINETHICK2; DRAWTEXT(ABS(_抄底)>0,_抄底*1.20,' 抄底'),COLORYELLOW;
DRAWICON(ABS(_抄底)>0,_抄底*1.10,4);
DRAWICON(CROSS(_DIF,_DEA),_DEA,1);
DRAWICON(CROSS(_DEA,_DIF),_DEA,2);
M1:=MA(C,5);
M2:=MA(C,10);
M3:=MA(C,20);
M4:=MA(C,30);
M5:=MA(C,60);
XG1:=REF(C,1)XG:=XG1 AND (CROSS(M1,M2) OR CROSS(REF(M1,1),REF(M2,1))) AND M2>M3 AND
M3>M4 AND M4>M5 AND MA(V,5)>MA(V,10) AND CROSS(MACD.DIF,MACD.DEA) AND MACD.DIF<0.2 ,COLORRED;
DRAWTEXT(XG,0.058,'起爆'),COLORRED;