{趋势密码}
VAR1:MA(C,18),COLORRED;
上升:IF(VAR1 REF(VAR1,1),VAR1,DRAWNULL),COLORRED;
下降:IF(VAR1 REF(VAR1,1),VAR1,DRAWNULL),COLORBLUE;
涨停:=C/REF(C,1) =1.099;
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.8,0.1,1,STRCAT(STRCAT(HYBLOCK,' '), STRCAT(STRCAT(DYBLOCK,' '),GNBLOCK))),COLORGREEN;