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));
买入:=(VAR5*VAR2)+(VAR6*VAR2);
卖出:=VOL-买入;
买卖差:=(买入-卖出);
金线:=SUM(买卖差,15),COLORYELLOW;
银线:=SUM(买卖差,25),COLORFF00FF;
攻击力度:=100*(WINNER(CLOSE)-WINNER(OPEN));
换手:=VOL/CAPITAL*100;
追击:=攻击力度>15 AND 换手<=6;
五角星:追击;