成交量指标(源码 副图 帖图)
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-03-30 08:29:00
公式简介:
PJJ:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);
JJ:=REF(EMA(PJJ,3),1);
QJJ:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
XVL:=(IF((CLOSE > OPEN),(QJJ * (HIGH - LOW)),IF((CLOSE < OPEN),(QJJ * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2))) + IF((CLOSE > OPEN),(0 - (QJJ * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (QJJ * (HIGH - LOW))),(0 - (VOL / 2)))));
ZLL:=(VOL / CAPITAL);
HSL1:=IF((ZLL > 10),10,ZLL);
HSL:=((XVL / 20) / 1.15);
攻击流量:=(((HSL * 0.55) + (REF(HSL,1) * 0.33)) + (REF(HSL,2) * 0.22));
STICKLINE(((HSL * 0.4) >= 0),((HSL * 0.4) * 1.5),0,3,0),COLORFF00AA;
STICKLINE(((HSL * 0.4) >= 0),((HSL * 0.4) * 1.5),0,2,0),COLORFF00CC;
STICKLINE(((HSL * 0.4) >= 0),((HSL * 0.4) * 1.5),0,1,0),COLORFF00FF;
STICKLINE(((HSL * 0.4) < 0),((HSL * 0.4) * 1.5),0,3,0),COLOR00AA00;
STICKLINE(((HSL * 0.4) < 0),((HSL * 0.4) * 1.5),0,2,0),COLOR00CC00;
STICKLINE(((HSL * 0.4) < 0),((HSL * 0.4) * 1.5),0,1,0),COLOR00FF00;
GJJ:=EMA(攻击流量,8);
LLJX:=EMA(攻击流量,3);
资金流量:LLJX,LINETHICK0,COLOR0000FF;
STICKLINE((资金流量 > 0),资金流量,0,4,0),COLOR0000AA;
STICKLINE((资金流量 > 0),资金流量,0,3,0),COLOR0000CC;
STICKLINE((资金流量 > 0),资金流量,0,1,0),COLOR0000FF;
STICKLINE((资金流量 < 0),资金流量,0,4,0),COLORFF5500;
STICKLINE((资金流量 < 0),资金流量,0,3,0),COLORFF9900;
STICKLINE((资金流量 < 0),资金流量,0,1,0),COLORFFFF00;
流量基线:=GJJ,COLOR00FFFF;
DRAWTEXT(CROSS(资金流量,0),资金流量,'买'),COLORYELLOW;
总金额:AMOUNT/100000000,NODRAW;
VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
流入亿:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000,COLORRED,NODRAW;
流出亿:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00,NODRAW;
差:(流入亿+流出亿),NODRAW;
强:=XMA((CLOSE-REF(CLOSE,1))/CLOSE*10,2);
主力:=EMA(差,1),COLORFF00FF,LINETHICK5;
差A:3*XMA(XMA(XMA(EMA(强,2),2),2),2),NODRAW;
净流:3*XMA(XMA(XMA(EMA(差A,1),2),2),2), COLORRED,NODRAW;
平换:MA(HSL,10),NODRAW;
VARA:=XMA(XMA(XMA((CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3)),2),2),2)*100;
量线:=SMA(VARA,2,1)-8;
BB:=DRAWTEXT(CROSS(量线,50),50,'买');
机构量能:EXPMA(量线,1),NODRAW;
DRAWTEXT(C=C AND CURRBARSCOUNT=10,10,'【专用指标】'),COLORYELLOW;
{三线金叉及其他金叉显示符号}
DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA1:=EMA(DIFF1,9);
MACDD:=CROSS(DIFF1,DEA1);
均线1:=CROSS(MA(C,5),MA(C,10));
量线1:=CROSS(MA(V,5),MA(V,10));
DRAWICON(MACDD AND 均线1 AND 量线1,L-0.20,25);{同时金叉显示9号图标};
DRAWICON( 均线1 AND 量线1,L-0.20,9);
DRAWTEXT(量线1,L-0.25,'金'),COLORYELLOW;
0;
A:=MA(VOL,5)-MA(VOL,10);
B:=BACKSET(1,5)/5-BACKSET(1,10)/10;
量差:A/B,COLORWHITE,NODRAW;
{1}
X:=(H+L+O+C*3)/6;
X1:=(X-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X2:=SMA(X1,2,1);
X3:=SMA(X2,3,1);
X4:=100-X2;
X5:=X3>=X4;
M:=EMA(X,2);
M1:=EMA(M,12) - EMA(M,26);
M2:=EMA(M1,9);
M3:=(3*M1-2*M2);
M4:=EMA(MAX(M1,0),3);
M5:=IF(M3>0,M4,DRAWNULL);
M6:=IF(M3>0,M4*0.8,DRAWNULL);
跟庄器:IF(X5 AND M3>0,0,DRAWNULL),CIRCLEDOT,COLOR0077CC,LINETHICK1;
DRAWBAND(M4,RGB(66,66,66),M4*0.8,DRAWNULL);
DRAWBAND(M5,RGB(80,00,00),M6,DRAWNULL);
拉:IF(M3>0,M4,DRAWNULL),COLORRED;
强1:IF(M3>0,M4*0.8,DRAWNULL),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=150,HHV(M4,100)/2,'买入不涨,逢高离场'),COLOR00FF00
[url=http://www.goodgupiao.com/gupiaogongshi/18690.html][B]成交量指标(源码 副图 帖图)[/B][/url]