请高手将通达信分时指标改为预警公式,就是出现红色起爆箭头时作出预警 。
流通盘:CAPITAL*100/100000000,NODRAW;量:=VOL,VOLSTICK;五日量:MA(量,5),COLORWHITE;瘦石:=IF(C>REF(...
流通盘:CAPITAL*100/100000000,NODRAW;
量:=VOL,VOLSTICK;
五日量:MA(量,5),COLORWHITE;
瘦石:=IF(C>REF(C,1),VOL,0);
昨拉升最高值:CONST(REF(HHV(瘦石,FROMOPEN),239)),LINETHICK1,COLORMAGENTA;
今拉升最高值:CONST(REF(HHV(瘦石,FROMOPEN),0)),COLORYELLOW,NODRAW;
攻击力度:今拉升最高值/昨拉升最高值,NODRAW;
STICKLINE(C>REF(C,1),0,V,0,0),COLOR0000FF;
STICKLINE(C<REF(C,1),0,V,0,0),COLOR00FF00;
STICKLINE(C=REF(C,1),0,V,0,0),COLORFFFFFF;
TT:=BARSCOUNT(C);{取得有效收盘价}
均价黄:=SUM(C*V,TT)/SUM(V,TT);{分时均线的取值}
量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);
价两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2);
价上岗量破5:=C>均价黄 AND V>MA(V,5);
量起爆:=V>=REF(V,1)*2 ;
价创新高:=C>=HHV(C,0);
量创新高:=V>=HHV(V,0);
对昨日涨幅:=C/DYNAINFO(3)<=1.02;{涨幅控制2个点以内}
每日一点:=量两步 AND 价两步 AND 价上岗量破5 AND 量起爆 AND 价创新高 AND 量创新高 AND 对昨日涨幅;
DRAWTEXT(每日一点,HHV(量,0)*0.9,'起爆'),COLORBLUE;
DRAWICON(每日一点,HHV(量,0),1),COLORRED;
STICKLINE(每日一点,量,0,1,0),COLORMAGENTA;
DRAWTEXT(每日一点,量*0.9,'∠'),COLORRED;
DRAWTEXT(CURRBARSCOUNT=160,HHV(V,60)*0.9,'20线上行+日价K线突破+日K线量起爆更好+估换手小于10%时更稳定'),COLORGREEN;{计算收益、已爆分钟}
VV:=BARSSINCE(每日一点)+1;
首次起爆价:REF(C,VV-1),NODRAW;
今天收益:(DYNAINFO(7)-首次起爆价)/首次起爆价*100,NODRAW;
{DRAWNUMBER(VV>=1,V*0.8,今天收益);待续。。。。低调}
起爆时间:REF(TIME/10000,VV),NODRAW;
已爆分钟:VV-1,NODRAW;
{画出底线和红球}
首次起爆量:=REF(VOL,VV-1);
DRAWICON(已爆分钟>=2,首次起爆量/2,13);{出现红球,至少已经确认2分钟了}; 展开
量:=VOL,VOLSTICK;
五日量:MA(量,5),COLORWHITE;
瘦石:=IF(C>REF(C,1),VOL,0);
昨拉升最高值:CONST(REF(HHV(瘦石,FROMOPEN),239)),LINETHICK1,COLORMAGENTA;
今拉升最高值:CONST(REF(HHV(瘦石,FROMOPEN),0)),COLORYELLOW,NODRAW;
攻击力度:今拉升最高值/昨拉升最高值,NODRAW;
STICKLINE(C>REF(C,1),0,V,0,0),COLOR0000FF;
STICKLINE(C<REF(C,1),0,V,0,0),COLOR00FF00;
STICKLINE(C=REF(C,1),0,V,0,0),COLORFFFFFF;
TT:=BARSCOUNT(C);{取得有效收盘价}
均价黄:=SUM(C*V,TT)/SUM(V,TT);{分时均线的取值}
量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);
价两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2);
价上岗量破5:=C>均价黄 AND V>MA(V,5);
量起爆:=V>=REF(V,1)*2 ;
价创新高:=C>=HHV(C,0);
量创新高:=V>=HHV(V,0);
对昨日涨幅:=C/DYNAINFO(3)<=1.02;{涨幅控制2个点以内}
每日一点:=量两步 AND 价两步 AND 价上岗量破5 AND 量起爆 AND 价创新高 AND 量创新高 AND 对昨日涨幅;
DRAWTEXT(每日一点,HHV(量,0)*0.9,'起爆'),COLORBLUE;
DRAWICON(每日一点,HHV(量,0),1),COLORRED;
STICKLINE(每日一点,量,0,1,0),COLORMAGENTA;
DRAWTEXT(每日一点,量*0.9,'∠'),COLORRED;
DRAWTEXT(CURRBARSCOUNT=160,HHV(V,60)*0.9,'20线上行+日价K线突破+日K线量起爆更好+估换手小于10%时更稳定'),COLORGREEN;{计算收益、已爆分钟}
VV:=BARSSINCE(每日一点)+1;
首次起爆价:REF(C,VV-1),NODRAW;
今天收益:(DYNAINFO(7)-首次起爆价)/首次起爆价*100,NODRAW;
{DRAWNUMBER(VV>=1,V*0.8,今天收益);待续。。。。低调}
起爆时间:REF(TIME/10000,VV),NODRAW;
已爆分钟:VV-1,NODRAW;
{画出底线和红球}
首次起爆量:=REF(VOL,VV-1);
DRAWICON(已爆分钟>=2,首次起爆量/2,13);{出现红球,至少已经确认2分钟了}; 展开
3个回答
展开全部
TT:=BARSCOUNT(C);
均价黄:=SUM(C*V,TT)/SUM(V,TT);
量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);
价仔大两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2);
价上岗量破5:=C>均价黄 AND V>MA(V,5);
量起爆:=V>=REF(V,1)*2 ;
价创新高:=C>=HHV(C,0);
量创新高:=V>=HHV(V,0);
对昨日涨幅:=C/DYNAINFO(3)<=1.02;
起爆:量两步 AND 价两步 AND 价上岗量破5 AND 量起爆 AND 价创念察竖新高 AND 量创新没燃高 AND 对昨日涨幅;
均价黄:=SUM(C*V,TT)/SUM(V,TT);
量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);
价仔大两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2);
价上岗量破5:=C>均价黄 AND V>MA(V,5);
量起爆:=V>=REF(V,1)*2 ;
价创新高:=C>=HHV(C,0);
量创新高:=V>=HHV(V,0);
对昨日涨幅:=C/DYNAINFO(3)<=1.02;
起爆:量两步 AND 价两步 AND 价上岗量破5 AND 量起爆 AND 价创念察竖新高 AND 量创新没燃高 AND 对昨日涨幅;
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询