主单额差主单量差:(bigorder(1,1)-bigorder(2,1))*sum(vol,0)/capital*100; DDX:if(count(c,0)=1,主单量差,主单量差-ref(主单量差,1)),colorstICK,LINETHICK2; ma(主单量差,if(count(c,0)<3,count(c,0),3)); ma(主单量差,if(count(c,0)<5,count(c,0),5)); ma(主单量差,if(count(c,0)<21,count(c,0),21)); |