请高手把这条公式出现抄底作为选股公式谢谢
STICKLINE("MACD.MACD">REF("MACD.MACD",1)AND"MACD.MACD">0,"MACD.MACD",0,0,-1),COLORLIR...
STICKLINE("MACD.MACD">REF("MACD.MACD",1) AND "MACD.MACD">0,"MACD.MACD",0,0,-1),COLORLIRED;
STICKLINE("MACD.MACD">REF("MACD.MACD",1) AND "MACD.MACD"<0,"MACD.MACD",0,0,-1),COLORLIGRAY;
STICKLINE("MACD.MACD"<REF("MACD.MACD",1) AND "MACD.MACD">0,"MACD.MACD",0,0,-1),COLORLICYAN;
STICKLINE("MACD.MACD"<REF("MACD.MACD",1) AND "MACD.MACD"<0,"MACD.MACD",0,0,-1),COLORLIGREEN;
抄底:ABS((CROSS("MACD.DIF","MACD.DEA") && "MACD.DEA"<=-0.07)*"MACD.DIF")*1.28,COLORLIMAGENTA,LINETHICK2,STICK;
QA:"MACD.DIF",COLORWHITE,LINETHICK2;
QB:"MACD.DEA",COLORCYAN;
上涨:IF(QA>QB,QA,DRAWNULL),COLORRED,LINETHICK2;
下跌:IF(QA<QB,QA,DRAWNULL),COLORLIGREEN,LINETHICK2;
NOTEXTWB:IF(QB<QA,QB,DRAWNULL),COLORMAGENTA,LINETHICK1;
DRAWTEXT(ABS(抄底)>0,抄底*0.97,' 抄底'),COLORYELLOW;
DRAWICON(ABS(抄底)>0,-0.08,11);
DRAWICON(CROSS(QA,QB) AND QA<0.6,QB*0.98,1);
DRAWICON(CROSS(QB,QA) AND QB>0.5,QB*1.02,2);
NOTEXTAAA:0,DOTLINE,COLORGRAY;
VAR1:="MACD.MACD">REF("MACD.MACD",1) AND "MACD.MACD"<0 AND REF("MACD.MACD",1)<REF("MACD.MACD",2);
进:VAR1,COLORMAGENTA,NODRAW;
STICKLINE(VAR1,0,"MACD.MACD",0.2,0),COLORMAGENTA; 展开
STICKLINE("MACD.MACD">REF("MACD.MACD",1) AND "MACD.MACD"<0,"MACD.MACD",0,0,-1),COLORLIGRAY;
STICKLINE("MACD.MACD"<REF("MACD.MACD",1) AND "MACD.MACD">0,"MACD.MACD",0,0,-1),COLORLICYAN;
STICKLINE("MACD.MACD"<REF("MACD.MACD",1) AND "MACD.MACD"<0,"MACD.MACD",0,0,-1),COLORLIGREEN;
抄底:ABS((CROSS("MACD.DIF","MACD.DEA") && "MACD.DEA"<=-0.07)*"MACD.DIF")*1.28,COLORLIMAGENTA,LINETHICK2,STICK;
QA:"MACD.DIF",COLORWHITE,LINETHICK2;
QB:"MACD.DEA",COLORCYAN;
上涨:IF(QA>QB,QA,DRAWNULL),COLORRED,LINETHICK2;
下跌:IF(QA<QB,QA,DRAWNULL),COLORLIGREEN,LINETHICK2;
NOTEXTWB:IF(QB<QA,QB,DRAWNULL),COLORMAGENTA,LINETHICK1;
DRAWTEXT(ABS(抄底)>0,抄底*0.97,' 抄底'),COLORYELLOW;
DRAWICON(ABS(抄底)>0,-0.08,11);
DRAWICON(CROSS(QA,QB) AND QA<0.6,QB*0.98,1);
DRAWICON(CROSS(QB,QA) AND QB>0.5,QB*1.02,2);
NOTEXTAAA:0,DOTLINE,COLORGRAY;
VAR1:="MACD.MACD">REF("MACD.MACD",1) AND "MACD.MACD"<0 AND REF("MACD.MACD",1)<REF("MACD.MACD",2);
进:VAR1,COLORMAGENTA,NODRAW;
STICKLINE(VAR1,0,"MACD.MACD",0.2,0),COLORMAGENTA; 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询