求资金出入公式 [通达信]
作者:
通达信 来源:
cxh99.com 发布时间:2012年05月30日 点击数:
【
收藏到本网的会员中心】
- 咨询内容:
各位大侠谁有当天资金出入的指标公式啊?拿来分享一下。先谢谢了。
- 通达信客服:
{资金出入}
涨家: (INDEXADV)/100,NODRAW,COLORRED;
跌家: CONST(INDEXDEC)/100,NODRAW,COLORGREEN;
收益:FINANCE(30)/FINANCE(19),NODRAW,COLORMAGENTA;
流通:FINANCE(7)/100000000,NODRAW,COLORGREEN;
市盈:CLOSE/(FINANCE(30)/FINANCE(1)),NODRAW,COLORYELLOW;
换手:VOL/CAPITAL*100,NODRAW,COLORYELLOW;
五换:SUM (VOL/CAPITAL,5)*100,NODRAW,COLORWHITE;
十换:SUM (VOL/CAPITAL,10)*100,NODRAW,COLORRED;
总量:=VOL/10000,LINETHICK0;
额亿:AMOUNT/100000000,NODRAW,COLORGREEN;
AA:=(VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)));
买:=(IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)));
卖:=(IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)));
B:(买*AMOUNT/VOL)/100000000,COLORRED,NODRAW;
S:(卖*AMOUNT/VOL)/100000000,COLORGREEN,NODRAW;
流量:=(买+卖)/10000;
买万:=买/10000,COLORRED;
卖万:=卖/10000,COLORGREEN;
STICKLINE(买>0,0,总量,2,0),COLORGREEN;
STICKLINE(买>0,0,买万,2,0),COLORRED;
警戒线:HHV(ABS(总量),440)*0.95,COLORRED;
获利:WINNER(C)*警戒线,COLORMAGENTA,LINETHICK2;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*10.5,COLORGRAY;
A0:=(O+H+L+C)/4,NODRAW;
A1:=HHV(A0,15);
A2:=LLV(A0,15);
A3:=A1-A2;
A4:=EMA((A0-A2)/A3,2)*9;
价量:IF(A4>0,A4,0)*警戒线/8.8,LINETHICK2,COLORWHITE;