量化1:=(vol/C)/2;
量化2:=SUM(IF(量化1>100 AND CLOSE>REF(CLOSE,1),量化1,0),0);
量化3:=SUM(IF(量化1>100 AND CLOSE量化4:=SUM(IF(量化1<100 AND CLOSE>REF(CLOSE,1),量化1,0),0);
量化5:=SUM(IF(量化1<100 AND CLOSE量化6:=量化2+量化3+量化4+量化5;
机买:=(量化2/量化6)*100-100,LINETHICK1,COLORRED;
机卖:=(量化3/量化6)*100-100,LINETHICK1,COLORGREEN;
主力差:=机买-机卖;
LQH:=主力差>0 AND REF(主力差,1)<=0;
入:LQH;