{常规条件}常规条件A:=((EXIST(CLOSE/REF(CLOSE,1)>1.095 AND CLOSE=HIGH,13) OR EXIST(((CLOSE-LLV(CLOSE,5))/LLV(CLOSE,5)*100)>10,13))) AND HHV(HIGH,34)!=HIGH;常规条件B:=IF(BARSTATUS=2,/FROMOPEN>(REF(,1)+REF(VOL,2))/480,VOL>(REF(VOL,1)+REF(VOL,2))/2);{毁三观指标}DD:=BARSLAST(DOPEN=REF(DOPEN,1) AND DHIGH=REF(DHIGH,1) AND DLOW=REF(DLOW,1) AND DCLOSE=REF(DCLOSE,1));DDT1:=BARSLAST(DD=1);现重心:SUM(AMOUNT,DDT1+1)/SUM(VOL,DDT1+1)/100,NODRAW;前波段重心:REF(现波段重心,DDT1+1),NODRAW;前2波段重心:REF(前波段重心,DDT1+1),NODRAW;前3波:=REF(前2波段重心,DDT1+1)