通达信地、倍成交量
换手:=VOL/CAPITAL*100,POINTDOT COLORMAGENTA;
十换:SUM(换手,10),COLORRED,LINETHICK1,NODRAW;
三十换:SUM(换手,30),COLORGREEN,LINETHICK1,NODRAW;
{成交量比%}
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL /2));
量比%:主买/VOL*100,COLOR00FFFF,LINETHICK1,NODRAW;
量:=V/CONST(HHV(V,90))*30,LINETHICK0,VOLSTICK;
STICKLINE(CLOSE>=OPEN,0,量*1,2.4,1),COLORBC8F8F;
STICKLINE(CLOSE<=OPEN,0,量*1,2.4,1),COLOR545454;
STICKLINE(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),量<0,-3,1.6,0),COLORFF2400,LINETHICK4;
DRAWTEXT(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),量<0,'地量'),COLORFF2400,LINETHICK1;
倍量:(量/REF(量,1)>=1.91 AND COUNT(C>O,1)) OR (L>REF(H,1) AND COUNT(O>C,1) AND 量/REF(量,1)>=1.91),NODRAW,COLORC0D9D9;
STICKLINE(倍量,0,量,0.0001,0),COLOR00FFFF;
DRAWTEXT(倍量,量*0.99,'倍'),COLORC0D9D9,LINETHICK1;
VAR8:=LLV(LOW,21);
VAR9:=HHV(HIGH,21);
K:EMA((CLOSE-VAR8)/(VAR9-VAR8)*50,6),COLORFF1CAE,LINETHICK1;
D:EMA(0.667*REF(K,1)+0.333*K,2),COLORFF2400;
未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
换手赋值:成交量/当前流通股本*100,POINTDOT 画洋红色
输出十换:10的换手日累和,COLORRED,LINETHICK1,NODRAW
三输出十换:30的换手日累和,画绿色,LINETHICK1,NODRAW
{成交量比%}
AA赋值:成交量/((最高价-最低价)*2-收盘价-开盘价的绝对值)
主买赋值:IF(收盘价>开盘价,AA*(最高价-最低价),IF(收盘价<开盘价,AA*((最高价-开盘价)+(收盘价-最低价)),成交量 /2))
输出量比%:主买/成交量*100,COLOR00FFFF,LINETHICK1,NODRAW
量赋值:V/CONST(90日内V最高值)*30,LINETHICK0,成交量STICK
当满足条件收盘价>=开盘价时,在0和量*1之间画柱状线
当满足条件收盘价<=开盘价时,在0和量*1之间画柱状线
STICKLINE(0.9上穿1/成交量*1000>0.01 AND "KDJ.J"<0,量<0,-3,1.6,0),COLORFF2400,LINETHICK4
DRAWTEXT(0.9上穿1/成交量*1000>0.01 AND "KDJ.J"<0,量<0,'地量'),COLORFF2400,LINETHICK1
倍输出量:(量/1日前的量>=1.91 AND 统计1日满足C>O的天数) OR (L>1日前的H AND 统计1日满足O>C的天数 AND 量/1日前的量>=1.91),NODRAW,COLORC0D9D9
当满足条件倍量时,在0和量之间画柱状线
当满足条件倍量时,在量*0.99和'倍'位置书写文字
VAR8赋值:21日内最低价最低值
VAR9赋值:21日内最高价最高值
输出K:EMA((收盘价-VAR8)/(VAR9-VAR8)*50,6),COLORFF1CAE,LINETHICK1
输出D:E0.667*1日前的K+0.333*K的2日简单移动平均,COLORFF2400