N:=14;{常规条件}常规条件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:=BAAST(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);前4波:=REF(前3