软件名称:[B]通达信多空增仓监测指标公式[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2015-02-21 12:01:16
软件简介:
NN:=BARSLAST(DATE<REF(DATE,1) OR DATE>REF(DATE,1))+1;
KH:=HHV(NN,300);
QQ:=VOLINSTK-REF(VOLINSTK,1);
SJTJ:=DATE<1590301;
K1:=IF(CLOSE>OPEN&&QQ>=0 && SJTJ,QQ,0);
KK1:=IF(CLOSE<OPEN&&QQ<0 && SJTJ,QQ,0);
KKK1:=IF(CLOSE=OPEN,QQ*0.5,0);
K2:=IF(CLOSE<OPEN&&QQ>=0 && SJTJ,QQ,0);
KK2:=IF(CLOSE>OPEN&&QQ<0 && SJTJ,QQ,0);
DO:=SUM(K1,NN)+SUM(KK1,NN)+SUM(KKK1,NN);
KO:=SUM(K2,NN)+SUM(KK2,NN)+SUM(KKK1,NN);
N4:=IF(NN<=4,NN,4);
VK1:=IF(CLOSE>=OPEN,VOL,0);
VK2:=IF(CLOSE<=OPEN,VOL,0);
VDO:=SUM(VK1,N4);
VKO:=SUM(VK2,N4);
VDK:=DO-KO;
CC:=SUM(QQ,NN);
STICKLINE(VDK>=0,VDK,0,2,0),COLORRED;
STICKLINE(VDK<=0,VDK,0,2,0),COLORCYAN;
多头增仓:DO COLORMAGENTA,,LINETHICK1;
空头增仓:KO COLORGREEN,,LINETHICK1;
日增仓(仓差):CC COLORYELLOW,,NODRAW;
DRAWNUMBER(ISLASTBAR,DO,DO),COLORMAGENTA;
DRAWNUMBER(ISLASTBAR,KO,KO),COLORGREEN;
{W:=MOD(NN,5);
J:=(ISLASTBAR,5);
DRAWNUMBER(W=0&&J=0,DO,DO),COLORMAGENTA;
DRAWNUMBER(W=0&&J=0,KO,KO),COLORGREEN;
DRAWNUMBER(ISLASTBAR&&CC>0,0,CC),COLORYELLOW;
DRAWNUMBER(ISLASTBAR&&CC<0,0,CC),COLORBLUE;};
[url=http://www.70822.com/soft/sort013/sort05/down-80881.html]通达信多空增仓监测指标公式[/url]