TJ9:=ATAN(EMA(EMA(C,5),7)/REF(EMA(EMA(C,5),7),1)-1)*100*57.3>45;
量比:=V/REF(MA(V,5),1);
总倍量:=AMOUNT>=REF(AMOUNT,1)*1.9 AND (IF(C<O,C>REF(C,1),1));
天量:=AMOUNT=HHV(AMOUNT,120);
量王:=天量&&总倍量&&量比>2&&(BARSCOUNT(C)+1)>120;
LWW:=BARSLAST(量王>0 AND HHVBARS(H,100)=0);
LWT:=REF(MAX(C,O),LWW);
LWHT:=HHV(MAX(C,O),LWW+1);
LWHGB:=LWHT/LWT;
量王XG:= {LWHGB<1.3 AND} C>REF(LWHT,1) AND LWW<120 AND LWW>0 AND C/REF(C,1)>1.05;
B1:=(HHV(H,35)-C)/(HHV(H,35)-LLV(LOW,35))*158-35;
B2:=SMA(B1,35,1)+158;
B3:=(C-LLV(L,35))/(HHV(H,35)- LLV(L,35))*158;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1)+158;
B6:=B5-B2;
控盘程度:=(IF(B6>3,B6-3+2,0))*2.5;
控盘度:=158;
高控XG:=EVERY(控盘程度>REF(控盘程度,1),3) AND 控盘程度>控盘度 AND C/REF(C,1)>1.05
AND HHVBARS(C,250)=0;
量王高控XG:高控XG OR 量王XG AND TJ9 AND C/REF(C,1)>1.05;