设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

飞狐MACD买入点主图公式源码 飞狐指标公式大全

2015-10-27 9:20:16 股票入门 http://rumen.southmoney.com

飞狐MACD买入点主图公式源码 飞狐指标公式大全 南方财富网小编为您带来最新的飞狐指标公式

WRAP: break-word; WHITE-SPACE: normal; COLOR: rgb(51,51,51); WORD-SPACING: 0px; PADDING-TOP: 0px; -webkit-text-stroke-width: 0px">绝无仅有的主图(macd买入点)

input:n(3),nn(18),pp(34),低点参数(10),高点参数(8);
//VERTLINE(VOL=HHV(VOL,nn)),lineDOT,color000099;
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(涨停,OPEN,CLOSE,7,0),COLORRED;
STICKLINE(涨停,h,h,80,0),COLORRED,shift4;
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,7,0),COLORGREEN;
lnn:=BARSLAST((VOL=HHV(VOL,nn)));
K:=lnn=0;
K1:=SUMBARS(K,1);

ydh:=REF(h,K1-1);
ydd:=REF(LOW,K1-1);
DRAWTEXT((ISLASTBAR = 1),ydh,('高:' + NUMTOSTR(ydh,2))),ALIGN1,shift1,colorcyan;
DRAWTEXT((ISLASTBAR = 1),ydd,('低:' + NUMTOSTR(ydd,2))),ALIGN1,shift1,colorffffff;

STICKLINE(K1<=30,REF(h,K1-1)*1,REF(h,K1-1),pp,0),COLORcyan,shift3;
STICKLINE(K1<=30,REF(LOW,K1-1)*1,REF(LOW,K1-1),pp,0),COLORgreen,shift3;
STICKLINE(K1<=1,REF(OPEN,K1-1)*1,REF(CLOSE,K1-1),3,0),COLORyellow;
STICKLINE(K1<=1,REF(HIGH,K1-1)*1,REF(LOW,K1-1),1,0),COLORyellow;
平顶:=h=ref(h,1) or (h=ref(h,2) and h>ref(h,1));
顶:partline(平顶,h),coloryellow,linethick2;
平底:=l=ref(l,1) or (l=ref(l,2) and l<ref(l,1));
底:partline(平底,l),coloryellow,linethick2;

STICKLINE(ISLASTBAR,CLOSE*1.1,CLOSE*1.1,45,1),colorred,shift3;
DRAWNUMBER(ISLASTBAR,CLOSE*1.1,CLOSE*1.1,2),coloryellow,shift1;
DRAWTEXT(ISLASTBAR,CLOSE*1.08,'涨停'),COLORGREEN,shift1;

DRAWTEXTEX(CLOSE,1,30,20,'

LINETHICK2,Coloryellow;
w:=V>=2*REF(V,1);
DRAWTEXTEX(CLOSE,1,30,20,'
LINETHICK2,Colorred;
市值:=CLOSE*CAPITAL*VOLUNIT/100000000;
股本:=FINANCE(1)/10000;
流通:=FINANCE(7)/10000;
股东总数:=FINANCE(50);
主营业务增长率:=FINANCE(53);
税后利润增长率:=FINANCE(54);
净利润增长率:=FINANCE(55);
人均持股:=(FINANCE( 7)/FINANCE(50))*10000;
DRAWTEXT(w,l*0.99,'倍量'),coloryellow;
市盈率:=DYNAINFO(39);
市净率:=CLOSE/FINANCE(34);
F:=COST(5 );J:=COST(95 );
莸利比例:=WINNER(CLOSE )*100;
换手率:=VOL/CAPITAL*100;

 

[1] [2] [3] [4] 下一页

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。