多空能量指标 (源码)

2012-03-14 08:35:00来源:本站整理浏览:276

大智慧多空能量指标公式股票软件源码如下:

input:N(30,1,100);
DRAWTEXTABS(10,10,'板块名称:'+BKNAME),COLORFFEEBB;
DRAWTEXTABS(10,50,'每股收益:'+FINANCE2(3)),COLORFFEEBB;
DRAWTEXTABS(180,50,'目前流通盘:'+CAPITAL/100),COLORFFEEBB;
DRAWTEXTABS(10,70,'每股净资产:'+FINANCE2(4)),COLORFFEEBB;
DRAWTEXTABS(180,70,'总股本:'+FINANCE2(35)),COLORFFEEBB;
DRAWTEXTABS(10,90,'每股公积金:'+FINANCE2(7)),COLORFFEEBB;
DRAWTEXTABS(180,90,'主营收入同比增长:'+FINANCE2(11)),COLORFFEEBB;
{股票软件下载网-股票公式网站 www.gpxiazai.com}
aa:=SUM(IF( CLOSE>REF(CLOSE,1),CLOSE-MIN(REF(CLOSE,1),LOW),IF(CLOSE<REF(CLOSE,1),
CLOSE-MAX(REF(CLOSE,1),HIGH),0)),0);
bb:=MA(aa,N);
gg:aa-bb,color3d;
DRAWGBKLAST(C>0,STRIP(RGB(90,90,90),RGB(0,0,0),0));
量:=V;
换手:V/CAPITAL*100,LINETHICK0;
VAR1:=VOL/((H-L)*2-ABS(C-O));
买盘:=IF(C>O,VAR1*(H-L),IF(C<O,VAR1*((H-O)+(C-L)),VOL/2));
卖盘:=IF(C>O,0-VAR1*((H-C)+(O-L)),IF(C<O,0-VAR1*(H-L),0-VOL/2));
动能:=(买盘-(-卖盘))/量*换手;
DNX1:SUM(动能,6);
DNX2:MA(动能,3),color00ff0f;

大智慧多空能量指标公式

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式