公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

通达信庄家量能副图指标 源码 贴图

2012-12-13 20:03| 发布者: admin| 查看: 88| 评论: 0

通达信庄家量能副图指标 源码 贴图

通达信庄家量能副图指标 源码 贴图

通达信庄家量能副图指标 源码 贴图


volUME:VOL,NODRAW;
VA8:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
obv18:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA8),0);
OBV28:=EMA(OBV18,3)-MA(OBV18,9);
OBV38:=EMA(IF(OBV28>0,OBV28,0),3);
Mac38:=MA(C,3);
QS:=OBV38>REF(OBV38,1) AND MAC38>REF(MAC38,1);
吸:XLPL.NOTEXT吸,COLORFF00FF,CIRCLEDOT,LINETHICK3,NODRAW;
拉:XLPL.NOTEXT拉,COLORRED,CIRCLEDOT,LINETHICK3,NODRAW;
派:XLPL.NOTEXT派,COLOREEE31A,CIRCLEDOT,LINETHICK3,NODRAW;
落:XLPL.NOTEXT落,COLORGRAY,CIRCLEDOT,LINETHICK3,NODRAW;
STICKLINE(吸,0,V,2,0),COLORFF00FF;
STICKLINE(拉,0,V,2,0),COLORRED;
STICKLINE(派,0,V,2,0),COLOREEE31A;
STICKLINE(落,0,V,2,0),COLORGRAY;
QSLS:=QS AND 拉 AND 拉!=派;
STICKLINE(QSLS,0,V,2,0),COLORRED;
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
OBV2:=EMA(OBV1,3)-MA(OBV1,9);
OBV3:=EMA(IF(OBV2>0,OBV2,0),3);
MAC3:=MA(C,3);
量能潮:OBV3,NODRAW,COLOR00FFFF;
STICKLINE(OBV3>REF(OBV3,1) AND MAC3>REF(MAC3,1),0,OBV3,0.01,0),COLOR00FFFF;
M:=55;
N:=34;
几天内:=3;
吸筹值:=50;
LC:=REF(CLOSE,1);
rsi:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(Abs((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
{VAR1:=IF(YEAR>=2038 AND MONTH>=1,0,1);}
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
吸筹:=IF(VAR8>100,100,VAR8),COLORRED;
庄家吸筹:=STICKLINE(吸筹>-150,0,吸筹,8,0),COLORRED;
散户:=100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),COLORYELLOW,LINETHICK2;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
庄家:=EMA(J,6),COLORLIRED,LINETHICK2;
第一买点:DRAWTEXT(crOSS(14,吸筹),VOLUME*1.3,'买1'),COLORYELLOW;
第二买点:DRAWTEXT(CROSS(庄家,散户) AND 庄家< 50,VOLUME*1.3,'买2'),COLORRED;
第一卖点:DRAWTEXT(CROSS(88,庄家),VOLUME*1.3,'卖1'),COLORGREEN;
第二卖点:DRAWTEXT(CROSS(散户,庄家),VOLUME*1.3,'卖2'),COLORCYAN;
DRAWICON(CROSS(散户,庄家),VOLUME*1.5,2);
DRAWICON(CROSS(庄家,散户),VOLUME*1.2,1);


鲜花

握手

雷人

路过

鸡蛋
返回顶部