MA1:MA(CLOSE,M1),COLORMAGENTA; MA2:MA(CLOSE,M2),COLORGREEN; MA3:MA(CLOSE,M3),COLORLIGRAY; MA4:MA(CLOSE,M4),COLORBLUE; MA5:MA(CLOSE,M5),COLORWHITE; MA6:MA(CLOSE,M6),COLORRED; 多空線:(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4,COLORLIMAGENTA,LINETHICK3; DRAWTEXT(CROSS(C,MA2) AND C<MA3,L,'輕倉'),COLORYELLOW,LINETHICK2; DRAWTEXT(CROSS(C,MA2) AND C>MA3,L,'加倉'),COLORWHITE,LINETHICK2; DRAWTEXT(CROSS(MA2,C),1.02*HIGH,'減倉'),COLORGREEN,LINETHICK2; DRAWTEXT(CROSS(C,MA3),L,'重倉'),COLORYELLOW,LINETHICK2; DRAWTEXT(CROSS(MA3,C),1.02*HIGH,'清倉'),COLORGREEN,LINETHICK2; DRAWTEXT_FIX(1,0.00,0,0,'所屬行業(yè):')COLOR0080FF; DRAWTEXT_FIX(1,0.07,0,0,HYBLOCK)COLOR0080FF; DRAWTEXT_FIX(1,0.14,0,0,'所屬地區(qū):')COLOR00FFFF; DRAWTEXT_FIX(1,0.21,0,0,DYBLOCK)COLOR00FFFF; DRAWTEXT_FIX(1,0.00,0.08,0,'主題投資:')COLOR0000FF; DRAWTEXT_FIX(1,0.07,0.08,0,EXTERNSTR(0,1))COLOR0000FF; DRAWTEXT_FIX(1,0.00,0.16,0,'主營業(yè)務:')COLORFF00FF; DRAWTEXT_FIX(1,0.07,0.16,0,EXTERNSTR(0,2))COLORFF00FF; 漲停:=IF(REF(C,1)*1.090-C<0.01 ,1,0); STICKLINE(漲停,OPEN,CLOSE,4,0),COLORRED; STICKLINE(漲停,OPEN,CLOSE,1,0),COLORYELLOW; DRAWTEXT(漲停,L-0.3,'漲停'),COLORRED; STICKLINE(CLOSE>多空線,OPEN,CLOSE,0.1,0),COLORRED; STICKLINE(CLOSE<多空線,OPEN,CLOSE,0.1,0),COLORBLUE; IF(CLOSE<多空線,多空線,DRAWNULL),COLORBLUE,LINETHICK3; C3:=REF(C,1); 跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0); STICKLINE(跌停,OPEN,CLOSE,4,0),COLORLIBLUE; STICKLINE(跌停,OPEN,CLOSE,1,0),COLORBLUE; DRAWTEXT(跌停,H+0.3,'跌停'),COLORLIBLUE; 流通市值:(FINANCE(40)/100000000),NODRAW,COLORRED;
|