if DISPSTATUS=2 then aaa:=BARPOS;if DISPSTATUS=1 then bbb:=BARPOS;ddd:=aaa-bbb;ee:=hhv(h,ddd);MSTATUS:=BARSTATUS=2;MA5:MA(C,5),PRECIS2;MA10:MA(C,10),PRECIS2;MA30:MA(C,30),PRECIS2;MA60:MA(C,60),PRECIS2,LINETHICK1;MA125:MA(C,125),ColorFFFF00,PRECIS2,LINETHICK1;MA:MA(C,250),PRECIS2,LINETHICK1;i:=1;IF MSTATUS and (MA5 > MA10 and MA10 > MA30 and MA5 > MA30) THEN BEGIN DRAWTEXTA(0,i*16,'。高位谨防筑顶。中低位当股价向上5、10、,均线呈排列是最佳;'),COLORRED,ALIGN0,LINETHICK1; i:=i+1; END;IF MSTATUS and (MA5 < MA10 COLORGREEN,ALIG