通達(dá)信股票公式之加入pvt指標(biāo)的自用VOL
{烈焰(vol)我自己用的成交量指標(biāo)
在vol中加入pvt指標(biāo)(藍(lán)色線)
量柱中下端空心柱為主賣實心紅柱為主買
S代表成交量賣出信號}
{N: 1 200 72}
成交:VOL,VOLSTICK;
PVT:SUM((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*VOL,0),LINETHICK1,COLORBLUE;
流通:=CAPITAL/1000000,LINETHICK0;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主買:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
主賣:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),COLORFFFF00,POINTDOT;
{STICKLINE(VOL>0,VOL,0,2,1),COLORYELLOW;}
STICKLINE(主買>0,0,主買,2,0),COLORRED;
STICKLINE(主賣>0,0,主賣,0.8,1),COLORFFFF00;
主買賣比:主買/(主賣 ),LINETHICK0,COLOR0000CC;
預(yù)測量:STICKLINE(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VOL,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),3,1),,COLORGRAY;
MA5:MA(V,5),COLORWHITE;
MA10:MA(V,10),COLORYELLOW;
MA40:MA(VOL,40),COLORFF00FF;
{賣}
U:=CROSS(MA5,MA10);
H1:=VOL+100;
DRAWTEXT(U,H1+5000,'S'),COLORGRAY;
六十日換手:SUM(V/CAPITAL*100,60);
五日換手:SUM(V/CAPITAL*100,5);
(南方財富網(wǎng)SOUTHMONEY.COM)