指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:十天买卖公式 飞狐十天指标 源码
十天买卖:
sat:=if((amount/c)/(hhv(amount,20)/hhv(c,20))*100>100,100,(amount/c)/(hhv(amount,20)/hhv(c,20))*100);
p:=sysparam(1);
drawtextex(sysparam(3)=barpos,0,10,10,'量能饱和度:'+numtostr(sat[sysparam(1)],0)),colorccffcc,pxup0;//drawtextrel(800,40,'量能饱和度:'+numtostrn(sat,0)),linethick2,color00ffff;十天买卖:ema(ref(close,1),2),colorffcc00,linethick1;
partline(close>=十天买卖,十天买卖),linethick2,color0000ff;
十天压力:hhv(十天买卖,13),color00ff00,linethick1;
partline(十天买卖=十天压力,十天压力),linethick2,color00ffcc;
十天支撑:llv(十天买卖,13),color00ffff,linethick1;
partline(十天买卖=十天支撑,十天支撑),linethick2,color11ff11;rsv:=(((close-llv(low,13))/(hhv(high,13)-llv(low,13)))*100);
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=((3*k)-(2*d));
rsv24:=(((close-llv(low,55))/(hhv(high,55)-llv(low,55)))*100);
k24:=sma(rsv24,3,1);
d24:=sma(k24,3,1);
j24:=((3*k24)-(2*d24));
压力位:if(cross(j24,j),high,ref(high,barslast(cross(j24,j)))),color0000ff;
支撑位:if(cross(j,j24),low,ref(low,barslast(cross(j,j24)))),colorff0000;价在线下:=c<十天买卖;
stickline(价在线下,close,open,7.5,0),colorff7700;
stickline(价在线下,close,open,6,0),colorff9900;
stickline(价在线下,close,open,5,0),colorffbb00;
stickline(价在线下,close,open,4,0),colorffcc00;
stickline(价在线下,close,open,3,0),colorffdd00;
stickline(价在线下,close,open,2,0),colorffee00;
stickline(价在线下,close,open,1,0),colorffff00;
价在线上:=c>=十天买卖;
stickline(价在线上,close,open,7.5,0),color000055;
stickline(价在线上,close,open,6,0),color000066;
stickline(价在线上,close,open,5,0),color000077;
stickline(价在线上,close,open,4,0),color000099;
stickline(价在线上,close,open,3,0),color0000bb;
stickline(价在线上,close,open,2,0),color0000dd;
stickline(价在线上,close,open,1,0),color0000ff;
收小于开:=c>=十天买卖andc<open;
stickline(收小于开,o,(o+c)/2,7.5,0),colorff11ff;
stickline(收小于开,o,(o+c)/2,6,0),colorff33ff;
stickline(收小于开,o,(o+c)/2,5,0),colorff55ff;
stickline(收小于开,o,(o+c)/2,4,0),colorff77ff;
stickline(收小于开,o,(o+c)/2,3,0),colorff99ff;
stickline(收小于开,o,(o+c)/2,2,0),colorffbbff;
stickline(收小于开,o,(o+c)/2,1,0),colorffddff;
收大于开:=c<十天买卖andc>open;
stickline(收大于开,c,(o+c)/2,7.5,0),color333333;
stickline(收大于开,c,(o+c)/2,6,0),color555555;
stickline(收大于开,c,(o+c)/2,5,0),color777777;
stickline(收大于开,c,(o+c)/2,4,0),color999999;
stickline(收大于开,c,(o+c)/2,3,0),colorbbbbbb;
stickline(收大于开,c,(o+c)/2,2,0),colordddddd;
stickline(收大于开,c,(o+c)/2,1,0),colorffffff;
ll:=llv(c,100);
tj:=if((c-ref(c,1))/ref(c,1)>0.025,1,0);
平台支撑:=if(c>ref(o,barslast(tj=1)),ref(o,barslast(tj=1)),0);
stickline(平台支撑,c,(o+c)/2,7.5,0),color005555;
stickline(平台支撑,c,(o+c)/2,6,0),color006666;
stickline(平台支撑,c,(o+c)/2,5,0),color007777;
stickline(平台支撑,c,(o+c)/2,4,0),color009999;
stickline(平台支撑,c,(o+c)/2,3,0),color00bbbb;
stickline(平台支撑,c,(o+c)/2,2,0),color00dddd;
stickline(平台支撑,c,(o+c)/2,1,0),color00ffff;平台压力:=if(c<openandref(c,1)>ref(open,1),ref(close,1),0);
stickline(平台压力,o,(o+c)/2,7.5,0),color003300;
stickline(平台压力,o,(o+c)/2,6,0),color005500;
stickline(平台压力,o,(o+c)/2,5,0),color007700;
stickline(平台压力,o,(o+c)/2,4,0),color009900;
stickline(平台压力,o,(o+c)/2,3,0),color00bb00;
stickline(平台压力,o,(o+c)/2,2,0),color00dd00;
stickline(平台压力,o,(o+c)/2,1,0),color00ff00;yl:=if(c>ref(o,barslast(tj=1)),ref(o,barslast(tj=1)),0);
ft:=barslast(yl);
ylx:=ref(yl,ft);
bt:=if(c<openandref(c,1)>ref(open,1),ref(c,1),0);
xft:=barslast(bt);
xylx:=ref(bt,xft);
平台调下:=cross(xylx,c);
平台突破:=cross(c,ylx);
drawicon(平台突破,l,8),align0,pxdn10;
drawicon(平台调下,h,9),align0,pxup2;var2:=ref(low,1);
var3:=sma(abs(low-var2),13,1)/sma(max(low-var2,0),13,1)*100;
var4:=ema(if(close*1.2,var3*13,var3/13),13);
var5:=llv(low,34);
var6:=hhv(var4,34);
var7:=if(llv(low,56),1,0);
var8:=ema(if(low<=var5,(var4+var6*2)/2,0),3)/618*var7;
主力进场:=var8>ref(var8,1);
进场:=ref(主力进场,1);drawtext(进场and平台突破,l,'进场'),align0,color0000ff,pxdn10;
//drawtext(进场and平台突破,l,'场'),align0,color0000ff,pxdn10;
drawicon(进场and平台突破andl=支撑位,l,1),align0,pxdn10;机构增仓:=extdata(1);
大户增仓:=extdata(2);
散户增仓:=extdata(3);
增仓风向:=机构增仓+大户增仓;
增仓:=ref(cross(增仓风向,0)andc<十天买卖,1);
进:=cross(增仓风向,机构增仓)or增仓;
drawicon(进and增仓风向>0and机构增仓>0andc>十天买卖,l,12),align0,pxdn10;
出:=cross(机构增仓,增仓风向);
drawicon(出andc<十天买卖,h*1,13),align1,pxup6;
drawtextex(sysparam(3)=barpos,0,10,23,'机构增仓:'+numtostr(机构增仓,0)),linethick2,colorffffff;
drawtextex(sysparam(3)=barpos,0,10,36,'大户增仓:'+numtostr(大户增仓,0)),linethick2,colorffffff;
drawtextex(sysparam(3)=barpos,0,10,49,'散户增仓:'+numtostr(散户增仓,0)),linethick2,colorffffff;
stickline(v>=hhv(v,62),open,close,3,0),color00ffff;
>>>使用本站搜索工具可以找到更多“十天买卖公式 飞狐十天指标 源码”