大机构仓位:100*(1-winner(close)),colorred,linethick3;
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),coloryellow,linethick2;
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;
准备现金: stickline(ema(v11,3)<=13,0,20,5,0),colorred;
aa:=(ema(v11,3)<=13) and filter((ema(v11,3)<=13),15);
drawtext (aa,-10,'准备现金'),colorgray;
买入股票: stickline(ema(v11,3)<=13 and v12>13,0,30,5,0),colorlimagenta;
bb:= (ema(v11,3)<=13 and v12>13) and filter((ema(v11,3)<=13 and v12>13),10) ;
drawtext (bb,35,'主力进'),colorlimagenta;
卖临界: stickline(ema(v11,3)>60 and ema(v11,3)>ref(ema(v11,3),1),100,95,15,1),colorgreen;
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(vb>=0,vb,0) and ema(v11,3)<13,0,20,10,0),colorlimagenta;
stickline(if(vb<=0,vb,0) and ema(v11,3)>90,0,20,10,0),colorgreen;
stickline( if(v4>=0,v4,1) and ema(v11,3)<13,0,20,10,0),colorff00ff;
stickline(if(v4<=0,v4,1) and ema(v11,3)>90,0,20,10,0),colorliblue;
drawtext (cc,33,'主力拉升减仓'),colorliblue;
var1:=(2*close+high+low+open)/5;
var2:=llv(low,34);
var3:=hhv(high,34);
多: ema((var1-var2)/(var3-var2)*100,13),colorwhite,linethick1;
空: ema(多,3),colorgreen,linethick1;
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,80,5,0),linethick3,colorred;
drawtext(cross(var20,0.5) and count(var20=1,10)=1,90,'超级主力建仓!') , colorred;
v6:=close/ref(close,3)>=1.1;
v7:=backset(v6,3);
买:if((v7 and count(v7,3)=1),50,0),colormagenta,linethick1;
v10:=peakbars(3,15,1)<10; v12:=if(v10=1,50,0);
头部:= if(v12=50,100,0);
卖:if(头部>ref(头部,1),50,0),colorgreen,linethick3;
drawtext(卖,60,'主力清仓'),colorgreen;
v9:=troughbars(3,15,1)<10; v11:=if(v9=1,50,0);
底部:= if(v11=50,50,0);
买:if( 底部>ref(底部,1),50,0),colorred,linethick3;
drawtext(买,60,'主力抄底买!'),colorred;
v7:=troughbars(3,15,1)<10; v9:=if(v7=1,50,0);
b:=zig(3,50/5)*1;
g:=ma(b,2);
d:=cross(b,g)*10;
w:=cross(g,b)*10;
drawtext(w=10,-10,'↓跌势确立' ),colorgreen,linethick3;
drawtext(d=10,-10,'↑涨势确立'),colorred,linethick3;
爆发线: 80,colorred;
强弱分界线:50,colorgreen;
aa:=(o+h+l+c)/4;
bb:=ma(aa,3);
cc:=sum(if(aa>ref(aa,1),aa*vol,0),4)/sum(if(aa<ref(aa,1),aa*vol,0),4);
dd:=ref(100-(100/(1+cc)),1);
a1:=hhv(aa,10);
a2:=llv(aa,30);
a3:=a1-a2;
a4:=ema((aa-a2)/a3,1)*100;
b1:=hhv(aa,16);
b2:=llv(aa,90);
b3:=b1-b2;
b4:=ema((aa-b2)/b3,1)*100;
c1:=hhv(aa,30);
c2:=llv(aa,240);
c3:=c1-c2;
c4:=ema((aa-c2)/c3,1)*100;
中线趋势:b4,colormagenta,linethick2;
stickline(a4>90 and b4>70,86,94,6,0),coloryellow;
stickline(a4<5 and b4<30,0,8,6,0),colorwhite;
主力资金:ema(100*(c-llv(low,30))/(hhv(h,30)-llv(low,30)),3), colorred,linethick2;
即将爆发线: 65,color00ff00;
起爆线:80,colorwhite,linethick1;
drawtext(cross(主力资金,起爆线),主力资金,'★爆发!') ,coloryellow; tmd:=c-ref(c,1);
金线:100*ema(ema(tmd,5),5)/ema(ema(abs(tmd),5),5),colorwhite,linethick1;
银线:ma(金线,10),color00ff00,linethick1;
stickline(金线>银线 , 金线,银线 ,2.5,0),colorred,linethick2;
stickline(银线>金线,金线,银线,2.5,0),colorgreen,linethick2;
爆发线:30,colorff00ff,linethick1;
起步线:0,colorwhite,linethick1;
drawtext(cross(起爆线,主力资金),起爆线,'★空仓!') ,coloryellow;
抄底线:-25,colorwhite,linethick1;
drawtext(cross(金线,爆发线),金线,'★爆发!') ,colorwhite;
drawtext(cross(主力资金,即将爆发线),主力资金,'★加仓') ,colorwhite;
drawtext(cross(金线,起步线),金线,'★加仓!') ,colorwhite;
drawtext(cross(金线,抄底线),金线,'★半仓!') ,colorwhite;
lc:= ref(c,1);
f1:=zig(3,10);
方向:if((f1> ref(f1,1)),-40,105),color00ff00,linethick2;
drawtext(cross(抄底线,方向),抄底线,'★逢低进场!') ,colorred;
drawtext(cross(方向,抄底线),方向+20,'★逢高出场!') ,colorwhite;
drawtext(cross(金线,起爆线),金线,'★爆发!') ,colorwhite;
上一指标公式:鬼变脸指标公式详解 同花顺变脸
下一指标公式:S点指标公式详解 同花顺
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文★主力资金★指标公式详解 同花顺主力仅供学习研究。