DRAWKLINE(HY_INDEXH,HY_INDEXO,HY_INDEXL,HY_INDEXC);
M5:MA(HY_INDEXC,5),COLORRED;
NOTEXT1:IF(M5<REF(M5,1) OR HY_INDEXC<M5,M5,DRAWNULL),COLORGREEN;
乖离5:(HY_INDEXC-MA(HY_INDEXC,5))/MA(HY_INDEXC,5)*100,NODRAW;
DRAWNUMBER(ISLASTBAR AND 乖离5>0,HY_INDEXC,乖离5),COLORRED;
DRAWNUMBER(ISLASTBAR AND 乖离5<0,HY_INDEXC,乖离5),COLORGREEN;