通达信五行成交量副图指标
公式规属:DRAWTEXT_FIX(ISLASTBAR ,0.99,0,1,'【五行操盘】'),COLORYELLOW;
所属地域:DRAWTEXT_FIX(ISLASTBAR ,0.91,0,1,DYBLOCK),COLORWHITE;
所属行业:DRAWTEXT_FIX(ISLASTBAR ,0.86,0,1,HYBLOCK),COLORWHITE;
所属概念:DRAWTEXT_FIX(ISLASTBAR ,0.80,0,1,GNBLOCK),COLORWHITE;
ZGB:= STRCAT(CON2STR(TOTALCAPITAL/1000000,2),'亿股');
LTGB:= STRCAT(CON2STR(CAPITAL/1000000,2),'亿股');
LTSZ:= STRCAT(CON2STR(FINANCE(40)/100000000,2),'亿元');
JZSY:= STRCAT(CON2STR(100*FINANCE(36) ,2),'%');
LTBL:= STRCAT('',CON2STR((CAPITAL/1000000)/(TOTALCAPITAL/1000000),2));
SJL:= STRCAT(CON2STR(C/FINANCE(34),2),' ');
DRAWTEXT_FIX(1,0.00,0,0,'总股本:'),COLORFF00FF;
DRAWTEXT_FIX(1,0.04,0,0,ZGB),COLORFF00FF;
DRAWTEXT_FIX(1,0.09,0,0,'流通股本:'),COLORFF00FF;
DRAWTEXT_FIX(1,0.14,0,0,LTGB),COLORFF00FF;
DRAWTEXT_FIX(1,0.19,0,0,'流通市值:'),COLORFF00FF;
DRAWTEXT_FIX(1,0.24,0,0,LTSZ),COLORFF00FF;
DRAWTEXT_FIX(1,0.30,0,0,'流通比例:'),COLORFF00FF;
DRAWTEXT_FIX(1,0.35,0,0,LTBL),COLORFF00FF;
DRAWTEXT_FIX(1,0.39,0,0,'市净率:'),COLORFF00FF;
DRAWTEXT_FIX(1,0.43,0,0,SJL),COLORFF00FF;
NOYZ:=NOT(C/REF(C,1)>1.095 AND H=O AND L=H);
VOLUME:VOL,VOLSTICK;
百日:LOWRANGE(VOL)>10,NODRAW;
STICKLINE(百日,0,V,-1,0),COLORWHITE;
三十:LOWRANGE(VOL)>28,NODRAW;
STICKLINE(三十,0,V,-1,0),COLORWHITE;
二十:LOWRANGE(VOL)>18 AND LOWRANGE(VOL)<21,NODRAW;
STICKLINE(二十,0,V,-1,0),COLORWHITE;
VOL3:=MA(V,3),COLORBLUE;
VOL5:=MA(V,5),COLORBLUE;
VOL30:=MA(V,30),COLORCCCCCC;
VOL120:=MA(V,125),COLORCCCCCC;
人:SUM(AMOUNT,1)/SUM(V,1)/100,COLORYELLOW;
REFZQ:= IF(PERIOD=1,48,IF(PERIOD=2,16,IF(PERIOD=3,8,IF(PERIOD=4,4,1))));
LTB:V/REF(V,REFZQ),COLORRED,NODRAW;
换手:VOL*100/CAPITAL;{天天查股网WWW.ttchagu.com}
阳倍:=VOL>=REF(V,1)*1.87 AND C>REF(C,1) AND NOYZ,COLORRED,NODRAW;
STICKLINE(阳倍,0,V,-1,0),COLORRED;
阴倍:=VOL>REF(V,1)*1.87 AND C<REF(C,1) AND NOYZ,COLOR222222,NODRAW;
STICKLINE(阴倍,0,V,-1,0),COLORAAA222;
假阳:=AMOUNT/V/100<REF(C,1) AND C>O AND C<300 AND 人<REF(C,1) AND NOYZ,NODRAW;
STICKLINE(假阳,0,V,-1,0),COLORGREEN;
假阴:=(人>REF(C,1) AND C<=O) OR (人>REF(C,1) AND C>REF(C,1) AND C<O AND C>300) AND NOYZ,NODRAW;
STICKLINE(假阴,0,V,-1,0),COLORFF1BB7;
LG:TOPRANGE(VOL);
LD:LOWRANGE(VOL);
SL2TJ:=V<REF(V,1)/1.87;
SL3TJ:=V<REF(V,1)*0.68 AND NOT(SL2TJ) ,NODRAW;
DRAWTEXT(SL3TJ,V,'3'),DRAWABOVE,COLORWHITE;
DRAWTEXT(SL2TJ,V,'2'),DRAWABOVE,COLORWHITE;
PLZ:=V/REF(V,1)<1.05 AND V/REF(V,1)>0.95 AND C>REF(C,1);
DRAWTEXT(PLZ,V*1.2,'P'),DRAWABOVE,COLORWHITE;
GPP:=O=L AND C>REF(C,1) AND C>O;
DRAWTEXT(GPP,V*1.21,'G'),DRAWABOVE,COLORWHITE;
XL:PLOYLINE(1,CONST(V)),COLORRED,LINETHICK1,DOTLINE;