策略家数据中心版特色公式
博弈资金
aa:=vol/capital*100;
a:=ma(aa,2);
主力:a,draw3d,coloryellow;
b:=ma(aa,4);
游资:b,draw3d,rgb(255,0,128);
c1:=ma(aa,9);
私募:c1,draw3d,colorgreen;
d:=ma(aa,17);
大户:d,draw3d,colorred;
e:=ma(aa,34);
散户:e,draw3d,colorcyan ;
市场成本:ma(aa,180),0,colorblue,2,2;
策略kd
n1 5
n2 5
var1:=c-ref(c,1);
var2:=o-ref(o,1);
var3:=h-ref(h,1);
var4:=l-ref(l,1);
var5:=(var1*7+var2+var3+var4)/10;
mtm:=var5*vol;
zlgj:100*ema(ema(mtm,n1),n1)/ema(ema(abs(mtm),n1),n1),0,colorblue,0,2;
mazl:ma(zlgj,n2),0,colormagenta,0,2;
策略macd
short 12
long 26
m 9
a:=vol*close;
b:=close;
b1:=ema(b,17);
资金:=(b-b1)*100/b;
diff : ema(资金,short) - ema(资金,long),0,rgb(0,255,0);
dea : ema(diff,m),0,colorcyan ;
macd : 2*(diff-dea),colorstick;
partline(diff>=ref(diff,1),diff),0,rgb(255,0,0);
金叉:stickline(cross(zlgj,mazl),zlgj,zlgj+10,-1,0),0,colorred,0,2;
死叉:stickline(cross(mazl,zlgj),zlgj,zlgj-10,-1,0),0,colorgreen,0,2;
fbz
pbz:=((h-o)+(c-l))/(2*(h-l))*100;
pbz5:ma(pbz,5),0,colorred,0,1;
pbz10:ma(pbz,10),0,colorgreen,0,1;
pbz20:ma(pbz,20),0,coloryellow,0,1;
z20:20;
z50:50;
z80:80;
z100:20;
drawicon((cross(pbz5,pbz10) and (pbz10>ref(pbz10,1)) and ref(pbz5,1)<50),50,2);
双向成交量
ev:=vol;
实际v:ev/10000;
var1:=dynainfo(17)*ref(ma(vol,5),1);
var2:=dynainfo(7)=close and dynainfo(10)=amount;
预测:=if(dynainfo(7)=close and dynainfo(10)=amount,var1,var2)/10000;
{if(dynainfo(7)=close and dynainfo(10)=amount,var1,var3),coloryellow;}
预测v:stickline(if(dynainfo(7)=close and dynainfo(10)=amount,var1,var2),var1,0,4,1),colorgreen;
aa:=vol/((high-low)*2-abs(close-open));
买盘:=if(close>open,aa*(high-low),if(close
买:买盘/10000,coloryellow;
卖盘:=if(close>open,0-aa*((high-close)+(open-low)),if(close
0-aa*(high-low),0-vol/2)),0,colorgreen;
卖:=卖盘/10000,coloryellow;
换手:=vol/capital*100,circledot,coloryellow;
流通盘:=capital/1000000,pointdot;
流通市值:=(capital/100*c)/10000,1,rgb(51,204,255);
成交额2:=amount/10000000,pointdot;
虚拟成交量:stickline(买盘>0,0,vol,-1,1),1,coloryellow;
{买盘5日均线:ma(买盘,5),0,rgb(0,255,255),1,1; }
买盘成交量:stickline(买盘>0,0,买盘,-1,0),1,colorred;
卖盘成交量:stickline(卖盘<0,0,卖盘,-1,0),1,colorgreen;
龙虎英雄榜公式
龙虎英雄
stickline(c,c,0,-1,0),0,colorblue;
机构持仓披露
{ 插入0101公式体开始 }
x1:=(bigorderp(1,3)-bigorderp(2,3))/(close*capital)*10000;
x2:=(bigorderp(1,0)-bigorderp(1,1)-(bigorderp(2,0)-bigorderp(2,1)))/(close*capital)*10000;
{x3:=bigorder(1,2)-bigorderp(1,3)-bigorderp(2,2)+bigorderp(2,3);}
xx:=bigorderp(1,0)+bigorderp(2,0);
v1:=jgcy(0,1),0,colorblue,0,5;
a2:=v1+sum(x1,0),0,colorblue,0,2;
s2:=v1+sum(x2,0),0,colorblue,0,2;
机构定期:stickline(v1>0,v1,0,8,0),0,colorred;
机构实时:if(v1>0,v1,a2+ref(v1,barslast(v1)+1)),0,colorbrown ,0,2;
散户实时:if(v1>0,v1,s2+ref(v1,barslast(v1)+1)),0,rgb(38,145,38),0,2;
一季度:=drawtext(month=3 and day=31,v1*0.9,v1),
0,colorblack ;
中报:=drawtext( month=6 and day=30,v1*0.9,v1),
0,colorblack ;
三季度:=drawtext(month=9 and day=30,v1*0.9,v1),
0,rgb(26,102,58),0,2;
年报:=drawtext(month=12 and day=31,v1*0.9,v1),
0,colorblue;
{ 插入0101公式体结束 }
机构分类持仓
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));
机构单:=x1;
v1:=jgcy(0,0)*close;
a0:=sum(机构单,0)+ref(v1,barslast(v1)+1);
a1:=ref(jgcy(1,0),barslast(jgcy(1,0)))*close;
a5:=ref(jgcy(5,0),barslast(jgcy(5,0))+1)*close;
a4:=ref(jgcy(4,0),barslast(jgcy(4,0))+1)*close;
a3:=ref(jgcy(3,0),barslast(jgcy(3,0))+1)*close;
a2:=ref(jgcy(2,0),barslast(jgcy(2,0))+1)*close;
机构:if(v1>0,v1,a0),0,colorblue ,0,2;
基金:if(jgcy(1,0)>0,jgcy(1,0)*close,a1),0,colorred,0,2;
qfii:if(jgcy(5,0)>0,jgcy(5,0)*close,a5),0,colormagenta ,0,2;
社保:if(jgcy(4,0)>0,jgcy(4,0)*close,a4),0,colorcyan ,0,2;
保险:if(jgcy(3,0)>0,jgcy(3,0)*close,a3),0,colorbrown ,0,2;
券商:if(jgcy(2,0)>0,jgcy(2,0)*close,a2),0,rgb(125,35,125) ,0,2;
基金十大重仓股
{ 插入筹码基金公式体开始 }
x1:=(bigorderp(1,3)-bigorderp(2,3))/(close*capital)*10000;
x2:=(bigorderp(1,0)-bigorderp(1,1)-(bigorderp(2,0)-bigorderp(2,1)))/(close*capital)*10000;
{x3:=bigorder(1,2)-bigorderp(1,3)-bigorderp(2,2)+bigorderp(2,3);}
xx:=bigorderp(1,0)+bigorderp(2,0);
v1:=jgcy(0,1),0,colorblue,0,5;
a2:=v1+sum(x1,0),0,colorblue,0,2;
s2:=v1+sum(x2,0),0,colorblue,0,2;
机构实时:if(v1>0,v1,a2+ref(v1,barslast(v1)+1)),0,colorbrown ,0,2;
散户实时:if(v1>0,v1,s2+ref(v1,barslast(v1)+1)),0,rgb(38,145,38),0,2;
a1:=cmldjjcc(2)*100,0,colorcyan ,0,3;
b1:=stickline(a1>0,a1,0,8,0),0,colorred,0;
一季度:=drawtext(month=3 and day=31,a1*0.9,a1),
0,colorcyan ;
中报:=drawtext( month=6 and day=30,a1*0.9,a1),
0,colorblue;
三季度:=drawtext(month=9 and day=30,a1*0.9,a1),
0,rgb(125,35,125);
年报:=drawtext(month=12 and day=31,a1*0.9,a1),
0,colorbrown ;
{ 插入筹码基金公式体结束 }
天财藏金-爱国者-英雄榜贵宾版特色指标
lh 主图
stickline(c,c,0,-1,0),0,colorblue;
机构持仓披露
{ 插入0101公式体开始 }
x1:=(bigorderp(1,3)-bigorderp(2,3))/(close*capital)*10000;
x2:=(bigorderp(1,0)-bigorderp(1,1)-(bigorderp(2,0)-bigorderp(2,1)))/(close*capital)*10000;
{x3:=bigorder(1,2)-bigorderp(1,3)-bigorderp(2,2)+bigorderp(2,3);}
xx:=bigorderp(1,0)+bigorderp(2,0);
v1:=jgcy(0,1),0,colorblue,0,5;
a2:=v1+sum(x1,0),0,colorblue,0,2;
s2:=v1+sum(x2,0),0,colorblue,0,2;
机构定期:stickline(v1>0,v1,0,8,0),0,colorred;
机构实时:if(v1>0,v1,a2+ref(v1,barslast(v1)+1)),0,colorbrown ,0,2;
散户实时:if(v1>0,v1,s2+ref(v1,barslast(v1)+1)),0,rgb(38,145,38),0,2;
一季度:=drawtext(month=3 and day=31,v1*0.9,v1),
0,colorblack ;
中报:=drawtext( month=6 and day=30,v1*0.9,v1),
0,colorblack ;
三季度:=drawtext(month=9 and day=30,v1*0.9,v1),
0,rgb(26,102,58),0,2;
年报:=drawtext(month=12 and day=31,v1*0.9,v1),
0,colorblue;
{ 插入0101公式体结束 }
机构分类持仓
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));
机构单:=x1;
v1:=jgcy(0,0)*close;
a0:=sum(机构单,0)+ref(v1,barslast(v1)+1);
a1:=ref(jgcy(1,0),barslast(jgcy(1,0)))*close;
a5:=ref(jgcy(5,0),barslast(jgcy(5,0))+1)*close;
a4:=ref(jgcy(4,0),barslast(jgcy(4,0))+1)*close;
a3:=ref(jgcy(3,0),barslast(jgcy(3,0))+1)*close;
a2:=ref(jgcy(2,0),barslast(jgcy(2,0))+1)*close;
机构:if(v1>0,v1,a0),0,colorblue ,0,2;
基金:if(jgcy(1,0)>0,jgcy(1,0)*close,a1),0,colorred,0,2;
qfii:if(jgcy(5,0)>0,jgcy(5,0)*close,a5),0,colormagenta ,0,2;
社保:if(jgcy(4,0)>0,jgcy(4,0)*close,a4),0,colorcyan ,0,2;
保险:if(jgcy(3,0)>0,jgcy(3,0)*close,a3),0,colorbrown ,0,2;
券商:if(jgcy(2,0)>0,jgcy(2,0)*close,a2),0,rgb(125,35,125) ,0,2;
基金十大重仓股
{ 插入筹码基金公式体开始 }
x1:=(bigorderp(1,3)-bigorderp(2,3))/(close*capital)*10000;
x2:=(bigorderp(1,0)-bigorderp(1,1)-(bigorderp(2,0)-bigorderp(2,1)))/(close*capital)*10000;
{x3:=bigorder(1,2)-bigorderp(1,3)-bigorderp(2,2)+bigorderp(2,3);}
xx:=bigorderp(1,0)+bigorderp(2,0);
v1:=jgcy(0,1),0,colorblue,0,5;
a2:=v1+sum(x1,0),0,colorblue,0,2;
s2:=v1+sum(x2,0),0,colorblue,0,2;
机构实时:if(v1>0,v1,a2+ref(v1,barslast(v1)+1)),0,colorbrown ,0,2;
散户实时:if(v1>0,v1,s2+ref(v1,barslast(v1)+1)),0,rgb(38,145,38),0,2;
a1:=cmldjjcc(2)*100,0,colorcyan ,0,3;
b1:=stickline(a1>0,a1,0,8,0),0,colorred,0;
一季度:=drawtext(month=3 and day=31,a1*0.9,a1),
0,colorcyan ;
中报:=drawtext( month=6 and day=30,a1*0.9,a1),
0,colorblue;
三季度:=drawtext(month=9 and day=30,a1*0.9,a1),
0,rgb(125,35,125);
年报:=drawtext(month=12 and day=31,a1*0.9,a1),
0,colorbrown ;
{ 插入筹码基金公式体结束 }
天财藏金-股行家二代趋势决策系统白金版
操盘行家 主图
var1:=ema(close,10)-ema(close,50);
var2:=ema(var1,3);
var3:=var1 > var2 ;
var4:=var1
{x3:stickline( var3 , low*0.95,0 , -1,0 ),1,rgb(235,175,50);
x4:stickline( var4 , high*1.1,99999, -1, 0),1,colorblue;}
drawtext(cross(var1 ,var2 ),low*0.98,'b'),1,colorred;
drawtext(cross(var2 ,var1),high*1.02,'s'),1,colorgreen;
fillrgn(low*0.94,0,var3 ,rgb(235,175,50),0,0);
fillrgn(high*1.08,99999,var4 ,colorblue,0,0);
大道至简
n:=20;
jj:=(high+low+close)/3;
qj0:=vol/if(high=low,4,high-low);
qj1:=if(capital=0,qj0*(jj-min(close,open)),qj0*if(high=low,1,(min(open,close)-low)));
qj2:=if(capital=0,qj0*(min(open,close)-low),qj0*if(high=low,1,(jj-min(close,open))));
qj3:=if(capital=0,qj0*(high-max(open,close)),qj0*if(high=low,1,(high-max(open,close))));
qj4:=if(capital=0,qj0*(max(close,open)-jj),qj0*if(high=low,1,(max(close,open)-jj)));
ddx:=((qj1+qj2)-(qj3+qj4))/sum(vol,60)*1;
dx:=ma(ddx,5)*n;
ddx1:=sma(dx,3,1)*10;
{只做红波段}
var1:ema(close,13)-ema(close,55);
var2:ema(var1,3);
var3:=var1>var2;
var4:=var1
x1:stickline(var3,var1,var2,-1,0),1,colorred;
x2:stickline(var4,var1,var2,-1,0),1,colorgreen;
进:drawicon(cross(var1,var2),var1,0),0,colorred;
出:drawicon(cross(var2,var1),var2,1),0,colorgreen;
定海神针
diff:=ema(close,12)-ema(close,26);
dea:=ema(diff,9);
a1:=barslast(ref(cross(diff,dea),1));
a2:=if(cross(diff,dea) and diff > 0 and dea >0,0,1);
能量线:if (a2,a1/10,a1/100);
var1:=ema(ma(if(close>open,(close-open)*vol,if(close
var2:=ema(ma(if(close>ref(close,1),(close-ref(close,1))*vol,if(close
var3:=ema(ma(if(open>ref(close,1),(open-ref(close,1))*vol,if(open
var4:=ema(ma(if(closeopen,(open-close)*vol,0)),10),1);
var5:=ema(ma(if(closeref(close,1),(ref(close,1)-close)*vol,0)),10),1);
var6:=ema(ma(if(openref(close,1),(ref(close,1)-open)*vol,0)),10),1);
dx:=(var1+var2+var3)/3/100;
cx:=(var4+var5+var6)/3/100;
b1:=barslast(ref(cross(dx,cx),1));
买:if (cross(dx,cx) and 能量线 >0.5 and 能量线 < 2 and diff > ref(diff,1) and b1 >5,0,-7);
{卖:if(a1>2 ,-7,0);}
sar1:=(close-llv(low,20))/(hhv(high,20)-llv(low,20))*100;
sar2:=sma(sma(sar1,3,1),3,1);
sar3:=ema(sar2,5);
sar4:=3*sar2-2*sar3;
sar5:=if(sar4 < ref(sar4,1),1,0);
buyp:=ref(close,barslast(ref(买=0,1)))*1.07;
buyk:=ref(close,barslast(ref(买=0,1)))*0.9;
buyd:=barslast(ref(买=0,1));
卖1:=if( high > buyp and 买=-7,1,0);{已获利}
卖2:=if(sar5 and 买=-7,1,0);{注意顶部}
卖3:=if(buyd > 10 and 买=-7 ,1,0);{超出短线操作持股天数}
卖4:=if(low < buyk and 买=-7,1,0);{听天由命吧~已亏损10%}
x11:=买=0;
x12:=卖1=1;
a11:=barslast(买=0);{买成立到现在的周期数}
x13:=if(卖1=1 or 卖2=1 or 卖3=1 or 卖4=1,1,0);
a12:=count(x13=1,a11);
s1:drawtext(卖1=1 and a12=2,1,'已获利'),0,colorred;
s2:drawtext(卖1=0 and 卖2=1 and a12=2,1,'注意顶部'),0,colorred;
s3:drawtext(卖1=0 and 卖2=0 and 卖3=1 and a12=2,1,'超出持股天数'),0,colorred;
s4:drawtext(卖1=0 and 卖2=0 and 卖3=0 and 卖4=1 and a12=2,1,'止损'),0,colorgreen;
多空行家
var2:=(hhv(high,21)-close)/(hhv(high,21)-llv(low,21))*100-10;
var3:=(close-llv(low,21))/(hhv(high,21)-llv(low,21))*100;
var4:=sma(var3,13,8);
高抛: 90, pointdot;
低吸: 0, pointdot;
多方能量: sma(var4,13,8),0,colorred,0,4;
空方能量: sma(var2,21,8),0,colorgreen,0,4;
买进: if(cross(多方能量,45),18,0-4);
卖出: if(cross(45,多方能量),18,0-4);
强弱分界: 45, circledot;
动力行家
n 5
n1 10
mtm : close-ref(close,n);
mtmma : ma(mtm,n1);
估值行家 主图
var1:=llv(low,144);
超低: 1.382*var1;
低估: 1.809*var1;
行业:2.213*var1;
成长: 2.618*var1;
垄断: 3.023*var1;
行家力道
lc:=ref(close,1);
个股力道:(sma(max(close-lc,0),n,1))/(sma(abs(close-lc),n,1))*100,0,rgb(0,255,0);
cc:="1a0001$close";
lc1:=ref(cc,1);
大势力道:(sma(max(cc-lc1,0),n,1))/(sma(abs(cc-lc1),n,1))*100,0,rgb(255,0,255);
强弱度:=个股力道-大势力道;
fillrgn(大势力道,个股力道,强弱度>=0,colorred,强弱度<0,colorgreen);
{x1:stickline(强弱度>=0,指数强弱,品种强弱,-1,1),0,colorred;
x2:stickline(强弱度<0,指数强弱,品种强弱,-1,1),0,colorgreen;}
ma(个股力道,8);
l20:20,0,rgb(255,0,255);
l50:50,0,rgb(00,255,255);
l80:80,0,rgb(0,255,0);
a:amount/vol*10;
群体恐惧
lc:=ref(close,1);
lc1:=ref(close,1);
群体心理:((sma(max((close - lc),0),5,1) / sma(abs((close - lc1)),5,1)) * 100),0,colorred,0,2;
r:=(((close - llv(low,9)) / (hhv(high,9) - llv(low,9))) * 100);
a:=sma(r,3,1);
b:=sma(a,3,1);
ccc:=(((b / 2) + 40) * 1.1);
x1:sma(ccc,3,1),0,colorcyan,1,1;
恐惧区间:stickline(c,x1,100,8,1),1,colorcyan;
drawicon(cross(x1,群体心理),群体心理,1);
群体贪婪
aa:=ref(close,1);
bbb:=sma(max(close-aa,0),5,1)/sma(abs(close-aa),5,1)*1000;
hhh:=bbb-llv(bbb,10);
ss:=(ma(hhh,2)*3+hhh*13)/16;
抄底线:=if(ss>13,ma(ss,2),ss);
{21,circledot;}
x轴:120,0,colorwhite,2,1;
var1:=if(抄底线>50,150,抄底线+100);
vara:=barscount(close)*3.142/180;
群体扫描k线: sin(vara*8)*100+100,0,colorred,1,2 ;
群体扫描t线: cos(vara*8)*100+100,0,coloryellow,1,2;
x1:stickline(cross(var1,121),121,var1,0.2,0),1,rgb(255,00,00);
x2:stickline(cross(var1,121),121,var1,8,0),1 ,rgb(204,00,00);
x3:stickline(cross(var1,121),121,var1,7,0),1 ,rgb(204,00,51);
x4:stickline(cross(var1,121),121,var1,6,0),1 ,rgb(204,51,0);
x5:stickline(cross(var1,121),121,var1,5,0),1 ,rgb(204,51,102);
x6:stickline(cross(var1,121),121,var1,4,0),1 ,rgb(255,51,51);
x7:stickline(cross(var1,121),121,var1,3,0),1 ,rgb(255,51,102);
x8:stickline(cross(var1,121),121,var1,2,0),1 ,rgb(255,102,51);
x9:stickline(cross(var1,121),121,var1,1,0),1 ,rgb(255,102,102);
熊熊烈焰
a:=(2*c+h+l)/4;
{zljx:=hhv(a,21),colorred,linethick2; }
zcjx:llv(a,21);
{tomorrow:(4*ref(zcjx,1)-(h+l))/2,colorwhite;}
{partline(zcjx,(zcjx=ref(zcjx,1)),rgb(255,0,255),(zcjx
var1:=zcjx=ref(zcjx,1);
var2:=(low
drawicon(var1 and var2,zcjx,6);
{
var1:="high#week";
var2:="l#week";
var3:"hl.weekh#month";
var4:"hl.weekl#month";
}
{
ema(c,3),color00ffff;
ema(c,5),color00ffff;
ema(c,8),color00ffff;
ema(c,10),color00ffff;
ema(c,12),color00ffff;
ema(c,15),color00ffff;
ema(c,30),colorred;
ema(c,35),colorred;
ema(c,40),colorred;
ema(c,45),colorred;
ema(c,50),colorred;
ema(c,60),colorred;
}
一览无遗 主图
市值v:=c*capital*100/100000000;
股本g:=finance(1)/10000;
流通l:=finance(7)/10000;
市盈率lyr:=c/finance(33);
市净率sjl:=c/finance(34);
日换手率rhs:=vol/capital*100;
净资产jzc:=finance(34);
净资收益率syl:=finance(37);
最新收益zxsy:=finance(33);
每股公积金gjj:=finance(18);
每股未分配wfp:=finance(31);
主营净利润率:=finance(21)/finance(20)*100;
股东权益比:=finance(36);
jg:=bigorderp(1,3)-bigorderp(2,3);
zl:=bigorderp(1,2)-bigorderp(2,2);
jg5:=sum(jg,5);
zl5:=sum(zl,5);
市值:drawtextabs(10,13,'流通市值:'+市值v+' '+'亿'),0,rgb(200,200,0);
股本:drawtextabs(140,13,'股本:'+股本g+' '+'亿'),0,rgb(220,200,0);
流通:drawtextabs(230,13,'流通:'+流通l+' '+'亿'),0,rgb(230,200,0);
市净率:drawtextabs(320,13,'市净率:'+市净率sjl+' '),0,rgb(240,200,0);
日换手率:drawtextabs(10,50,'日换手率:'+日换手率rhs+' '),0,rgb(10,200,0);
净资产:drawtextabs(10,30,'净资产:'+净资产jzc+'元 '),0,rgb(200,00,200);
净资收益率:drawtextabs(230,30,'净资收益率:'+净资收益率syl+'% '),0,rgb(220,0,200);
最新收益:drawtextabs(110,30,'最新收益:'+最新收益zxsy+'元 '),0,rgb(210,0,200);
每股未分配:drawtextabs(110,50,'每股未分配:'+每股未分配wfp+'元 '),0,rgb(0,255,0);
每股公积金:drawtextabs(250,50,'每股公积金:'+每股公积金gjj+'元 '),0,rgb(0,255,0);
机构流入:drawtextabs(10,70,'机构流入:'+jg+'万元 占盘:'+if(capital>0,jg*100*1000/(c*capital),0)+'‰'),0,rgb(255,255,0);
主力流入:drawtextabs(10,90,'主力流入:'+zl+'万元 占盘:'+if(capital>0,zl*100*1000/(c*capital),0)+'‰'),0,rgb(255,255,0);
机构5日流入:drawtextabs(10,110,'机构5日流入:'+jg5+'万元 占盘:'+if(capital>0,jg5*100*1000/(c*capital),0)+'‰'),0,rgb(255,255,0);
主力5日流入:drawtextabs(10,130,'主力5日流入:'+sum(zl,5)+'万元 占盘:'+if(capital>0,sum(zl,5)*100*1000/(c*capital),0)+'‰'),0,rgb(255,255,0);
主力动能
主力资金:=sum((bigorderp(1,2)-bigorderp(2,2)),5);
主力资金a:主力资金,0,rgb(255,125,0),0,1;
主力资金b:ema(主力资金,5),0,rgb(0,0,255),0,1;
三十六计 基于恒富数据的持仓
adcc-暗度陈仓
机构买:=bigorderp(1,3);
机构卖:=bigorderp(2,3);
大户买:=bigorderp(1,2)-bigorderp(1,3);
大户卖:=bigorderp(2,2)-bigorderp(2,3);
机构净值:=机构买-机构卖;
大户净值:=大户买-大户卖;
x轴:0,0,rgb(255,255,255),1,1;
机构净买:stickline(机构净值>0,机构净值,0,-1,0),0,rgb(255,0,0);
机构净卖:stickline(机构净值<0,机构净值,0,-1,0),0,rgb(0,128,64);
大户净买:stickline(大户净值>0,大户净值+if(机构净值>0,机构净值,0),if(机构净值>0,机构净值,0),-1,0),0,rgb(253,168,53);
大户净卖:stickline(大户净值<0,(大户净值+if(机构净值>0,0,机构净值)),if(机构净值>0,0,机构净值),-1,0),0,rgb(168,255,81);
主力持仓:sum(机构净值+大户净值,0),0,rgb(0,0,255),1,2;
瞒天过海
ev:=vol;
实际v:=ev/10000,0,coloryellow,1,1;
var1:=dynainfo(17)*ref(ma(vol,5),1);
var2:=dynainfo(7)=close and dynainfo(10)=amount;
预测:=if(dynainfo(7)=close and dynainfo(10)=amount,var1,var2)/10000;
{if(dynainfo(7)=close and dynainfo(10)=amount,var1,var3),coloryellow;}
预测v:=stickline(if(dynainfo(7)=close and dynainfo(10)=amount,var1,var2),var1,0,-1,1),1,colorgreen;
aa:=vol/((high-low)*2-abs(close-open));
买盘:=if(close>open,aa*(high-low),if(close
买:=买盘/10000,coloryellow;
卖盘:=if(close>open,0-aa*((high-close)+(open-low)),if(close
0-aa*(high-low),0-vol/2)),0,colorgreen;
卖:=卖盘/10000,coloryellow;
换手:=vol/capital*100,circledot,coloryellow;
流通盘:=capital/1000000,pointdot;
流通市值:=(capital/100*c)/10000,1,rgb(51,204,255);
成交额2:=amount/10000000,pointdot;
虚拟成交量:stickline(买盘>0,0,vol,-1,1),1,colorblue;
买盘5日均线:ma(买盘,5),0,rgb(255,0,255),1,1;
买v:stickline(买盘>0,0,买盘,-1,0),1,colorred;
卖v:stickline(卖盘<0,0,卖盘,-1,0),1,colorgreen;
以逸待劳
机构买:=bigorderp(1,3);
机构卖:=bigorderp(2,3);
大户买:=bigorderp(1,2)-bigorderp(1,3);
大户卖:=bigorderp(2,2)-bigorderp(2,3);
机构买入:stickline(机构买,机构买,0,-1,0),0,rgb(255,0,0);
机构卖出:stickline(机构卖,-机构卖,0,-1,0),0,rgb(0,128,64);
主力买入:stickline(大户买,大户买+机构买,机构买,-1,0),0,rgb(253,168,53);
主力卖出:stickline(大户卖,-(大户卖+机构卖),-机构卖,-1,0),0,rgb(168,255,81);
净差:机构买+大户买-(机构卖+大户卖),0,colorwhite,0,1;
资金动能
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),0,rgb(0,255,255),0,2;
3.恒富数据
dhd-大户单
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);
jgd-机构单
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);
shd-散户单
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);
zhd-中户单
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);
净卖:stickline(t3<0,t3,0,-1,0),0,rgb(0,255,0);
zlcb-主力成本
zlb:=bigorderp(1,2);
zls:=bigorderp(2,2);
zlbv:=bigorderext(9)+bigorderext(8);
zlsv:=bigorderext(13)+bigorderext(12);
买:zlb*100/zlbv;
买5:if (ref(zlbv,4)<>0,sum(zlb*100,5)/sum(zlbv,5),买);
买10:if (ref(zlbv,9)<>0,sum(zlb*100,10)/sum(zlbv,10),买);
买30:if (ref(zlbv,29)<>0,sum(zlb*100,30)/sum(zlbv,30),买);
卖:=zls*100/zlsv;
最新价:=c;
{drawicon(cross(买5,买10),买,0);}
zlcb-主力成本卖
zlb:=bigorderp(1,2);
zls:=bigorderp(2,2);
zlbv:=bigorderext(9)+bigorderext(8);
zlsv:=bigorderext(13)+bigorderext(12);
买:=zlb*100/zlbv;
买5:=if (ref(zlbv,4)<>0,sum(zlb*100,5)/sum(zlbv,5),买);
买10:=if (ref(zlbv,9)<>0,sum(zlb*100,10)/sum(zlbv,10),买);
买30:=if (ref(zlbv,29)<>0,sum(zlb*100,30)/sum(zlbv,30),买);
卖:zls*100/zlsv;
卖5:if (ref(zlsv,4)<>0,sum(zls*100,5)/sum(zlsv,5),卖);
卖10:if (ref(zlsv,9)<>0,sum(zls*100,10)/sum(zlsv,10),卖);
卖30:if (ref(zlsv,29)<>0,sum(zls*100,30)/sum(zlsv,30),卖);
zlhl-主力获利
zlb:=(bigorderp(1,2));
zls:=(bigorderp(2,2));
zlbv:=bigorderext(9)+bigorderext(8);
zlsv:=bigorderext(13)+bigorderext(12);
主力成本买:=zlb*100/zlbv;
主力成本卖:=zls*100/zlsv;
主力成本买30:if (ref(zlbv,29)<>0,sum(zlb*100,30)/sum(zlbv,30),主力成本买);
买30:=主力成本买30;
最新价:=close;
fillrgn(买30,最新价,买30<最新价,rgb(235,175,50),买30>=最新价,rgb(5,0,205));
zlhl-主力卖获利
zlb:=(bigorderp(1,2));
zls:=(bigorderp(2,2));
zlbv:=bigorderext(9)+bigorderext(8);
zlsv:=bigorderext(13)+bigorderext(12);
主力成本买:=zlb*100/zlbv;
主力成本卖:=zls*100/zlsv;
主力成本买30:=if (ref(zlbv,29)<>0,sum(zlb*100,30)/sum(zlbv,30),主力成本买);
主力成本卖30:if (ref(zlsv,29)<>0,sum(zls*100,30)/sum(zlsv,30),主力成本卖);
卖30:=主力成本卖30;
最新价:=close;
fillrgn(卖30,最新价,卖30<最新价,rgb(235,175,50),卖30>=最新价,rgb(5,0,205));
4.跟风盘指标
跟风盘大户净买
主买:=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);
跟风盘特大户净买
主买:=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);
跟风盘小户净买
主买:=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);
跟风盘中户净买
主买:=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);
6.行家排行
恒富连红排序
时间区间 20
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,时间区间);
大户连红:last(a2>0);
大户5日内红:count(a2>0,5);
大户10日内红:count(a2>0,10);
大户n日内红:count(a2>0,时间区间);
中户连绿:last(a3<0);
中户5日内绿:count(a3<0,5);
中户10日内绿:count(a3<0,10);
中户n日内绿:count(a3<0,时间区间);
散户连绿:last(a4<0);
散户5日内绿:count(a4<0,5);
散户10日内绿:count(a4<0,10);
散户n日内绿:count(a4<0,时间区间);
厚积薄发排序
时间区间 10
恒富分类 1
翻红日数 6
涨跌幅度 10
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);
kk1:=if(恒富分类=1,a1,0);
kk2:=if(恒富分类=2,a2,0);
kk3:=if(恒富分类=3,a3,0);
zl:=kk1+kk2+kk3;
量比‰:sum(zl,时间区间)/sum(amount,时间区间);
机构n日:sum(a1,时间区间);
大户n日:sum(a2,时间区间);
主力n日:sum(a3,时间区间);
机构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);
count(zl>0,时间区间)>=翻红日数 and (c/ref(c,时间区间)) <(1+涨跌幅度/100) and sum(zl,时间区间)〉0
逆势增仓排序
时间区间 3
zlb:=bigorderp(1,2);
zls:=bigorderp(2,2);
zl:=zlb- zls;
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);
主力量比‰:sum(a3,时间区间)/sum(amount,时间区间);
机构n日:sum(a1,时间区间);
大户n日:sum(a2,时间区间);
主力n日:sum(a3,时间区间);
机构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日 > 0 and c/ref(c,时间区间)<1
xa.特色指标
dkx 多空线
m 10
a:=(3*c+l+o+h)/6;
b:(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+14*ref(a,6)
+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)
+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+
ref(a,20))/210;
d:ma(b,m)
qhlsr 阻力指标
qhl:=(c-ref(c,1))-(vol-ref(vol,1))*(ref(h,1)-ref(l,1))/ref(vol,1);
a:=sum(if(qhl>0,qhl,0),5);
e:=sum(if(qhl>0,qhl,0),10);
b:=abs(sum(if(qhl<0,qhl,0),5));
f:=abs(sum(if(qhl<0,qhl,0),10));
d:=a/(a+b);
g:=e/(e+f);
qhl5: if(sum(if(qhl>0,1,0),5)=5,1,if(sum(if(qhl<0,1,0),5)=5,0,d)) ;
qhl10:g
条件选股
趋势机会提示
diff:=ema(close,12)-ema(close,26);
dea:=ema(diff,9);
a1:=barslast(ref(cross(diff,dea),1));
a2:=if(cross(diff,dea) and diff > 0 and dea >0,0,1);
能量线:=if (a2,a1/10,a1/100);
var1:=ema(ma(if(close>open,(close-open)*vol,if(close
var2:=ema(ma(if(close>ref(close,1),(close-ref(close,1))*vol,if(close
var3:=ema(ma(if(open>ref(close,1),(open-ref(close,1))*vol,if(open
var4:=ema(ma(if(closeopen,(open-close)*vol,0)),10),1);
var5:=ema(ma(if(closeref(close,1),(ref(close,1)-close)*vol,0)),10),1);
var6:=ema(ma(if(openref(close,1),(ref(close,1)-open)*vol,0)),10),1);
dx:=(var1+var2+var3)/3/100;
cx:=(var4+var5+var6)/3/100;
买:=if (cross(dx,cx) and 能量线 >0.5 and 能量线 < 2 and diff > ref(diff,1),0,-7);
买=0;
趋势风险提示
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;
卖:=if((cross(资金动能b,资金动能a) and 资金动能b》0.25),资金动能b,0);
卖=资金动能b
上一指标公式:幸运代理1.0&2.0发布 其他代理发布
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文天财藏金-掌股专家系列特色大全-通达信适用 其他天财藏金仅供学习研究。