BD8:=(C-REF(C,7))/8; BD20:=(C-REF(C,19))/20; BD60:=(C-REF(C,59))/60; BD168:=(C-REF(C,167))/168; MA8:MA(CLOSE,8)COLORLICYAN; 明8:MA8+BD8,POINTDOT,COLORLICYAN,NODRAW; MA20:MA(CLOSE,20)COLORBLUE,LINETHICK2; 明20:MA20+BD20,POINTDOT,COLORBLUE,NODRAW; MA60:MA(CLOSE,60)COLORLIGREEN,LINETHICK2; 明60:MA60+BD60,POINTDOT,COLORLIGREEN,NODRAW; MA168:MA(CLOSE,168)COLORRED,LINETHICK2; 明168:MA168+BD168,POINTDOT,COLORRED,LINETHICK2,NODRAW; STICKLINE(C>REF(C,1)*1.097,C,O,1.5,0)COLORYELLOW,LINETHICK2; {F10數(shù)據(jù)} DRAWTEXT_FIX(1,0.00,0,0,'行業(yè):')COLORRED; DRAWTEXT_FIX(1,0.03,0,0,HYBLOCK)COLORRED; DRAWTEXT_FIX(1,0.00,0.04,0,'概念:')COLORRED; DRAWTEXT_FIX(1,0.03,0.04,0,GNBLOCK)COLORRED; DRAWTEXT_FIX(1,0.00,0.08,0,'地區(qū):')COLORRED; DRAWTEXT_FIX(1,0.03,0.08,0,DYBLOCK)COLORRED; DRAWTEXT_FIX(1,0.00,0.12,0,'風(fēng)格:')COLORRED; DRAWTEXT_FIX(1,0.03,0.12,0,FGBLOCK)COLORRED; DRAWTEXT_FIX(1,0.00,0.16,0,'自定:')COLORRED; DRAWTEXT_FIX(1,0.03,0.16,0,ZDBLOCK)COLORRED; DRAWTEXT_FIX(1,0.0.02.0,0.20,0,'解禁:')COLORRED; {未來三個(gè)月內(nèi)有解禁} DRAWTEXT_FIX(1,0.03,0.20,0,EXTERNSTR(0,901))COLORRED; 高:=REFDATE(HHV(H,N),DATE); 低:=REFDATE(LLV(L,N),DATE); H1:高-(高-低)*0.25,NODRAW; H2:高-(高-低)*0.3333,NODRAW; H3:高-(高-低)*0.500,NODRAW; H4:高-(高-低)*0.6666,NODRAW; H5:高-(高-低)*0.75,NODRAW; DRAWTEXT(CURRBARSCOUNT=1,高*0.99,'前高'),COLORLIGREEN; DRAWTEXT(CURRBARSCOUNT=1,H5,'四分之三'),COLORLIBLUE; DRAWTEXT(CURRBARSCOUNT=1,H4,'三分之二'),COLORMAGENTA; DRAWTEXT(CURRBARSCOUNT=1,H3,'二分之一'),COLORRED; DRAWTEXT(CURRBARSCOUNT=1,H2,'三分之一'),COLORLIMAGENTA; DRAWTEXT(CURRBARSCOUNT=1,H1,'四分之一'),COLORMAGENTA; DRAWTEXT(CURRBARSCOUNT=1,低*1.01,'前低'),COLORRED; STICKLINE(CURRBARSCOUNT=13,高,高,100,-1),COLORLIGREEN; STICKLINE(CURRBARSCOUNT=13,H1,H1,100,-1),COLORMAGENTA; STICKLINE(CURRBARSCOUNT=13,H2,H2,100,-1),COLORLIBLUE; STICKLINE(CURRBARSCOUNT=13,H3,H3,100,-1),COLORRED; STICKLINE(CURRBARSCOUNT=13,H4,H4,100,-1),COLORMAGENTA; STICKLINE(CURRBARSCOUNT=13,H5,H5,100,-1),COLORLIBLUE; STICKLINE(CURRBARSCOUNT=13,低,低,100,-1),COLORRED; |
|