通达信攻击型指标公式
2021/6/18 17:54:44
VUR0:=(2*O+H+L+3*C)/7;
VUR1:=CAPITAL*VUR0;
VUR2:=SMA(AMOUNT,10,1)/1000;
VUR3:=MA(C*3,5);
VUR4:=VUR2*C*3/VUR3*1/10;
VUR5:=VUR2*O*3/VUR3*1/10;
VUR6:=VUR2*H*3/VUR3*1/10;
VUR7:=VUR2*L*3/VUR3*1/10;
VUR8:=(2*VUR5+VUR6+VUR7+3*VUR4)/7;
VUR9:=DMA(EMA(VUR4,2),SUM(V,1)*VUR8);
VUR10:=EMA(VUR9,2);
VURA:=VUR9>VUR10;
VURB:=EMA(VUR1-VUR9,1);
VURC:=REF(VURB,1);
VURD:=VURB>VURC;
VURS:=VURD AND C>O;
VURE:=(VURB-VURC)*15;
VURF:=(VUR9-VUR10)*15000;
VURG:=(VURC-VURB)*(-1);
VURH:=IF(VURB>VURC,VURE/1000,0);
VURN:=IF(VURB<VURC,VURE/1000,0);
VURT:=IF(VURA AND VURS,VURF/10000,0);
VURL:=IF(VURA AND VURB<VURC,VURE/1000,0);
吸进量:VURH,POINTDOT,colorred;
吐出量:VURN,POINTDOT,colorgreen;
买进强烈:VURT,POINTDOT,coloryellow;
减筹打压:VURL,POINTDOT,COLORFFF516;
STICKLINE(VURB>VURC,0,VURE,3,1),colorred;
STICKLINE(VURB<VURC,0,VURE,3,0),colorgreen;
STICKLINE(VURA AND VURS,0,VURF,3,0),coloryellow;
STICKLINE(VURA AND VURB<VURC,0,VURE,3,0),COLORFFF516;
看股吧 公式 www.kanguba.c om
[源码翻译]通达信公式动态翻译显示
VUR0赋值:(2*开盘价+最高价+最低价+3*收盘价)/7
VUR1赋值:当前流通股本(手)*VUR0
VUR2赋值:成交额(元)的10日[1日权重]移动平均/1000
VUR3赋值:收盘价*3的5日简单移动平均
VUR4赋值:VUR2*收盘价*3/VUR3*1/10
VUR5赋值:VUR2*开盘价*3/VUR3*1/10
VUR6赋值:VUR2*最高价*3/VUR3*1/10
VUR7赋值:VUR2*最低价*3/VUR3*1/10
VUR8赋值:(2*VUR5+VUR6+VUR7+3*VUR4)/7
VUR9赋值:以成交量(手)的1日累和*VUR8为权重VUR4的2日指数移动平均的动态移动平均
VUR10赋值:VUR9的2日指数移动平均
VURA赋值:VUR9>VUR10
VURB赋值:VUR1-VUR9的1日指数移动平均
VURC赋值:1日前的VURB
VURD赋值:VURB>VURC
VURS赋值:VURD AND 收阳线
VURE赋值:(VURB-VURC)*15
VURF赋值:(VUR9-VUR10)*15000
VURG赋值:(VURC-VURB)*(-1)
VURH赋值:如果VURB>VURC,返回VURE/1000,否则返回0
VURN赋值:如果VURB<VURC,返回VURE/1000,否则返回0
VURT赋值:如果VURAANDVURS,返回VURF/10000,否则返回0
VURL赋值:如果VURAANDVURB<VURC,返回VURE/1000,否则返回0
输出吸进量:VURH,POINTDOT,画红色
输出吐出量:VURN,POINTDOT,画绿色
输出买进强烈:VURT,POINTDOT,画黄色
输出减筹打压:VURL,POINTDOT,COLORFFF516
当满足条件VURB>VURC时,在0和VURE位置之间画柱状线,宽度为3,1不为0则画空心柱.,画红色
当满足条件VURB<VURC时,在0和VURE位置之间画柱状线,宽度为3,0不为0则画空心柱.,画绿色
当满足条件VURAANDVURS时,在0和VURF位置之间画柱状线,宽度为3,0不为0则画空心柱.,画黄色
当满足条件VURAANDVURB<VURC时,在0和VURE位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLORFFF516
其它股票公式列表