软件名称:[B]成本动向CBX[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2011-07-30 01:07:41
软件简介:
INPUT:NUM(13,1,999),SHORT(3,1,999),LONG(5,1,999);
ZF:=H-L;
CB:=AMOUNT/VOL/100;
DV1:=IF(ZF>0 AND C>CB, ((H-C)/(H-CB))*((H-C)/(H-CB))*((H-CB)/ZF*VOL) ,0);
UV1:=IF(ZF>0 AND C>CB, VOL-DV1 ,0);
UV2:=IF(ZF>0 AND C<CB, ((C-L)/(CB-L))*((C-L)/(CB-L))*((CB-L)/ZF*VOL) ,0);
DV2:=IF(ZF>0 AND C<CB, VOL-UV2 ,0);
UV3:=IF(ZF=0 AND C>REF(C,1), VOL,0);
DV3:=IF(ZF=0 AND C<REF(C,1), VOL,0);
UV:=UV1+UV2+UV3;
DV:=DV1+DV2+DV3;
CBX:(UV-DV)/VOL/CAPITAL*1000000,linethick0;{可以去掉除数VOL/CAPITAL*1000000}
STICKLINE(CBX>0,0,CBX,8,0),Color041CEC;
STICKLINE(CBX>0,0,CBX,6,0),Color0F26FB;
STICKLINE(CBX>0,0,CBX,4,0),Color2439FB;
STICKLINE(CBX>0,0,CBX,2,0),Color485AFB;
STICKLINE(CBX>0,0,CBX,1,0),Color6473FB;
STICKLINE(CBX<0,0,CBX,8,0),ColorCD690E;
STICKLINE(CBX<0,0,CBX,6,0),ColorEF7B12;
STICKLINE(CBX<0,0,CBX,4,0),ColorF08728;
STICKLINE(CBX<0,0,CBX,2,0),ColorF29540;
STICKLINE(CBX<0,0,CBX,1,0),ColorF5A963;
CBX1:EMA(SUM(CBX,NUM),2),COLORMAGENTA;
CBX2:EMA(CBX1,SHORT),coloryellow;
CBX3:EMA(CBX1,LONG),colorgreen;
[url=http://www.70822.com/soft/sort013/sort03/down-36974.html]成本动向CBX[/url]