请高手将下面通达信的指标公式改成“暴涨、翻番涨、近期可能涨停”三个选股预警公式,谢谢!
DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA1:=EMA(DIF1,9);{柱状线}AAA1:=(DIF1-DEA1)*2*60;AAA...
DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA1:=EMA(DIF1,9);
{柱状线}
AAA1:=(DIF1-DEA1)*2*60;
AAA上:IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL),STICK,COLORRED,LINETHICK8;
AAA下:IF(AAA1<REF(AAA1,1),AAA1,DRAWNULL),STICK,COLORGREEN,LINETHICK8;
黑码线:15;
主力:AAA1-REF(AAA1,1),COLORRED;
DRAWICON(CROSS(主力,黑码线),黑码线,1);
中轴线:0;
关注线:7;
MM:=主力>30 AND 主力<70 AND AAA上>0 ;
DRAWTEXT(MM,(主力)*(0.928),'暴涨'),COLORFF00FF;
MM1:=主力>15 AND 主力<30 AND AAA上>0;
DRAWTEXT(MM1,(主力)*(0.928),'涨'),COLORYELLOW;
MM2:=主力>80 AND AAA上>0 ;
DRAWTEXT(MM2,(主力)*(0.928),'翻翻涨),COLORWHITE;
MM3:=CROSS(主力,2) AND CROSS(AAA上,0.5) AND 主力>AAA上 AND 主力<15;
DRAWTEXT(MM3,(主力)*(0.928),'近期可能涨停'),COLORE66878; 展开
DEA1:=EMA(DIF1,9);
{柱状线}
AAA1:=(DIF1-DEA1)*2*60;
AAA上:IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL),STICK,COLORRED,LINETHICK8;
AAA下:IF(AAA1<REF(AAA1,1),AAA1,DRAWNULL),STICK,COLORGREEN,LINETHICK8;
黑码线:15;
主力:AAA1-REF(AAA1,1),COLORRED;
DRAWICON(CROSS(主力,黑码线),黑码线,1);
中轴线:0;
关注线:7;
MM:=主力>30 AND 主力<70 AND AAA上>0 ;
DRAWTEXT(MM,(主力)*(0.928),'暴涨'),COLORFF00FF;
MM1:=主力>15 AND 主力<30 AND AAA上>0;
DRAWTEXT(MM1,(主力)*(0.928),'涨'),COLORYELLOW;
MM2:=主力>80 AND AAA上>0 ;
DRAWTEXT(MM2,(主力)*(0.928),'翻翻涨),COLORWHITE;
MM3:=CROSS(主力,2) AND CROSS(AAA上,0.5) AND 主力>AAA上 AND 主力<15;
DRAWTEXT(MM3,(主力)*(0.928),'近期可能涨停'),COLORE66878; 展开
展开全部
DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA1:=EMA(DIF1,9);
AAA1:=(DIF1-DEA1)*2*60;
AAA上:=AAA1>REF(AAA1,1);
AAA下:=AAA1<REF(AAA1,1);
主力:=AAA1-REF(AAA1,1);
MM:=主力>30 AND 主力<70 AND AAA上>0;
暴涨:MM;
DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA1:=EMA(DIF1,9);
AAA1:=(DIF1-DEA1)*2*60;
AAA上:=AAA1>REF(AAA1,1);
AAA下:=AAA1<REF(AAA1,1);
主力:=AAA1-REF(AAA1,1);
MM2:=主力>80 AND AAA上>0;
翻翻涨:MM2;
DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA1:=EMA(DIF1,9);
AAA1:=(DIF1-DEA1)*2*60;
AAA上:=AAA1>REF(AAA1,1);
AAA下:=AAA1<REF(AAA1,1);
主力:=AAA1-REF(AAA1,1);
MM3:=CROSS(主力,2) AND CROSS(AAA上,0.5) AND 主力>AAA上 AND 主力<15;
近期可能涨停:MM3;
DEA1:=EMA(DIF1,9);
AAA1:=(DIF1-DEA1)*2*60;
AAA上:=AAA1>REF(AAA1,1);
AAA下:=AAA1<REF(AAA1,1);
主力:=AAA1-REF(AAA1,1);
MM:=主力>30 AND 主力<70 AND AAA上>0;
暴涨:MM;
DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA1:=EMA(DIF1,9);
AAA1:=(DIF1-DEA1)*2*60;
AAA上:=AAA1>REF(AAA1,1);
AAA下:=AAA1<REF(AAA1,1);
主力:=AAA1-REF(AAA1,1);
MM2:=主力>80 AND AAA上>0;
翻翻涨:MM2;
DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA1:=EMA(DIF1,9);
AAA1:=(DIF1-DEA1)*2*60;
AAA上:=AAA1>REF(AAA1,1);
AAA下:=AAA1<REF(AAA1,1);
主力:=AAA1-REF(AAA1,1);
MM3:=CROSS(主力,2) AND CROSS(AAA上,0.5) AND 主力>AAA上 AND 主力<15;
近期可能涨停:MM3;
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询