在底部见到拉出蓝色的竖线表示有风险,拉出紫线表示顶部已经不远了。紫线加清仓的大绿柱一起出现清仓处理。在顶部拉出黄线表示主力正在抄底,由于公式有未来函数,在抄底时请结合其它指标一起使用。
//大机构仓位:100*(1-winner(close)),colorred,linethick1;
var2:=1/winner(close);
var3:=ma(close,13);
var4:=100-abs((close-var3)/var3*100);
var5:=llv(low,120);
var6:=hhv(high,120);
var7:=(var6-var5)/100;
var8:=sma((close-var5)/var7,20,1);
var9:=sma((open-var5)/var7,20,1);
vara:=3*var8-2*sma(var8,10,1);
varb:=3*var9-2*sma(var9,10,1);
varc:=100-varb;
//基金私募仓位: (100-vara),colorgreen,linethick1;
//drawtext ((100-vara)<20 and (100-vara)>10,100,'○'),colorwhite;
//drawtext ((100-vara)<10 and (100-vara)>0,100,'○'),colorlimagenta;
//drawtext ((100-vara)<0,100,'●'),colorlimagenta;
drawtext ((100-vara)>90 and (100-vara)<95,90,'□'),coloryellow;
drawtext ((100-vara)>95,90,'□'),colorred;
drawtext ((100-vara)>100,90,'■'),colorred;
vare:=ref(low,1)*0.9;
varf:=low*0.9;
var10:=(varf*vol+vare*(capital-vol))/capital;
var11:=ema(var10,30);
var12:=close-ref(close,1);
var13:=max(var12,0);
var14:=abs(var12);
var15:=sma(var13,7,1)/sma(var14,7,1)*100;
var16:=sma(var13,13,1)/sma(var14,13,1)*100;
var17:=barscount(close);
var18:=sma(max(var12,0),6,1)/sma(abs(var12),6,1)*100;
var19:=(-200)*(hhv(high,60)-close)/(hhv(high,60)-llv(low,60))+100;
var1a:=(close-llv(low,15))/(hhv(high,15)-llv(low,15))*100;
var1b:=sma((sma(var1a,4,1)-50)*2,3,1);
var1c:=(indexc-llv(indexl,14))/(hhv(indexh,14)-llv(indexl,14))*100;
var1d:=sma(var1c,4,1);
var1e:=sma(var1d,3,1);
var1f:=(hhv(high,30)-close)/close*100;
var20:=var18<=25 and var19<-95 and var1f>20 and var1b<-30 and var1e<30 and var11-close>=-0.25 and var15<22 and var16<28 and var17>50;
var21:=(high+low+close)/3;
var22:=(var21-ma(var21,14))/(0.015*avedev(var21,14));
var23:=(var21-ma(var21,70))/(0.015*avedev(var21,70));
var24:=if(var22>=150 and var22<200 and var23>=150 and var23<200,10,0);
var25:=if(var22<=-150 and var22>-200 and var23<=-150 and var23>-200,-10,var24);
//stickline(var20,0,56,5,0),linethick5,colorred;
drawtext(cross(var20,0.5) and count(var20=1,10)=1,90,'') , colorred;
vare:=ma(100*(close-llv(close,34))/(hhv(high,34)-llv(low,34)),5)-20;
varf:=100-3*sma((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)+2*sma(sma
((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1);
var10:=100-3*sma((open-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)+2*sma(sma
((open-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1);
var11:=varf<ref(var10,1) and vol>ref(vol,1) and close>ref(close,1);
v10:=peakbars(3,15,1)<10; v12:=if(v10=1,50,0);
头部:= if(v12=50,100,0);
卖:if(if(v12=50,100,0)>ref(if(v12=50,100,0),1),40,0),colorblue,linethick1;
stickline(卖,0,100,8,0),linethick8,colorgreen;
drawtext(卖,60,'-主力清仓 '),colorgreen;
v9:=troughbars(3,15,1)<10; v11:=if(v9=1,50,0);
//底部:= if(v11=50,50,0),colorblack,linethick1;
//买:if( 底部>ref(底部,1),40,0);
//stickline(买,28,52,8,0),linethick8,coloryellow;
//drawtext(买,50,'主力抄底 '),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;
v11:=3*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1)-2*sma(sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1),3,1);
v12:=(ema(v11,3)-ref(ema(v11,3),1))/ref(ema(v11,3),1)*100;
cc:=(ema(v11,3)>=90 and v12) and filter((ema(v11,3)>=90 and v12),10);
dd:=(ema(v11,3)>=120 and v12) and filter((ema(v11,3)>=120 and v12),10);
stickline(if(v4<=0,v4,1) and ema(v11,3)>90,0,10,10,0),colorliblue,linethick1;
//stickline(a4>90 and b4>70,82,94,6,0),colormagenta
var8:=vol>2*ma(vol,30);
var9:="dmi.adx"(10,6);
vara:="dmi.adxr"(10,6);
varb:=close>ma(close,30) and close<ma(close,30)*1.04;
varc:=ma(close,30)>ref(ma(close,30),1);
vard:=barslast(cross(ma(close,5),ma(close,10)))<barslast(cross(ma(close,10),ma(close,5)));
vare:=0-"macd.diff"(7,21,3);
varf:=troughbars(3,15,1)<4;
var10:=ema(close,30)>ref(ema(close,30),2);
var11:=if(varf=1,50,0);
多空:ema((close-ma((2*close+high+low)/4,30))/ma((2*close+high+low)/4,30)*100,3),colorblack;
0,colorred;
stickline(filter(varf=1,5) and 多空<-10,20,70,15,0),colorf00ff0,linethick8;
stickline(filter(varf=1,5),20,70,8,0),coloryellow,linethick8;
//drawtext(filter(varf=1,3),60,'-主力潜伏'),coloryellow;
//drawtext(filter(varf=1,3),40,'□□谨慎'),colorred;
drawtext(filter(varf=1,3),25,''),colorred ;
stickline(多空<-10,0,10,5,0),coloryellow,linethick2;
stickline(多空>10,40,20,5,0),colorliblue,linethick2;
//趋势: 5*sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1)-3*sma(sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1),3,1)-sma(sma(sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1),3,1),2,1),linethick0;
v1:= ma(close,5)=hhv(ma(close,5),20);
v2:= ma(close,5)>ma(close,20);
v3:= count(ma(close,1)>ref(close,1),3)=3;
//风险: if(v1 and v2 and v3,100,0),linethick1,stick,colorblack;
风险: if(v1 and v2 and v3,40,0),linethick4,stick,colorliblue;
v11:= ma(close,5)=hhv(ma(close,5),120);
v21:= ma(close,5)>ma(close,120);
v31:= count(ma(close,1)>ref(close,1),3)=3;
风险1: if(v11 and v21 and v31,45,0),linethick4,stick,colorlimagenta;
//天线: 108,linethick0,colorff9d00;
//stickline(cross(天线,趋势),80,108,3,0),colorwhite,linethick5;
上一指标公式:庄家底部WSP指标公式详解 同花顺庄家
下一指标公式:上帝之手指标公式详解 同花顺之手
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文大机构仓位指标公式详解 同花顺仓位仅供学习研究。