|
CG:ma((LOW+HIGH+CLOSE*2)/4,n);
FL:hhv(CG,3),COLORgreen,POINTDOT;
FS:if(CG<FL,(CG-(FL-CG)),FL),COLORgreen;
FL1:hhv(CG,5),COLORgreen,POINTDOT;
FS1:if(CG<FL1,(CG-(FL1-CG)),FL1),COLORgreen;
FL2:hhv(CG,7),COLORgreen,POINTDOT;
FS2:if(CG<FL2,(CG-(FL2-CG)),FL2),COLORgreen;
FL3:hhv(CG,9),colorFFABA3,linethick2;
FS3:if(CG<FL3,(CG-(FL3-CG)),FL3),colorFFABA3,linethick2;
zlzc1:=(hhv(h,144)-((hhv(h,144)-llv(l,144))*0.618));
zlzc2:=(hhv(h,144)-((hhv(h,144)-llv(l,144))*0.5));
zlzc3:=(hhv(h,144)-((hhv(h,144)-llv(l,144))*0.382));
PARTLINE(FS3>ref(FS3,1),FS3);
PARTLINE(FS3<ref(FS3,1),FS3);
drawtext(sysparam(2)=barpos,h,' ●板块:' +blkname),LINETHICK2,COLORGREEN,ALIGN4;
DRAWTEXT(sysparam(2)=barpos,H,'●流通A股:'+NUMTOSTR(FINANCE(7)/10000,4)+'亿股'+'●总股'+ NUMTOSTR(FINANCE(1)/10000, 2)+'●收益:'+NUMTOSTR(FINANCE(33),2)+'元'+'●净资产:'+NUMTOSTR(FINANCE(34),2)+'元'+'●公积金:'+NUMTOSTR(FINANCE(18),2)+'元'+'●未分配利润:'+NUMTOSTR(FINANCE(32),2)+'元'+'●市盈率:'+NUMTOSTR(DYNAINFO(39),2)+'倍'),LINETHICK2,COLORYELLOW,ALIGN5;
DRAWTEXT(sysparam(2)=barpos,H,'\\n'+' ●获利%='+NUMTOSTR(winner(c)*100, 2)+'%'+'●振幅='+ NUMTOSTR((h/l-1)*100,2)+'%'+'●换手率='+NUMTOSTR(100*VOL/CAPITAL,2)+'%'),colorCYAN,LINETHICK2,align4;
vV:='代码:'+stklabel;
drawtext(sysparam(2)=barpos,H,vV),colorRED,LINETHICK3,align4; |
|