通达信金银线指标公式

通达信威中短线指标公式

VAR1:=(HIGH+LOW+CLOSE)/3;

VAR2:=vol/IF(HIGH=LOW,4,HIGH-LOW);

VAR3:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));

VAR4:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-VAR1);

VAR5:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);

VAR6:=IF(HIGH=LOW,1,VAR1-MIN(CLOSE,OPEN));

A:=(VAR5*VAR2)+(VAR6*VAR2);

B:=VOL-A;

AB:=(A-B);

金线:SUM(AB,15),COLORYELLOW;

银线:SUM(AB,25),COLORWHITE;

{www.zhibiaow.com 指标网_最新股票指标公式}

攻击力度:100*(WINNER(CLOSE)-WINNER(OPEN)),COLOR00FFFF,POINTDOT,LINETHICK0;

换手:=VOL/CAPITAL*100;

追击:攻击力度>15 AND 换手<=6 ,LINETHICK0;

DRAWTEXT(追击,金线*1.06,''),LINETHICK3,COLOR0000CC;

0,COLORGREEN;

通达信短线KD+选股指标公式