九毛八公式指标
公式模块:
雷达监控
DIFF :=( EMA(CLOSE,12) - EMA(CLOSE,26))*100;
DEA :=EMA(DIFF,9);
macd :=2*(DIFF-DEA);
绿柱消失买入:STICKLINE(DIFF<0,0,DIFF,2,0),COLOR00FF00;
红柱消失卖出:STICKLINE(DIFF>=0,0,DIFF,2,0),COLORRED;
STICKLINE(DEA>=0,0,DEA,2,0),COLORBLUE;
STICKLINE(DEA<0,0,DEA,2,0),COLORYELLOW;
DRAWICON(crOSS(DIFF,DEA),DEA*1.1,1);
DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2);
强1:IF(DIFF>DEA,DIFF,DRAWNULL),COLORRED,LINETHICK2;
强2:IF(DEA<DIFF,DEA,DRAWNULL),COLORMAGENTA,LINETHICK2;
抄底:=ABS((CROSS("MacD.DIF","MACD.DEA")
&&"MACD.DEA"<=-0.07)*"MACD.DIF")*1.09,COLORLIMAGENTA,LINETHICK2;
DRAWTEXT(ABS(抄底)>0,抄底,' 抄底'),COLORRED;
DRAWICON(ABS(抄底)>0,抄底,9);
{雷达监控}
DIFF:(EMA(CLOSE,12) - EMA(CLOSE,26))*100;
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA);
绿柱消失买入:STICKLINE(DIFF<0,0,DIFF,8,0),COLOR00FF00;
红柱消失卖出:STICKLINE(DIFF>=0,0,DIFF,8,0),COLORRED;
STICKLINE(DEA>=0,0,DEA,8,0),COLORBLUE;
STICKLINE(DEA<0,0,DEA,8,0),COLORYELLOW;
DRAWICON(CROSS(DIFF,DEA),DEA*1.1,1);
DRAWICON(CROSS(DEA,DIFF),DEA*1.1,2);
PARTLINE(DIFF,DIFF>DEA,RGB(250,0,0)),LINETHICK2;
PARTLINE(DEA,DEA<DIFF,RGB(100,0,200)),LINETHICK2;
抄底:ABS((CROSS("MACD.DIFF","MACD.DEA")AND"MACD.DEA"<=-0.07)*"MACD.DIFF")*1.09,COLOR8977ff,LINETHICK2;
DRAWTEXT(ABS(抄底)>0,抄底,'抄底'),COLORRED;
DRAWICON(ABS(抄底)>0,抄底,9);