当前位置:首页 > 通达信公式 > 内容

通达信买卖盘比副图指标

作者:公式指标网   更新时间:2016-03-01   

通达信买卖盘比副图指标

源码

{www.qill.cn虚拟成交量}
VAR1:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL); 
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VAR1,1 , 2 , 1 ) , COLORWHITE ; 
{www.qill.cn彩色成交量柱线}
VOLUME:VOL,VOLSTICK;
{www.qill.cn黄金地量}
地量:=VOL
STICKLINE(地量>0,0,V,2,0),COLORWHITE;
{www.qill.cn立桩成立}
V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
T12:=V2>=1;
T0:=BARSLAST(T12);
L1:=REF(L,T0);
H1:=REF(H,T0);
L11:=MIN(REF(L,1),L);
L10:=MIN(L11,REF(L,2));
L21:=MAX(REF(L,1),L);
L20:=MAX(L21,REF(L,2));
T111:=(REF(V2>=1,3) OR REF(V2>=1,2) OR REF(V2>=1,1)) AND 
((L10>L1 AND L20>H1) OR (L11>L1 AND L21>H1) OR (L>H1));
T11:=T111 AND REF(T111,1)=0;
STICKLINE(V2>=1,0,VOL,1.5,0),COLOR44FFFF;
STICKLINE(T11,O,VOL,1.5,0),COLORLIRED;
{www.qill.cn牛年奔牛}
VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;
VAR4:=EMA(VAR3,5);
VAR5:=3*VAR3-2*VAR4;
牛:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O;
{www.qill.cn逃顶提示}
VARA2:=LLV(LOW,10);
VARA3:=HHV(HIGH,25);
动力线:= EMA((CLOSE-VARA2)/(VARA3-VARA2)*4,4);
{www.qill.cn涨跌停}
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
{www.qill.cn顶背离与底背离}
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);
顶背离:=CROSS(88,RSI);
底背离:=CROSS(FF,MA15);
STICKLINE(牛,0,VOL,1,0),COLORRED;
STICKLINE(动力线>=3.2,0,VOL,0.5,0),COLOR238E23;
STICKLINE(涨停,V*0.8,VOL,4,0),COLORRED;
STICKLINE(跌停,VOL*0.8,VOL,4,0),COLORBLUE;
STICKLINE(顶背离,VOL*0.8,VOL,0.5,0),COLOR7F017F;
STICKLINE(底背离,0,VOL*0.2,0.5,0),COLOR7F017F;
STICKLINE(地量,0,V/3,6,0),COLOR003333;
STICKLINE(地量,0,V/3,5,0),COLOR116666;
STICKLINE(地量,0,V/3,4,0),COLOR229999;
STICKLINE(地量,0,V/3,3,0),COLOR33CCCC;
STICKLINE(地量,0,V/3,2,0),COLOR44FFFF;
{www.qill.cn买卖盘比}
VAR0:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,VAR0*(HIGH-LOW),IF(CLOSE
主动卖盘:=IF(CLOSE>OPEN,0-VAR0*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
买卖盘比:-(主动买盘/主动卖盘),COLORYELLOW;
换手率%: VOL/CAPITAL*100,COLORGREEN,NODRAW;
{www.qill.cn三线开花}
【3】:MA(VOLUME,135),COLORBLUE,LINETHICK1;
【2】:MA(VOLUME,35),COLORCYAN,LINETHICK1;
【1】:MA(VOLUME,5),COLORWHITE,LINETHICK1;
买入1:DRAWICON(CROSS(【1】,【2】),V*0.1,5);
买入2:DRAWICON(CROSS(【1】,【3】),V*0.05,9);
买入3:DRAWICON(CROSS(【2】,【3】),V*0.01,135);
{www.qill.cn抛物转向}
抛物:MA((3*C+L+O+H)/6,3),,LINETHICK2,COLORBLUE; 
持币:IF((抛物
持股:IF((抛物>REF(抛物,1) OR C>REF(C,1)),抛物,DRAWNULL),LINETHICK2,COLORRED;

通达信买卖盘比副图指标

资源下载

相关文章

热门推荐

移动端首页 | PC端

© by Gszb.com Mobile Web