实战附图:
源码: 所属地区:DRAWTEXT_FIX(1,0,0,0,'地区:'),COLORYELLOW;DRAWTEXT_FIX(1,0.05,0,0,DYBLOCK),COLORYELLOW; 所属行业:DRAWTEXT_FIX(1,0,0.08,0,'行业:'),COLORYELLOW; DRAWTEXT_FIX(1,0.05,0.08,0,HYBLOCK),COLORYELLOW; 所属概念:DRAWTEXT_FIX(1,0,0.16,0,'概念:'),COLORYELLOW;DRAWTEXT_FIX(1,0.05,0.16,0,GNBLOCK),COLORYELLOW; 所属风格:DRAWTEXT_FIX(1,0,0.24,0,'风格:'),COLORYELLOW; DRAWTEXT_FIX(1,0.05,0.24,0,FGBLOCK),COLORYELLOW; 上市日期:=CONST(DAYTODATE((DATETODAY(DATE)-FINANCE(42))))+19000000,NODRAW; DRAWTEXT_FIX(1,0,0.32,0,'上市日期:'),COLORYELLOW;DRAWNUMBER_FIX(1,0.05,0.32,0,上市日期),COLORYELLOW; 自由流通市值:=STRCAT(STRCAT('自由流通市值:', CON2STR(C*FINANCE(46)/100000000,2)),'亿'); DRAWTEXT_FIX(1,0,0.4,0,'自由流通市值:'),COLORYELLOW; DRAWNUMBER_FIX(1,0.08,0.4,0,自由流通市值),COLORYELLOW; M3:MA(C,3),COLORGREEN,LINETHICK1; M13:MA(C,13),COLORGREEN,LINETHICK1; B:=M3IF(B-1,M3,DRAWNULL)COLORRED,LINETHICK2; {DRAWICON(CROSS(C,M5),M5-0.5,7); DRAWICON(CROSS(M5,C),M5+0.6,8); {M10:MA(C,9),COLORRED,LINETHICK0;}; 波段高:(XMA(XMA(HIGH,30),30)-XMA(XMA(LOW,30),30))*2+XMA(XMA(HIGH,30),30),COLORWHITE,LINETHICK1; 波段低:XMA(XMA(LOW,30),30)-(XMA(XMA(HIGH,30),30)-XMA(XMA(LOW,30),30))*1.5,COLORWHITE,LINETHICK1; 俞言友情:(波段高+波段低)/2,DOTLINE,COLOR909090; IF(波段高>=REF(波段高,1),波段高,DRAWNULL),COLORYELLOW,LINETHICK1; IF(波段低>=REF(波段低,1),波段低,DRAWNULL),COLORYELLOW,LINETHICK1; IF(波段高<=REF(波段高,1),波段高,DRAWNULL),COLOR008800,LINETHICK1; IF(波段低<=REF(波段低,1),波段低,DRAWNULL),COLOR008800,LINETHICK1; IF(M13>=REF(M13,1),M13,DRAWNULL),COLORRED,LINETHICK1; IF(M13<=REF(M13,1),M13,DRAWNULL),COLORGREEN,LINETHICK2; STICKLINE(REF(LOW,1)<波段低 AND CLOSE>波段低 AND 波段高>=REF(波段高,1) AND CLOSE>OPEN,CLOSE,OPEN,(-1),0),COLORYELLOW;
需要的的朋友可以给我留言! |