总量:=AMOUNT;
量比:=V/REF(MA(V,5),1);
几倍:=1.9;
倍量量王:= 总量 >=REF(总量,1)*几倍 AND (IF(C<O,C>REF(C,1),1));
天量:=总量=HHV(总量,120);
量王:=天量&&倍量量王&&量比>2&&(BARSCOUNT(C)+1)>120;
XG:crOSS(C,REF(H,BARSLAST(量王))) AND COUNT(CROSS(C,REF(H,BARSLAST(量王))),BARSLAST(量王))=1;