TY:=C;A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1);HD:=FILTER(C1,10);A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10);C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);:MA(CLOSE,20),LINETHICK2;红持有数值:IF(趋势>=REF(趋势,1),趋势,DRAWNULL),COLORRED,LINETHICK2;蓝数值:IF(REF(趋势,1)>趋势,趋势,DRAWNULL),COLORCYAN,LINETHICK2;箱线:REF(H,BARSLAST(HD)),COLORFF00FF,POINTDOT,LINETHICK3;体线:REF(L,BARSLAST(LD)),COLORFFFFE5,POINTDOT,LINETHICK3;3:=MA(CLOSE,30),LINETHICK1; 均线2:=MA(CLOSE,20),LINETHICK0; 均线6:=MA(CLOSE