MA1:=EMA(C,30);
MA2:=EMA(C,900);
STICKLINE((MA1>MA2),MA1,MA2,0,0),COLOR1000FF;
STICKLINE((MA1<MA2),MA1,MA2,0,0),COLOR00FF00;
GJ:C,COLORWHITE;
JJ:SUM(C*V,FROMOPEN)/SUM(V,FROMOPEN),COLORYELLOW,LINETHICK1.5;
均量:=MA(V,5);
量连增:=均量>REF(均量,1) AND REF(均量,1)>REF(均量,2);
价连涨:=C>=REF(C,1) AND REF(C,1)>REF(C,2);
价量线上:=C>JJ AND V>均量;
倍量:=V>=REF(V,1)*2 ;
价新高:=C>=HHV(C,FROMOPEN);
量新高:=V>=HHV(V,FROMOPEN);
限幅:=C/DYNAINFO(3)<=1.02;
{www.gupang.com 股旁网_通达信指标公式}
起爆:=FILTER(量连增 AND 价连涨 AND 价量线上 AND 倍量 AND 价新高 AND 量新高 AND 限幅,20);
DRAWTEXT(起爆,C,'起爆'),COLOR00FFFF;
DRAWICON(起爆,C,1);
STICKLINE(起爆,C,JJ,1,0),COLOR1000FF;
VV:=BARSSINCE(起爆);
起爆价:=REF(C,VV);
起爆时间:=REF(TIME/10000,VV);
收益:=(DYNAINFO(7)-起爆价)/起爆价*100;
DRAWICON(VV>=2,起爆价,13);
DRAWTEXT_FIX(1,0,1,0,'起爆时间:'),COLOR00FFFF;
DRAWNUMBER_FIX(1,0.06,1,0,CONST(起爆时间)),COLOR00FFFF;
DRAWTEXT_FIX(1,0.12,1,0,'起爆价:'),COLOR00FFFF;
DRAWNUMBER_FIX(1,0.17,1,0,CONST(起爆价)),COLOR00FFFF;
DRAWTEXT_FIX(1,0.24,1,0,'收益:'),COLOR00FFFF;
DRAWNUMBER_FIX(1,0.28.06,1,0,CONST(收益)),COLOR00FFFF;
DRAWTEXT_FIX(ISLASTBAR,0.35,1,0,'提示:如加上20日均线上行+日线新高+日线量起爆+日线予测换手率小于10则胜算更大'),COLORFFFF00;
202108201656.jpg
|