通达信分时主力量指标公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
DRAWTEXT_FIX(1,0.00,0,0,'只见粉红不见绿,伺机买进莫迟疑;只见绿量不见红,只卖不买养成性。大量红绿交替出,多空交战且莫入;分时突破量攻击,冷静思考放第一。')COLOR00FF00;
{以上注解只适应二日分时用,请注意}
NN:=2400;
HD:=HHV(V,NN);
LD:=LLV(V,NN);
最高:=CONST(HD),NODRAW;
最低:=CONST(LD),NODRAW;
HLMAX:=最高;
HLMIN:=最低;
HLMN1:=(HLMAX+HLMIN)/2;
HLMN2:=HLMAX-HLMIN;
HLMN3:=(100-0)/2*1.3;
HLMN4:=(100-0)/1*1.3;
中间价轴:=(50-HLMN3)*HLMN2/HLMN4+HLMN1;
轴差:=最高-最低;
拉升量:=IF(C>REF(C,1),VOL,0);
打压量:=IF(C<REF(C,1),VOL,0);
昨拉升最高值:CONST(FINDHIGH(拉升量,FROMOPEN,240,1)),LINETHICK1,COLORMAGENTA;
昨打压最高值:=CONST(FINDHIGH(打压量,FROMOPEN,240,1)),LINETHICK1,COLORCYAN,NODRAW;
今拉升最高值:=CONST(REF(HHV(拉升量,FROMOPEN),0)),COLORRED;
今打压最高值:CONST(REF(HHV(打压量,FROMOPEN),0)),COLORCYAN,NODRAW;
攻击力度:今拉升最高值/昨拉升最高值,NODRAW;
量能均线:=SUM(V,FROMOPEN)/FROMOPEN;
量:=VOL,VOLSTICK;
五日量:=MA(量,5),COLORWHITE;
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)*1;
价创新高:=C>=HHV(C,0);
量创新高:=V>=HHV(V,0);
对昨日涨幅:=(C/DYNAINFO(3)-1)*100<=2.50;{涨幅控制2个点以内}
每日一点:=量两步 AND 价两步 AND 价上岗量破5 AND 量起爆 AND 价创新高 AND 量创新高 AND 对昨日涨幅;
{计算收益、已爆分钟}
VV:=BARSSINCE(每日一点)+1;
首次起爆价:=REF(C,VV-1),NODRAW;
起爆收益:(DYNAINFO(7)-首次起爆价)/首次起爆价*100,NODRAW;
{DRAWNUMBER(VV>=1,V*0.8,今天收益);}
流通盘:=CAPITAL*100/100000000,NODRAW;
起爆时间:=REF(TIME/10000,VV),NODRAW;
已爆分钟:=VV-1,NODRAW;
{画出底线和红球}
首次起爆量:=REF(VOL,VV-1),COLORWHITE;
DRAWICON(已爆分钟>=2,首次起爆量,13);{出现红球,至少已经确认2分钟了};
STICKLINE(C>0,0,V,0,0),COLOR00FFFF;
STICKLINE(C<REF(C,1) AND V>=昨拉升最高值,0,V,0,0),COLOR00FF00;
STICKLINE(C=REF(C,1),0,V,0,0),COLORFFFFFF;
STICKLINE(C>REF(C,1) AND V>=今打压最高值,0,V,0,0),COLORRED;
STICKLINE(C<REF(C,1) AND V>=今拉升最高值,0,V,0,0),COLORGREEN;
STICKLINE(C>REF(C,1) AND (V>昨拉升最高值 OR V>昨打压最高值),0,V,0,0),COLOR0000FF;
STICKLINE(C>REF(C,1) AND V>=2*昨拉升最高值 AND V<5*昨拉升最高值,昨拉升最高值,V,0,0),COLORFF00FF;
STICKLINE(C>REF(C,1) AND V>=5*昨拉升最高值,0,V,0,0),COLORMAGENTA;
STICKLINE(每日一点,最低+轴差*0.8,0,1,0),COLORMAGENTA;
DRAWICON(每日一点,V,1),COLORRED;
DRAWTEXT(每日一点,最低+轴差*0.8,'∠起爆'),COLORMAGENTA;
TA:=BARSLAST(TIME=100000);
TC:=REF(HHV(C,0),TA+1);
TV:=REF(HHV(V,0),TA+1);
ZF:=TC/DYNAINFO(3)<1.05;
XG1:=CROSS(C,TC) AND V>TV AND ZF,COLORWHITE;
TA1:=BARSLAST(TIME=110000);
CC1:=REF(HHV(C,0),TA1+1);
VV1:=REF(HHV(V,0),TA1+1);
ZF1:=CC1/DYNAINFO(3)<1.05;
XG2:=CROSS(C,CC1) AND V>VV1 AND ZF1,COLORYELLOW;
突破:=XG1 OR XG2,COLORRED;
VT:=BARSSINCE(突破)+1;
首次突破价:=REF(C,VT-1),NODRAW;
突破收益:(DYNAINFO(7)-首次突破价)/首次突破价*100,NODRAW;
STICKLINE(突破,V,0,1,0),COLORRED;
DRAWICON(突破=1,V,17);
DRAWTEXT(突破=1,最低+轴差*0.65,'☆突破'),COLORRED;
DRAWICON(FILTER(CROSS(拉升量,昨拉升最高值),30),V,1);
DRAWTEXT(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.50,'★攻击'),COLORYELLOW;
DRAWICON(FILTER(CROSS(拉升量,今打压最高值),30),V,1);
DRAWTEXT(FILTER(CROSS(拉升量,今打压最高值),30),最低+轴差*0.35,'★攻击'),COLORMAGENTA;

 

通达信分时主力量指标公式选股公式如下:


选股票看什么指标最好 >股票指标网