N:MA(C,250);
NHL:=COUNT(BARSLAST(N>REF(N,1))>=220,30)>=1 AND BARSLAST(N<=REF(N,1))>=1;
NOTEXTQ:IF(N>=REF(N,1),N,DRAWNULL)COLORRED LINETHICK2;{年线上行}
NOTEXTR:IF(N<REF(N,1),N,DRAWNULL)COLORLICYAN LINETHICK2;{年线下行}
NOTEXTD:IF(NHL AND MA(C,20)>N,N,DRAWNULL)COLORMAGENTA LINETHICK5;{圆弧底};