联系方式 Contact

云指标公式网

淘宝:iyungs.taobao.com

电话:18020657357

微信:396950280

Q Q:332879389

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search
你的位置:首页 > 公式动态 > 飞狐公式

价量时空

2017/5/12 11:43:10点击:

问:怎么每天都能免费收到这种原创好指标呢?

答:只需加微信:396950280关注朋友圈即可,天天更新!

公式源码:

STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,9,0),colorAA;

STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0),color11BB;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,7,0),color22CC;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6,0),color33DD;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,5,0),color44EE;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,4,0),color55FF;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3,0),color66FF;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2,0),color77FF;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1,0),color88FF;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,0,0),color99FF;
STICKLINE(CLOSE>=OPEN,CLOSE,HIGH,0,0),colorFF;
STICKLINE(CLOSE>=OPEN,OPEN,LOW,0,0),colorFF;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,9,0),colorAA00;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,8,0),colorBB11;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,7,0),colorCC22;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,6,0),colorDD33;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,5,0),colorEE44;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,4,0),colorFF55;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,3,0),colorFF66;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,2,0),colorFF77;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,1,0),colorFF88;
STICKLINE(CLOSE<=OPEN,CLOSE,OPEN,0,0),colorFF99;
STICKLINE(CLOSE<=OPEN,HIGH,LOW,0,0),colorFF00;
DRAWTEXT(SYSPARAM(2)=BARPOS,CLOSE,'证券代码:'+STKLABEL),ALIGN4,colorFF;
DRAWTEXT(BARPOS=SYSPARAM(2),HIGH,'                 所属板块:'+BLKNAME+'  发行价'+NUMTOSTR(FINANCE(51),2)+'元'+'  发行量'+NUMTOSTR(FINANCE(52),2)+'万股'+'\n'+'总股本'+NUMTOSTR(FINANCE(1),0)+'万股'+'  流通A股'+NUMTOSTR(FINANCE(7),0)+'万股'+'  净资产'+NUMTOSTR(FINANCE(35),2)+'亿元'+'  每股收益'+NUMTOSTR(FINANCE(33),2)+'元'+'  每股未分配'+NUMTOSTR(FINANCE(32),2)+'元'+'  市盈率'+NUMTOSTR(DYNAINFO(39),2)+'%'+'  投资收益'+NUMTOSTR(FINANCE(24),2)+'元'+'  股东总数'+NUMTOSTR(FINANCE(50),0)+'户'),ALIGN4,colorFF00;
YY:=REF(YEAR,BARSCOUNT(CLOSE)-1);
MM0:=REF(MONTH,BARSCOUNT(CLOSE)-1);
DD0:=REF(DAY,BARSCOUNT(CLOSE)-1);
上市日期:REF(YEAR,BARSCOUNT(CLOSE)-1),LINETHICK0,colorFF00;
年:REF(MONTH,BARSCOUNT(CLOSE)-1),LINETHICK0,colorFF00;
月:REF(DAY,BARSCOUNT(CLOSE)-1),LINETHICK0,colorFF00;
日:0,LINETHICK0,colorFF00;
YB:=SYSPARAM(2);
黄:=SYSPARAM(3);
P:=黄-YB;
金:=黄-YB+1;
分:=HHV(HIGH,金);
割:=LLV(LOW,金);
最高:分[黄],LINETHICK2,colorFF;
最低:割[黄],LINETHICK2,colorFF00;
分一:(最高-最低)*0.191+最低,LINEDOT,colorFF00FF;
分二:(最高-最低)*0.382+最低,LINEDOT,colorFF00FF;
中:(最高-最低)*0.5+最低,LINEDASHDOT,colorFFFF;
分四:(最高-最低)*0.618+最低,LINEDOT,colorFF00FF;
分五:(最高-最低)*0.809+最低,LINEDOT,colorFF00FF;
DIFF:=-LOG(MINDIFF);
DRAWTEXT(BARPOS=SYSPARAM(2),最高,'最高'+NUMTOSTR(最高,DIFF)),colorFF00;
DRAWTEXT(BARPOS=SYSPARAM(2),最低,'最低'+NUMTOSTR(最低,DIFF)),colorFF00;
DRAWTEXT(BARPOS=SYSPARAM(2),分一,'分一(0.191)'+NUMTOSTR(分一,DIFF)),colorFF00;
DRAWTEXT(BARPOS=SYSPARAM(2),分二,'分二(0.382)'+NUMTOSTR(分二,DIFF)),colorFF00;
DRAWTEXT(BARPOS=SYSPARAM(2),中,'中(0.5)'+NUMTOSTR(中,DIFF)),colorFF00;
DRAWTEXT(BARPOS=SYSPARAM(2),分四,'分四(0.608)'+NUMTOSTR(分四,DIFF)),colorFF00;
DRAWTEXT(BARPOS=SYSPARAM(2),分五,'分五(0.809)'+NUMTOSTR(分五,DIFF)),colorFF00;
YC:=P*0.191+YB;
YD:=P*0.382+YB;
YE:=P*0.5+YB;
YF:=P*0.618+YB;
YG:=P*0.809+YB;
VERTLINE(ROUND(YB)=BARPOS),colorFF00FF;
VERTLINE(ROUND(YC)=BARPOS),POINTDOT,colorFFFF00;
VERTLINE(ROUND(YD)=BARPOS),POINTDOT,colorFFFF00;
VERTLINE(ROUND(YE)=BARPOS),LINEDASHDOT,colorFFFF;
VERTLINE(ROUND(YF)=BARPOS),POINTDOT,colorFFFF00;
VERTLINE(ROUND(YG)=BARPOS),POINTDOT,colorFFFF00;
VERTLINE(ROUND(黄)=BARPOS),colorFF00FF;
S4:=SYSPARAM(4);
S5:=SYSPARAM(5);
HH:=HHVBARS(HIGH,P+1);
LL:=LLVBARS(LOW,P+1);
X:=BARPOS=黄-HH[黄];
Y:=BARPOS=黄-LL[黄];
K:=(S4-S5)/(黄-YB);
DRAWSL(X,HIGH,-15*K/60,0,0),POINTDOT,colorFFFF00;
DRAWSL(X,HIGH,-30*K/60,0,0),POINTDOT,colorFFFF00;
DRAWSL(X,HIGH,-45*K/60,0,0),POINTDOT,colorFFFF00;
DRAWSL(X,HIGH,-60*K/60,0,0),POINTDOT,colorFFFF00;
DRAWSL(X,HIGH,-85*K/60,0,0),POINTDOT,colorFFFF00;
DRAWSL(X,HIGH,-120*K/60,0,0),colorFFFF00;
DRAWSL(X,HIGH,-165*K/60,0,0),POINTDOT,colorFFFF00;
DRAWSL(X,HIGH,-240*K/60,0,0),POINTDOT,colorFFFF00;
DRAWSL(X,HIGH,-360*K/60,0,0),POINTDOT,colorFFFF00;
DRAWSL(X,HIGH,-600*K/60,0,0),POINTDOT,colorFFFF00;
DRAWSL(Y,LOW,10*K/60,0,0),POINTDOT,colorFF00FF;
DRAWSL(Y,LOW,30*K/60,0,0),POINTDOT,colorFF00FF;
DRAWSL(Y,LOW,60*K/60,0,0),POINTDOT,colorFF00FF;
DRAWSL(Y,LOW,90*K/60,0,0),POINTDOT,colorFF00FF;
DRAWSL(Y,LOW,120*K/60,0,0),colorFF00FF;
DRAWSL(Y,LOW,180*K/60,0,0),POINTDOT,colorFF00FF;
DRAWSL(Y,LOW,300*K/60,0,0),POINTDOT,colorFF00FF;
DRAWSL(Y,LOW,540*K/60,0,0),POINTDOT,colorFF00FF;
DRAWSL(Y,LOW,1020*K/60,0,0),POINTDOT,colorFF00FF;
LG:=IF(CAPITAL,CAPITAL,1);
VV:=VOL/LG*100;
R0:=0.9;
R:=(LOW-R0*S5)/VV;
R1:=LLV(R,P);
R2:=R1[黄];
R3:=LLV(LOW-R2*VV,P);
R4:=R3[黄];
R5:=(R2*VV+R4)*0.999;
RR:=R0*S5;
STICKLINE(CLOSE>=REF(CLOSE,1),R5,RR,8,0),colorAA00BB;
STICKLINE(CLOSE>=REF(CLOSE,1),R5,RR,7,0),colorBB11BB;
STICKLINE(CLOSE>=REF(CLOSE,1),R5,RR,6,0),colorCC22BB;
STICKLINE(CLOSE>=REF(CLOSE,1),R5,RR,5,0),colorDD33BB;
STICKLINE(CLOSE>=REF(CLOSE,1),R5,RR,4,0),colorEE44BB;
STICKLINE(CLOSE>=REF(CLOSE,1),R5,RR,3,0),colorFF55BB;
STICKLINE(CLOSE>=REF(CLOSE,1),R5,RR,2,0),colorFF66BB;
STICKLINE(CLOSE>=REF(CLOSE,1),R5,RR,1,0),colorFF77BB;
STICKLINE(CLOSE>=REF(CLOSE,1),R5,RR,0,0),colorFF88BB;
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
STICKLINE(CLOSE
Y1:=INDEXC>=MA(INDEXC,20);
Y2:=INDEXC
DRAWICON(Y1,LOW,10),ALIGN5;
DRAWICON(Y2,LOW,11),ALIGN5;