通達信主圖源碼
n:=30;
TJ1:=HHV(H,N)=H;
STICKLINE(CLOSE,REF(H,BARSLAST(TJ1)),REF(H,BARSLAST(TJ1)),30,0),COLORMAGENTA;
TJ2:=LLV(L,N)=L;
STICKLINE(CLOSE,REF(L,BARSLAST(TJ2)),REF(L,BARSLAST(TJ2)),25,0),COLORGREEN;
MA5:MA(C,5),COLORWHITE;
開:=O,NODRAW;
收:=C,NODRAW;
低:=L#MONTH,NODRAW;
高5:REF(H#WEEK,1),NODRAW;
低5:REF(L,1),NODRAW;
收5:REF(C,1),NODRAW;
開5:REF(O,1),NODRAW;
周均價:REF((H+L+O+C)/4,1),NODRAW;
STICKLINE(ISLASTBAR,REF(H#WEEK,1),REF(H#WEEK,1),15,0),COLORGREEN,;
STICKLINE(ISLASTBAR,REF(C,1),REF(C,1),15,0),COLORYELLOW;
STICKLINE(ISLASTBAR,REF(L,1),REF(L,1),15,0),COLORYELLOW;
STICKLINE(ISLASTBAR,REF(H,1),REF(H,1),15,0),COLORLIMAGENTA;
STICKLINE(ISLASTBAR,REF(O,1),REF(O,1),15,0),COLORGREEN;
STICKLINE(ISLASTBAR,REF((H+L+O+C)/4,1),REF((H+L+O+C)/4,1),30,0)
,COLORWHITE,,LINETHICK1;