资金动能
long 8
short3
m 5
diff:=ema(close,3)-ema(close,8);
dea:=ema(diff,5);
macd := 2*(diff-dea);
x1:=ema(diff,5)*5;
x2:=((ema(close,3)-ema(close,8)))*5;
x3:if(x2>0,x2,0),draw3d,colorred;
x4:if(x2<0,x2,0),draw3d,colorgreen;
资金动能a:x2,0,rgb(255,128,0),0,2;
资金动能b:x1,0,rgb(0,0,255),0,2;
aa:drawicon((cross(资金动能a,资金动能b) and 资金动能b<-0.25),资金动能b,0);
先进龙头
n 3
换手率:=vol/capital*100;
x1:=ma(换手率,n);
涨幅:=(close-ref(close,1))/ref(close,1);
x2:=ma(涨幅,n);
先机龙头:x1*x2*100;
主力雷达
df 3
n1 12
rsv:=(close-llv(low,n1))/(hhv(high,n1)-llv(low,n1))*100;
k:=(sma(rsv,df,1));
d:=(sma(k,df,1));
kk:=sma(rsv,df,1);
dd:=sma(k,df,1);
n:=kk+dd;
关注区:stickline(n<50,n,50,4,0),1,colorred;
风险区:stickline(n>160,n,160,4,0),1,rgb(0,255,255);
成本区:50,0,rgb(255,255,0),0,2;
gwgd:=n<ref(n,1) and ref(n,1)>=160 and ref(n,1)>=ref(n,2);
获利区:160,0,rgb(0,255,255),0,2;
操盘线:n,0,rgb(255,100,255),0,2;
买入↑:drawicon(cross(n,50),50,0),1,colorred;
大户资金
v1:=(c*2+h+l)/4*10;
v2:=ema(v1,13)-ema(v1,34);
v3:=ema(v2,5);
v4:=2*(v2-v3)*5.5;
v5:=(hhv(indexh,8)-indexc)/(hhv(indexh,8)-llv(indexl,8))*8;
v6:=ema(3*v5-2*sma(v5,18,1),5);
v7:=(indexc-llv(indexl,8))/(hhv(indexh,8)-llv(indexl,8))*10;
v8:=(indexc*2+indexh+indexl)/4;
v9:=ema(v8,13)-ema(v8,34);
va:=ema(v9,3);
vb:=(v9-va)/2;
庄家秘密撤:if(v4<=0,v4,0),draw3d,colorgreen;
庄家秘密进:if(v4>=0,v4,0),draw3d,colorred;
大盘资金进场:if(vb>=0,vb,0);
大盘资金撤走:if(vb<=0,vb,0);
黄金波段
a:=ma(close,4);
b:=ma(close,18);
黄金波段1:(a*25)/4,draw3d,colorred;
黄金波段2:(b*25)/4,draw3d,colorblue;
卖出↓:drawicon(cross(160,n),160,1),1,colorgreen;
涨停先锋
a4:=ma(close,20);
a5:=(close > ma(close,5));
a6:=(ma(close,5) > ma(close,10));
a7:=(close > ma(close,10));
a8:=(ma(close,5) > ma(close,20));
a9:=(close > ma(close,20));
a10:=ref(a4,1);
a11:=(a4 > a10);
{avx:(((((if(a5,10,(0 - 10)) + if(a6,10,(0 - 10))) + if(a7,10,(0 - 10))) + if(a8,10,(0 - 10))) + if(a9,10,(0 - 10))) + if(a11,10,(0 - 10)))/50;}
风向标:ma((((((if(a5,100,0) + if(a6,100,0)) + if(a7,100,0)) + if(a8,100,0)) + if(a9,100,0)) + if(a11,100,0))/6,3.5);
{varr:=ref(close,1);强弱方向:=sma(max(close-varr,0),5,1)/sma(abs(close-varr),5,1)*100,coloryellow;}
{80, pointdot,colorblue,linethick2;
70, pointdot,colorwhite,linethick2;
炫彩龙
市场成本:ma(aa,180),0,colorblue,2,2;
20, pointdot,colorgreen,linethick2;
{10, pointdot,colorblue,linethick2};
航向: ma(3*sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,3,1)-2*sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,3,1),3);
凌波微步
var1:=(hhv(high,9)-llv(low,9));
var2:=(hhv(high,9)-close);
var3:=(close-llv(low,9));
var4:=var2/var1*100-70 ;
var5:=(close-llv(low,60))/(hhv(high,60)-llv(low,60))*100;
var6:=(2*c+h+l)/4;
var7:=sma((var3/var1*100),3,1);
var8:=llv(low,34);
var9:=sma(var7,3,1)-sma(var4,9,1);
var10:= if(var9>100,var9-100,0);
vara:=hhv(high,34);
短线a:var10*2,0,rgb(0,255,0),0,1;
aa:sma(短线a,2,1),0,rgb(255,0,255),0,1;
短线a1:stickline(aa>短线a,短线a,aa,5,0),1,rgb(0,255,0);
短线a2:stickline(aa<短线a,短线a,aa,5,0),1,rgb(255,0,255);
中线b:ema((var6-var8)/(vara-var8)*100,13),0,colorcyan,0,2;
bb:ema(0.667*ref(中线b,1)+0.333*中线b,2),0,colorred,0,2;
中线b1:stickline(中线b<bb,中线b,bb,5,0),1,colorcyan;
中线b2:stickline(中线b>bb,中线b,bb,5,0),1,colorred;
长线cc:sma(var5,20,1),0,colorblue,0,0;
cc:sma(长线cc,5,1),0,coloryellow,0,0;
长线cc1:stickline(长线cc<cc,长线cc,cc,5,0),1,colorblue;
长线cc2:stickline(长线cc>cc,长线cc,cc,5,0),1,coloryellow;
s:ema(0.382*ref(中线b,2)+0.618*中线b,12),0,rgb(255,255,0),0,3;
活筹指标
var1:=sma(o*amount/10000000,n,1);
c0:=(var1*1000)/1000;
b1:=ref(c0,1);b2:=ref(c0,2);b3:=ref(c0,3);b4:=ref(c0,4);b5:=ref(c0,5);b6:=ref(c0,6);b7:=ref(c0,7);
b8:=ref(c0,8);b9:=ref(c0,9);b10:=ref(c0,10);b11:=ref(c0,11);b12:=ref(c0,12);b13:=ref(c0,13);b14:=ref(c0,14);
b15:=ref(c0,15);b16:=ref(c0,16);b17:=ref(c0,17);b18:=ref(c0,18);b19:=ref(c0,19);b20:=ref(c0,20);
b21:=ref(c0,21);b22:=ref(c0,22);b23:=ref(c0,23);b24:=ref(c0,24);b25:=ref(c0,25);b26:=ref(c0,26);
b27:=ref(c0,27);b28:=ref(c0,28);b29:=ref(c0,29);b30:=ref(c0,30);b31:=ref(c0,31);b32:=ref(c0,32);
b33:=ref(c0,33);b34:=ref(c0,34);b35:=ref(c0,35);b36:=ref(c0,36);b37:=ref(c0,37);b38:=ref(c0,38);
b39:=ref(c0,39);b40:=ref(c0,40);b41:=ref(c0,41);b42:=ref(c0,42);b43:=ref(c0,43);b44:=ref(c0,44);
b45:=ref(c0,45);b46:=ref(c0,46);b47:=ref(c0,47);b48:=ref(c0,48);b49:=ref(c0,49);b50:=ref(c0,50);
hl:=if(c0>b1 and b1>=b2,1,if(c0<b1 and b1<=b2,-1,if(c0>b2 and b2>b1,2,if(c0<b2 and b2<b1,-2,0))));
hg:=if(b1>b2 and b1>b3,1,if(b1<b2 and b1<b3,-1,if(b2>b3 and b2>b4,2,if(b2<b3 and b2<b4,-2,
if(b3>b4 and b3>b5,3,if(b3<b4 and b3<b5,-3,if(b4>b5 and b4>b6,4,if(b4<b5 and b4<b6,-4,
if(b5>b6 and b5>b7,5,if(b5<b6 and b5<b7,-5,if(b6>b7 and b6>b8,6,if(b6<b7 and b6<b8,-6,
if(b7>b8 and b7>b9,7,if(b7<b8 and b7<b9,-7,if(b8>b9 and b8>b10,8,if(b8<b9 and b8<b10,-8,
if(b9>b10 and b9>b11,9,if(b9<b10 and b9<b11,-9,if(b10>b11 and b10>b12,10,if(b10<b11 and b10<b12,-10,
if(b11>b12 and b11>b13,11,if(b11<b12 and b11<b13,-11,if(b12>b13 and b12>b14,12,if(b12<b13 and b12<b14,-12,
if(b13>b14 and b13>b15,13,if(b13<b14 and b13<b15,-13,if(b14>b15 and b14>b16,14,if(b14<b15 and b14<b16,-14,
if(b15>b16 and b15>b17,15,if(b15<b16 and b15<b17,-15,if(b16>b17 and b16>b18,16,if(b16<b17 and b16<b18,-16,
if(b17>b18 and b17>b19,17,if(b17<b18 and b17<b19,-17,if(b18>b19 and b18>b20,18,if(b18<b19 and b18<b20,-18,
if(b19>b20 and b19>b21,19,if(b19<b20 and b19<b21,-19,if(b20>b21 and b20>b22,20,if(b20<b21 and b20<b22,-20,
if(b21>b22 and b21>b23,21,if(b21<b22 and b21<b23,-21,if(b22>b23 and b22>b24,22,if(b22<b23 and b22<b24,-22,
if(b23>b24 and b23>b25,23,if(b23<b24 and b23<b25,-23,if(b24>b25 and b24>b26,24,if(b24<b25 and b24<b26,-24,
if(b25>b26 and b25>b27,25,if(b25<b26 and b25<b27,-25,if(b26>b27 and b26>b28,26,if(b26<b27 and b26<b28,-26,
if(b27>b28 and b27>b29,27,if(b27<b28 and b27<b29,-27,if(b28>b29 and b28>b30,28,if(b28<b29 and b28<b30,-28,
if(b29>b30 and b29>b31,29,if(b29<b30 and b29<b31,-29,if(b30>b31 and b30>b32,30,if(b30<b31 and b30<b32,-30,
if(b31>b32 and b31>b33,31,if(b31<b32 and b31<b33,-31,if(b32>b33 and b32>b34,32,if(b32<b33 and b32<b34,-32,
if(b33>b34 and b33>b35,33,if(b33<b34 and b33<b35,-33,if(b34>b35 and b34>b36,34,if(b34<b35 and b34<b36,-34,
if(b35>b36 and b35>b37,35,if(b35<b36 and b35<b37,-35,if(b36>b37 and b36>b38,36,if(b36<b37 and b36<b38,-36,
if(b37>b38 and b37>b39,37,if(b37<b38 and b37<b39,-37,if(b38>b39 and b38>b40,38,if(b38<b39 and b38<b40,-38,
if(b39>b40 and b39>b41,39,if(b39<b40 and b39<b41,-39,if(b40>b41 and b40>b42,40,if(b40<b41 and b40<b42,-40,
if(b41>b42 and b41>b43,41,if(b41<b42 and b41<b43,-41,if(b42>b43 and b42>b44,42,if(b42<b43 and b42<b44,-42,
if(b43>b44 and b43>b45,43,if(b43<b44 and b43<b45,-43,if(b44>b45 and b44>b46,44,if(b44<b45 and b44<b46,-44,
if(b45>b46 and b45>b47,45,if(b45<b46 and b45<b47,-45,if(b46>b47 and b46>b48,46,if(b46<b47 and b46<b48,-46,
if(b47>b48 and b47>b49,47,if(b47<b48 and b47<b49,-47,if(b48>b49 and b48>b50,48,if(b48<b49 and b48<b50,-48,
0))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))));
ma5:ema(var1,5),0,colorcyan,0,1;
个股生命线: ema(var1,10),0,coloryellow,0,1;
ma34: ema(var1,23),0,colorbrown,0,1;
x1:b1,pointdot,colorwhite,0,1;
x2:b2,pointdot,colorwhite,0,1;
x3:stickline(hl=1 or hg>=1 and hl=0,b1,c0,5,0),0,colorred;
x4:stickline(hl=-1 or hg<=-1 and hl=0,b1,c0,5,0),0,colorgreen;
x5:stickline(hl=2,b2,c0,5,0),0,colorred;
x6:stickline(hl=-2,b2,c0,5,0),0,colorgreen;
x7:stickline((hl=-1 or hl=-2) and hg>0,b2,b1,5,0),0,colorred;
x8:stickline((hl=1 or hl=2) and hg<0,b2,b1,5,0),0,colorgreen;
东方红
df5
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=(sma(rsv,3,1));
d:=(sma(k,3,1));
kk:=sma(rsv,3,1);
dd:=sma(k,3,1);
n:kk+dd,0,rgb(255,100,255),0,2;
燃料加注:if(cross(n,50),90,50),0,rgb(0,255,0),0,1;
准备点火:if(cross(n,100),100,50),0,rgb(255,255,0),0,1;
ztsj:=barslast(准备点火=100);
价:ref(c,ztsj)*1.1,0,rgb(0,0,255),2,1;
涨:=(c/ref(c,ztsj)-1)*100,0,rgb(255,255,0),0,1;
低:=if(ztsj>0 and ztsj<10 and (l/ref(c,ztsj)-1)*100<=-df,5,50),0,rgb(255,255,255),0,1;
达标:=ztsj<20 and cross(h,ref(c,ztsj)*1.1);
gwgd:=n<ref(n,1) and ref(n,1)>=160 and ref(n,1)>=ref(n,2);
回收:if(gwgd,95,160),0,rgb(0,255,255),0,1;
价量线
hsl:=vol/capital;
x1:=hsl+0.8*(1-hsl)*0.95;
x2:=hsl+12/13*(1-hsl)*0.95;
lfs:=100*(1-x1/x2);
y1:=llv(low,36);
y2:=hhv(high,36);
huo:=(close-y1)/(y2-y1)*4*25;
价线:ema((huo-llv(huo,5))/(hhv(huo,5)-llv(huo,5))*100,1),0,rgb(255,0,0),1,2;
量线:ema((lfs-llv(lfs,21))/(hhv(lfs,21)-llv(lfs,21))*100,1),0,rgb(0,255,0),1,2
持仓博弈
x1:=bigorderp(1,3)-bigorderp(2,3);
t1:=bigorderp(1,0)-bigorderp(1,1);
t2:=bigorderp(2,0)-bigorderp(2,1);
t3:=t1-t2;
机构持仓:sum(x1,0),0,colorred,0,2;
散户持仓:sum(t3,0),0,colorgreen,0,2;
大户单
t1:=bigorderp(1,2)-bigorderp(1,3);
t2:=bigorderp(2,2)-bigorderp(2,3);
t3:=(t1-t2);
净买:stickline(t3>0,t3,0,-1,0),0,rgb(255,0,0);
净卖:stickline(t3<0,t3,0,-1,0),0,rgb(0,255,0);
机构博弈
x1:=bigorderp(1,3)-bigorderp(2,3);
x2:=(bigorderp(1,2)-bigorderp(1,3))-(bigorderp(2,2)-bigorderp(2,3));
x3:=(bigorderp(1,1)-bigorderp(1,2))-(bigorderp(2,1)-bigorderp(2,2));
x4:=(bigorderp(1,0)-bigorderp(1,1))-(bigorderp(2,0)-bigorderp(2,1));
特大户:ma(x1,n),0,colorred,0,2;
大户:ma(x2,n),0,colormagenta,0,2;
中户:ma(x3,n),0,colorblue,0,2;
小户:ma(x4,n),0,rgb(0,255,0),0,2;
机构持仓
hs:=vol/if(capital=0,10000000000,capital);
dd:=bigorderp(1,3)-bigorderp(2,3);
dt:=hs*dd*100;
机构持仓: sum(dt,0),0,rgb(128,0,128),1,2;
增减:=dt;
增:stickline(dt>0,机构持仓,机构持仓+dt,5,0),1,colorred;
减:stickline(dt<0,机构持仓+dt,机构持仓,5,0),1,rgb(0,128,64);
当日成交 := (dt * capital) * dynainfo(11)/10000;
买入手数 := (capital*dt)/100;
机构单
t1:=bigorderp(1,3);
t2:=bigorderp(2,3);
t3:=(t1-t2);
//f100:(-100),0,rgb(255,255,0),2,1;
净买:stickline(t3>0,t3,0,-1,0),0,rgb(255,0,0);
净卖:stickline(t3<0,t3,0,-1,0),0,rgb(0,255,0);
散户持仓
hs:=vol/capital;
dd:=bigorderp(1,0)-bigorderp(1,1)-(bigorderp(2,0)-bigorderp(2,1));
dt:=hs*dd*100;
散户持仓: sum(dt,0),0,rgb(128,0,128),1,2;
增减:=dt;
增:stickline(dt>0,散户持仓,散户持仓+dt,5,0),1,colorred;
减:stickline(dt<0,散户持仓+dt,散户持仓,5,0),1,rgb(0,128,64);
当日成交 := (dt * capital) * dynainfo(11)/10000;
买入手数 := (capital*dt)/100;
净买比:=买入手数/vol*100;
散户单
t1:=bigorderp(1,0)-bigorderp(1,1);
t2:=bigorderp(2,0)-bigorderp(2,1);
t3:=(t1-t2);
净买:stickline(t3>0,t3,0,-1,0),0,rgb(255,0,0);
净卖:stickline(t3<0,t3,0,-1,0),0,rgb(0,255,0);
中户单
t1:=bigorderp(1,1)-bigorderp(1,2);
t2:=bigorderp(2,1)-bigorderp(2,2);
t3:=(t1-t2);
净买:stickline(t3>0,t3,0,-1,0),0,rgb(255,0,0);
主力持仓
hs:=vol/capital;
dd:=bigorderp(1,2)-bigorderp(2,2);
dt:=hs*dd*100;
主力持仓: 50+sum(dt,0),0,rgb(128,0,128),1,2;
增减:=dt;
增:stickline(dt>0,主力持仓,主力持仓+dt,5,0),1,colorred;
减:stickline(dt<0,主力持仓+dt,主力持仓,5,0),1,rgb(0,128,64);
当日成交 := (dt * capital) * dynainfo(11)/10000;
买入手数 := (capital*dt)/100;
净买比:=买入手数/vol*100;
恒富连红排序指标排序报表使用
n20
a1:=bigorderp(1,3)-bigorderp(2,3);
a2:=(bigorderp(1,2)-bigorderp(1,3))-(bigorderp(2,2)-bigorderp(2,3));
a3:=(bigorderp(1,1)-bigorderp(1,2))-(bigorderp(2,1)-bigorderp(2,2));
a4:=(bigorderp(1,0)-bigorderp(1,1))-(bigorderp(2,0)-bigorderp(2,1));
机构连红:last(a1>0);
机构5日内红:count(a1>0,5);
机构10日内红:count(a1>0,10);
机构n日内红:count(a1>0,n);
大户连红:last(a2>0);
大户5日内红:count(a2>0,5);
大户10日内红:count(a2>0,10);
大户n日内红:count(a2>0,n);
中户连绿:last(a3<0);
中户5日内绿:count(a3<0,5);
中户10日内绿:count(a3<0,10);
中户n日内绿:count(a3<0,n);
散户连绿:last(a4<0);
散户5日内绿:count(a4<0,5);
散户10日内绿:count(a4<0,10);
散户n日内绿:count(a4<0,n);
净卖:stickline(t3<0,t3,0,-1,0),0,rgb(0,255,0);
恒富站盘排序
n20
var1:=capital * close;
var2:=if(var1=0,100000000,var1);
a1:=(bigorderp(1,3)-bigorderp(2,3))/var2*10000;
a2:=((bigorderp(1,2)-bigorderp(1,3))-(bigorderp(2,2)-bigorderp(2,3)))/var2*10000;
a3:=(a1+a2);
机构1日:a1;
大户1日:a2;
主力1日:a3;
机构5日:sum(a1,5);
大户5日:sum(a2,5);
主力5日:sum(a3,5);
机构10日:sum(a1,10);
大户10日:sum(a2,10);
主力10日:sum(a3,10);
机构n日:sum(a1,n);
大户n日:sum(a2,n);
主力n日:sum(a3,n);
恒富资金排序
n20
a1:=(bigorderp(1,3)-bigorderp(2,3))*10000;
a2:=((bigorderp(1,2)-bigorderp(1,3))-(bigorderp(2,2)-bigorderp(2,3)))*10000;
a3:=(a1+a2);
机构1日:a1;
大户1日:a2;
主力1日:a3;
机构5日:sum(a1,5);
大户5日:sum(a2,5);
主力5日:sum(a3,5);
机构10日:sum(a1,10);
大户10日:sum(a2,10);
主力10日:sum(a3,10);
机构n日:sum(a1,n);
大户n日:sum(a2,n);
主力n日:sum(a3,n);
t+0大户净买
主买:=bigorder(1,2)-bigorder(1,3);
主卖:=bigorder(2,2)-bigorder(2,3);
result:=(主买-主卖)/10000;
x1:if(result>0,result,0),draw3d,colorred;
x2:if(result<0,result,0),draw3d,colorgreen;
三日平均:ma(result,3);
t+0特大户净买
主买:=bigorder(1,3);
主卖:=bigorder(2,3);
result:=(主买-主卖)/10000;
x1:if(result>0,result,0),draw3d,colorred;
x2:if(result<0,result,0),draw3d,colorgreen;
三日平均:ma(result,3);
t+0小户净买
主买:=bigorder(1,0)-bigorder(1,1);
主卖:=bigorder(2,0)-bigorder(2,1);
result:=(主买-主卖)/10000;
x1:if(result>0,result,0),draw3d,colorred;
x2:if(result<0,result,0),draw3d,colorgreen;
三日平均:ma(result,3);
t+0中户净买
主买:=bigorder(1,1)-bigorder(1,2);
主卖:=bigorder(2,1)-bigorder(2,2);
result:=(主买-主卖)/10000;
x1:if(result>0,result,0),draw3d,colorred;
x2:if(result<0,result,0),draw3d,colorgreen;
三日平均:ma(result,3);
跟庄到底
短期生命线:ema(close,4);
中期生命线:ema(close,18);
长期生命线:ema(close,55);
本文仅仅提供公式源码
上一指标公式:凯恩斯黄金线指标公式详解 钱龙源码
下一指标公式:百胜操盘手软件青松红牛主图指标公式详解 钱龙操盘手
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文天财藏金-先机机构版全部指标公式详解 钱龙天财藏金仅供学习研究。