指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:大单动向公式 飞狐动向指标 源码
aa:=if(close<0,0,sum(if(close>ref(close,1)andvol>ref(vol,1),vol,0),2));
bb:=if(close<0,0,sum(if(close<ref(close,1)andvol<ref(vol,1),vol,0),2));
dd:=if(close<0,0,aa-bb);
x0:=if(close<0,0,if(dd>0and(close/ref(close,1)-1)*100>0,amount/10000,0));
x1:=if(close<0,0,if(dd<0and(close/ref(close,1)-1)*100<0,amount/10000,0));
ddx:if(close<0,0,(x0-x1)/finance(7)*close/100),linethick0;
选股:if(close<0,0,ddx>=0and(close/ref(close,1)-1)*100>4),linethick0;
stickline(ddx>0,0,ddx,8,0),coloraaff;
stickline(ddx>0,0,ddx,6.6,0),colorbbff;
stickline(ddx>0,0,ddx,4.4,0),colorccff;
stickline(ddx>0,0,ddx,3.3,0),colorddff;
stickline(ddx>0,0,ddx,2.2,0),coloreeff;
stickline(ddx>0,0,ddx,1.1,0),colorffff;
stickline(ddx<0,0,ddx,8,0),colorff2200;
stickline(ddx<0,0,ddx,1,0),colorff2200;
stickline(ddx<0,0,ddx,5,0),colorff6600;
stickline(ddx<0,0,ddx,3,0),colorff9900;
stickline(ddx<0,0,ddx,1.5,0),colorffdd00;
stickline(ddx<0,0,ddx,0,0),colorffdd00;
周净流入:if(close<0,0,sum(x0-x1,5)),linethick0,color6622ff;
ddx1:(if(close<0,0,ema(ddx,60)))*15.367;
ddx2:if(close<0,0,ma(ddx1,5));
ddx3:if(close<0,0,ma(ddx1,10));
天:=if(close<0,0,count(x0-x1>0,5));
drawtextex(close,1,380,0,'一周内翻红:'+numtostr(天,0)+'天'),colorffdd00;
drawtextex(dd>=0,1,200,0,'大单动向:'+'↑'),colorffdd00;
drawtextex(dd<0,1,200,0,'大单动向:'+'↓'),colorffdd00;
variable:wday[7]='星期六';
wday[1]:='星期日';
wday[2]:='星期一';
wday[3]:='星期二';
wday[4]:='星期三';
wday[5]:='星期四';
wday[6]:='星期五';
fy:=year;
fm:=month;
fd:=day;
wd:=weekday;
p:=sysparam(1);
str1:=''+numtostr(fy[p],0)+'年'+numtostr(fm[p],0)+'月'+numtostr(fd[p],0)+'日'+wday[wd[p]+1];
drawtextex(close>0,1,650,0,str1),colorffdd00;
drawtextex(close,1,10,0,stklabel+''+stkname+''),colorffbf00;
>>>使用本站搜索工具可以找到更多“大单动向公式 飞狐动向指标 源码”