您现在的位置:好股网 >> 股票公式 >> 大智慧L2公式 >> 一键转帖:成本动 副图源码

成本动 副图源码


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-05-12 08:46:00
公式简介:

{手动输入参数:NUM(1,999,13),SHORT(1,999,3),LONG(1,999,5)}
Z,:=H-L;
CB:=AMOUNT/VOL/100;
DV1:=IF(Z,>0 AND C>CB, ((H-C)/(H-CB))*((H-C)/(H-CB))*((H-CB)/Z,*VOL) ,0);
UV1:=IF(Z,>0 AND C>CB, VOL-DV1 ,0);
UV2:=IF(Z,>0 AND C<CB, ((C-L)/(CB-L))*((C-L)/(CB-L))*((CB-L)/Z,*VOL) ,0);
DV2:=IF(Z,>0 AND C<CB, VOL-UV2 ,0);
UV3:=IF(Z,=0 AND C>REF(C,1), VOL,0);
DV3:=IF(Z,=0 AND C<REF(C,1), VOL,0);
UV:=UV1+UV2+UV3;
DV:=DV1+DV2+DV3;
CBX:(UV-DV)/VOL,COLORSTICK;
STICKLINE(CBX>0,0,CBX,4,0),Color0984FF;
STICKLINE(CBX>0,0,CBX,5,0),Color2D96FF;
STICKLINE(CBX>0,0,CBX,2,0),Color53A9FF;
STICKLINE(CBX>0,0,CBX,1,0),Color80BFFF;
STICKLINE(CBX>0,0,CBX,0,0),ColorA4D1FF;
STICKLINE(CBX<0,0,CBX,4,0),Color00F700;
STICKLINE(CBX<0,0,CBX,3,0),Color1EFF1E;
STICKLINE(CBX<0,0,CBX,2,0),Color51FF51;
STICKLINE(CBX<0,0,CBX,1,0),Color75FF75;
STICKLINE(CBX<0,0,CBX,0,0),ColorA4FFA4;
CBX1:EMA(SUM(CBX,NUM),2),COLORred;
CBX2:EMA(CBX1,SHORT),coloryellow;
CBX3:EMA(CBX1,LONG),ColorFF8000;


 


[url=http://www.goodgupiao.com/gupiaogongshi/20100.html][B]成本动 副图源码[/B][/url]