FF:=CONST(LLV(AMOL,N)); BB:=CONST(HHV(AMOL,N))-FF;
JD:=CONST(LLV(L,N)); JJ:=CONST(HHV(H,N))-JD;
价趋势比:=(AMOL-FF)/BB; XX:=价趋势比*JJ+JD;
量趋势:XX,LINETHICK2 COLORRED;
放量下跌:IF(EVERY(价趋势 REF(价趋势,1)AND XX REF(XX,1),K),价趋势,DRAWNULL)LINETHICK6 COLORYELLOW;
缩量上涨:IF(EVERY(价趋势 REF(价趋势,1)AND XX REF(XX,1),K),价趋势,DRAWNULL)LINETHICK6 COLORRED;
放量上涨:IF(EVERY(价趋势 REF(价趋势,1)AND XX REF(XX,1),K),价趋势,DRAWNULL)LINETHICK6 COLORGREEN;
缩量下跌:IF(EVERY(价趋势 REF(价趋势,1)AND XX REF(XX,1),K),价趋势,DRAWNULL)LINETHICK6 COLORWHITE