综合均线成本财务数据(主图 源码 说明 图片)
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2011-02-27 10:02:00
公式简介:
可以叠加在任何主图里
{综合均线成本财务数据主图 }
A:=EMA(CLOSE,3);
B:=EMA(CLOSE,5);
Z:=EMA(CLOSE,15);
dd:=A;
ee:=MA(dd,5);
ZZ:=MA(Z,7);
获利盘:=WINNER(CLOSE)*100;
套牢盘:=100-获利盘;
WIN1:=COST(85);
WIN2:=COST(15);
股票卖出价预测:=MA(套牢盘,89)*0.618/50+CLOSE;
股票买进价预测:=CLOSE-MA(套牢盘,60)*0.618/100;
转折价明日:=REF(CLOSE,2)*2-REF(CLOSE,5);
转折价后日:=REF(CLOSE,1)*2-REF(CLOSE,4);
转折价大后日:=CLOSE*2-REF(CLOSE,3);
高:=HHV(HIGH,0);
低:=LLV(LOW,0);
DCFL:=COST(95);
SCFL:=COST(55);
JCFL:=COST(15);
CH:=COST(5);
DI:=COST(0.38);
P:=SYSPARAM(1);
历史最高:=高;
DRAWTEXTEX(CLOSE,1,20,115,'历史最高:='+ NUMTOSTR(高[P],2)+' 亓'),COLORRED;
历史最低:=低;
DRAWTEXTEX(CLOSE,1,180,115,'历史最低:='+ NUMTOSTR(低[P],2)+' 亓'),COLORWHITE;
获利★:=获利盘;
DRAWTEXTEX(CLOSE,1,20,165,'获利★:='+ NUMTOSTR(获利盘[P],2)+' 亓'),COLORRED;
套牢★:=套牢盘;
DRAWTEXTEX(CLOSE,1,180,165,'套牢★:='+ NUMTOSTR(套牢盘[P],2)+' 亓'),COLORWHITE;
近买预测★:=股票买进价预测;
DRAWTEXTEX(CLOSE,1,20,215,'近买预测★:='+ NUMTOSTR(股票买进价预测[p],2)+' 亓'),COLORRED;
近卖预测★:=股票卖出价预测;
DRAWTEXTEX(CLOSE,1,180,215,'近卖预测★:='+ NUMTOSTR(股票卖出价预测[P],2)+' 亓'),COLORWHITE;
【90%成本】:=WIN1;
DRAWTEXTEX(CLOSE,1,20,265,'【90%成本】:='+ NUMTOSTR(WIN1[P],2)+' 亓'),COLORRED;
【70%成本】:=WIN2;
DRAWTEXTEX(CLOSE,1,180,265,'【70%成本】:='+ NUMTOSTR(WIN2[P],2)+' 亓'),COLORWHITE;
底出击★:=DI;
DRAWTEXTEX(CLOSE,1,20,315,'底出击★:='+ NUMTOSTR(DI[P],2)+' 亓'),COLORRED;
稳建仓:=CH;
DRAWTEXTEX(CLOSE,1,180,315,'稳建仓:='+ NUMTOSTR(CH[P],2)+' 亓'),COLORWHITE;
快刀手:=JCFL;
DRAWTEXTEX(CLOSE,1,20,375,'快刀手:='+ NUMTOSTR(JCFL[P],2)+' 亓'),COLORRED;
预测★:=DCFL;
DRAWTEXTEX(CLOSE,1,180,375,'预测★:='+ NUMTOSTR(DCFL[P],2)+' 亓'),COLORWHITE;
升浪:=SCFL;
DRAWTEXTEX(CLOSE,1,20,410,'升浪:='+ NUMTOSTR(SCFL[P],2)+' 亓'),COLORMAGENTA;
{均线角度公式}
ma5:=MA(CLOSE,5);
Q6:=ATAN((ma5/REF(ma5,1)-1)*100)*180/3.1416;
DRAWTEXTEX(CLOSE,1,20,450,'5日均线角度:='+ NUMTOSTR(Q6[P],2)+' 度'),COLORRED;
ma10:=MA(CLOSE,10);
Q2:=ATAN((ma10/REF(ma10,1)-1)*100)*180/3.1416;
DRAWTEXTEX(CLOSE,1,20,500,'10日均线角度:='+ NUMTOSTR(Q2[P],2)+' 度'),COLORWHITE;
ma20:=MA(CLOSE,20);
Q1:=ATAN((ma20/REF(ma20,1)-1)*100)*180/3.1416;
DRAWTEXTEX(CLOSE,1,20,550,'20日均线角度:='+ NUMTOSTR(Q1[P],2)+' 度'),COLORYELLOW;
ma30:=MA(CLOSE,30);
Q:=ATAN((ma30/REF(ma30,1)-1)*100)*180/3.1416;
DRAWTEXTEX(CLOSE,1,20,600,'30日均线角度:='+ NUMTOSTR(Q[P],2)+' 度'),COLORMAGENTA;
ma60:=MA(CLOSE,60);
Q3:=ATAN((ma60/REF(ma60,1)-1)*100)*180/3.1416;
DRAWTEXTEX(CLOSE,1,20,650,'60日均线角度:='+ NUMTOSTR(Q3[P],2)+' 度'),COLORGREEN;
ma120:=MA(CLOSE,120);
Q4:=ATAN((ma120/REF(ma120,1)-1)*100)*180/3.1416;
DRAWTEXTEX(CLOSE,1,20,700,'120日均线角度:='+ NUMTOSTR(Q4[p],2)+' 度'),COLORaaaaaa;
ma250:=MA(CLOSE,250);
Q5:=ATAN((ma250/REF(ma250,1)-1)*100)*180/3.1416;
DRAWTEXTEX(CLOSE,1,20,750,'250日均线角度:='+ NUMTOSTR(Q5[P],2)+' 度'),COLORCYAN;
ma360:=MA(CLOSE,360);
Q7:=ATAN((ma360/REF(ma360,1)-1)*100)*180/3.1416;
DRAWTEXTEX(CLOSE,1,20,800,'360日均线角度:='+ NUMTOSTR(Q7[P],2)+' 度'),COLORMAGENTA;
{财务数据}
DRAWTEXTEX(CLOSE,1,20,30,'股票代码:' + STKLABEL),colorffff;
DRAWTEXTEX(CLOSE,1,150,30,'■所属板块:' + BLKNAME),colorffff;
DRAWTEXTEX(CLOSE,1,180,410,'发行价:'+NUMTOSTR(FINANCE(51),2)+'元');
DRAWTEXTEX(CLOSE,1,180,450,'发行量:'+ NUMTOSTR(FINANCE(52),2)+'万股');
DRAWTEXTEX(CLOSE,1,180,490,'总股本:'+NUMTOSTR(FINANCE(1),0)+'万股');
DRAWTEXTEX(CLOSE,1,180,530,'流通A股:'+NUMTOSTR(FINANCE(7),0)+'万股');
DRAWTEXTEX(CLOSE,1,180,570,'净资产:'+NUMTOSTR(FINANCE(35),2)+'亿元');
DRAWTEXTEX(CLOSE,1,180,610,'每股收益:'+NUMTOSTR(FINANCE(33),2)+'元');
DRAWTEXTEX(CLOSE,1,180,650,'每股未分配:'+NUMTOSTR(FINANCE(32),2)+'元');
DRAWTEXTEX(CLOSE,1,180,690,'市盈率:'+NUMTOSTR(DYNAINFO(39),2)+'%');
DRAWTEXTEX(CLOSE,1,180,730,'投资收益:'+NUMTOSTR(FINANCE(24),2)+'元');
DRAWTEXTEX(CLOSE,1,180,770,'股东总数:'+NUMTOSTR(FINANCE(50),0)+'户');
DRAWTEXTEX(CLOSE,1,180,810,'投资收益:'+ NUMTOSTR(FINANCE(24),2)+ '元');
[url=http://www.goodgupiao.com/gupiaogongshi/12502.html][B]综合均线成本财务数据(主图 源码 说明 图片)[/B][/url]