主力攻擊度指標(biāo)是要疊加在分時(shí)下面的幅圖里面,不要放到k線圖里面,效果如下圖:
指標(biāo)源碼如下:
流通股本(億):CAPITAL*100/100000000,NODRAW;
流入資金:=SUM(IF(C>REF(C,1),V,0),FROMOPEN);
流出資金:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN);
資金凈流:流入資金+流出資金,COLORFFFFFF,LINETHICK1;
最高凈流:=HHV(資金凈流,2400);
最低凈流:=LLV(資金凈流,2400);
平均凈流:=(CONST(最高凈流)+CONST(最低凈流))/2;
凈流力度:=CONST(最高凈流)-CONST(最低凈流);
DRAWBAND(資金凈流,RGB(150,0,150),0,RGB(0,100,0));
資金比:資金凈流/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;
資金流量比:=IF(資金比>=0,(資金比+100)/2,100-ABS((資金比-100)/2));
X1:=((HSL*0.50+REF(HSL,1)*0.33)+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPEN;
X2:=SUM(IF(C>REF(C,1),X1*V,0),FROMOPEN);
X3:=-SUM(IF(C<REF(C,1),X1*V,0),FROMOPEN);
攻擊流量:X2+X3,COLORSTICK;
攻擊比:攻擊流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;
資金攻擊度:=IF(攻擊比>=0,(攻擊比+50),100-ABS((攻擊比-50)));
DRAWRECTREL(120,10,400,90,RGB(0,75,200));
DRAWRECTREL(120,10,250,90,RGB(0,250,50));
DRAWRECTREL(120,10,100+CONST(資金流量比*300/100),90,RGB(200,50,0));
DRAWTEXT_FIX(1,0.000,0.00,0,STRCAT(STRCAT('【資金流量比】',CON2STR(資金流量比,2)),'%買(mǎi)')),COLORYELLOW;
DRAWRECTREL(710,10,800,90,RGB(0,75,200));
DRAWRECTREL(710,10,650,90,RGB(0,250,50));
DRAWRECTREL(710,10,600+CONST(資金攻擊度*300/100),90,RGB(175,50,0));
DRAWTEXT_FIX(1,0.500,0.00,0,STRCAT(STRCAT('【資金攻擊度】',CON2STR(資金攻擊度,2)),' %買(mǎi)')),COLORYELLOW;
條件1:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);
條件2:= C>=REF(C,1) AND REF(C,1)>REF(C,2) AND C>=HHV(C,0);
條件3:=C>SUM(C*V,BARSCOUNT(C))/SUM(V,BARSCOUNT(C)) AND V>MA(V,5);
條件4:=V>=REF(V,1) AND V>=HHV(V,0);
條件5:=(C/DYNAINFO(3)-1)*100<=2.50;
T:=條件1 AND 條件2 AND 條件3 AND 條件4 AND 條件5;
N1:=BARSSINCE(T)+1;
起爆收益:(DYNAINFO(7)-REF(C,N1-1))/REF(C,N1-1)*100,NODRAW;
DRAWICON(N1>=3,CONST(最低凈流),13);
N2:=BARSLAST(TIME=100000);
十點(diǎn)前高點(diǎn):=REF(HHV(C,0),N2+1);
十點(diǎn)前高量:=REF(HHV(V,0),N2+1);
XG1:=CROSS(C,十點(diǎn)前高點(diǎn)) AND V>十點(diǎn)前高量 AND 十點(diǎn)前高點(diǎn)/DYNAINFO(3)<1.05;
N3:=BARSLAST(TIME=110000);
十一點(diǎn)前高點(diǎn):=REF(HHV(C,0),N3+1);
十一點(diǎn)前高量:=REF(HHV(V,0),N3+1);
XG2:=CROSS(C,十一點(diǎn)前高點(diǎn)) AND V>十一點(diǎn)前高量 AND 十一點(diǎn)前高點(diǎn)/DYNAINFO(3)<1.0;
突破:=XG1 OR XG2;
首次突破價(jià):=REF(C,BARSSINCE(突破)),NODRAW;
整點(diǎn)財(cái)經(jīng)突破:(DYNAINFO(7)-首次突破價(jià))/首次突破價(jià)*100,NODRAW;
DRAWTEXT(T,CONST(最低凈流)+凈流力度*0.65,'∠起爆'),COLORGREEN;
指標(biāo)還是正常新建在幅圖里面,但是進(jìn)入分時(shí)圖界面之后,需要在分時(shí)圖的右下角點(diǎn)擊“指標(biāo)”兩個(gè)字:
選擇“1個(gè)指標(biāo)窗口”,這個(gè)時(shí)候,分時(shí)圖才會(huì)有分時(shí)幅圖的窗口;
然后在幅圖指標(biāo)窗口里面點(diǎn)鼠標(biāo)右鍵,選擇分時(shí)指標(biāo),找到新建的指標(biāo)即可;
聯(lián)系客服