分时线显示出起爆点的时间 价咯和最后收盘时的收益 该公式导入简单一看就明白 图片就会发一个 请大家多多谅解
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;
起爆:=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;
201472013583161353.png
|