A1:=(C-O)/(H-L)*V;
A2:=(H-C)/(H-L)*V;
A3:=(O-L)/(H-L)*V;
当日上攻量:=A1*0.7+A2*0.5+A3*0.4;
当日出货量:=A1*0.3+A2*0.5;
当日杀跌量:=A3*0.6;
五日上攻量:=SUM(当日上攻量,5);
五日出货量:=SUM(当日出货量,5);
五日杀跌量:=SUM(当日杀跌量,5);
XG1:crOSS(五日上攻量,五日出货量) AND 当日上攻量>0;
XG2:CROSS(五日上攻量,五日杀跌量) AND 当日上攻量>0;
XG3:五日上攻量>五日杀跌量 AND 当日上攻量>0;