var1:=(2*close+high+low)/4;
var2:=if(year>=2099 and month>2,0,1);
var3:=llv(low,5);
var4:=hhv(high,4);
散户:=ema((var1-var3)/(var4-var3)*100,4)*var2;
庄家:=ema(0.667*ref(散户,1)+0.333*散户,2)*var2;
drawtext(cross(散户,庄家) and 散户<47,l-0.05,'←低吸'),colorlired;
drawtext(cross(庄家,散户) and 散户>60,h+0.05,'←高抛'),color80ff00;
drawicon(cross(散户,庄家) and 散户<47,l-0.05,4);
drawicon(cross(庄家,散户) and 散户>60,h+0.05,5);
市场成本:dma(amount/v/100,v/capital),coloryellow;
操盘成本:=(ma(c,30)+ma(c,72))/2,colorred;
市盈率:=dynainfo(39),colorff00ff;
tj:=vol>=ref(v,1)*1.91 and c>ref(c,1)*1.01;
stickline(tj,open,close,3,0),colorff00ff;
量_价:=1;ctkg:=1;
w:=量_价;
epsl:=0.0001;
zz:=(c+h+l)/3;
tja:=zz>=max(c,o) and ctkg=1;{倒锤头};
tjb:=zz<=min(c,o) and ctkg=1;{正锤头};
zf:=if(tja,1,if(tjb,-1,0));{正负数};
tj0:=tja or tjb;
tj1:=h=l and c>ref(c,1);{一字涨停};
tj2:=h=l and c<ref(c,1);{一字跌停};
tj3:=h=l and c=ref(c,1);{连续一字涨、跌停};
量_价:=if(w=1,vol,amount),stick,coloreeffee;{平盘量,白色}
ee:=if(tj1,epsl,if(tj2,-epsl,0));
zl:=2*(h-l)+abs(c-o)+3*if(tj3,epsl,abs(ee));
jgl_dx:=(if(tj0,2/3*(2*c-h-l)+zf*abs(c-o),(c-o))+ee)/zl;
差:=(jgl_dx*量_价)/20000,color13aadd;
dx:=jgl_dx*100;
买:=量_价*(1+jgl_dx)/20000,color1133aa;
卖:=量_价*(1-jgl_dx)/20000,colorffff00;
量差:=买-卖,coloryellow;
stickline(量差<=0,close,open,5,0),color009900;
stickline(量差<=0,close,open,4,0),color00bb00;
stickline(量差<=0,close,open,3,0),color00dd00;
stickline(量差<=0,close,open,0.5,0),color00ff00;
stickline(量差>=0,close,open,5,0),color000099;
stickline(量差>=0,close,open,4,0),color0000cc;
stickline(量差>=0,close,open,3,0),color0000ff;
stickline(量差>=0,close,open,0.5,0),colorcc66ff;
v2v:=v/ref(v,1)>=1.9 and c>ref(c,1);
stickline(v2v,open,close,3,0),coloryellow;
zt:=c/ref(c,1)>1.097;
stickline(zt,open,close,3,0),coloryellow;
v3v:=v/ref(v,1)>=1.9 and c<ref(c,1);
stickline(v3v,open,close,3,0),colorblue;
d:=ma(close,80)-ma(close,10)/3;
drawtext(if(close<d and vol/240>ma(vol,5)/240 and close>ref(close,1)*1.08
and close<ma(close,13)*1.3,1,0),low,'↖抄底'),colorred;
{wh1:=if(l=llv(l,9),l,0);
wh2:=const(barslast(wh1!=0));
wh3:=const(if(wh2=0,h,ref(h,wh2)));
wh4:=const(ref(barslast(h>wh3),wh2+1)+wh2+1);
wh5:=const(if(wh4=0,h,ref(h,wh4)));
wh6:=const(ref(barslast(h>wh5),wh4+1)+wh4+1);
wh7:if(currbarscount<=wh2+10,const(if(wh6=0,h,ref(h,wh6))),drawnull),colorred,dotline;
stickline(currbarscount<=wh2+1 and l=llv(l,9),o,c,3,0),colorred;
drawtext(currbarscount=wh2+10,wh7,'line'),colorred;
drawtext(islastbar,wh7,'进场线'),colorred;
wh8:if(currbarscount<=wh2+1,if(l=llv(l,9),l,drawnull),drawnull),circledot;
h1:=if(h=hhv(h,9),h,drawnull);
h2:=const(barslast(h1!=drawnull));
h3:=const(if(h2=0,l,ref(l,h2)));
h4:=const(ref(barslast(l<h3),h2+1)+h2+1);
h5:=const(if(h4=0,l,ref(l,h4)));
h6:=const(ref(barslast(l<h5),h4+1)+h4+1);
h7:if(currbarscount<=h2+10,const(if(h6=0,l,ref(l,h6))),drawnull),dotline;
h8:if(currbarscount<=h2+1,if(h=hhv(h,9),h,drawnull),drawnull),circledot;
drawtext(currbarscount=h2+10,h7,'line'),coloryellow;
drawtext(islastbar,h7,'移动止损线'),coloryellow;
ksv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
{k:=sma(ksv,3,1);
d:=sma(k,3,1);
drawtext(cross(c,mid中轨) and cross(k,d),l,'↖kd金叉');}
ar1:=ref(close,1);
ar2:=sma(max(close-ar1,0),7,1)/sma(abs(close-ar1),7,1)*100;
drawtext(filter(ref(ar2,1)<20 and ar2>ref(ar2,1),5),l*0.99,'↖特准抄底'),colorgreen;
bias1:=(c-ma(c,6))/ma(c,6)*100;
bias2:=(c-ma(c,12))/ma(c,12)*100;
bias3:=(c-ma(c,24))/ma(c,24)*100;
bias:=(bias1+2*bias2+3*bias3)/6;
乖离:=ma(bias,3);
drawtext(cross(bias,乖离)and 乖离<-9.5,l*0.96,'↖红柱抄底'),colorred;}
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));
x1:=(((((3 * close) + high) + low) + open) / 6);
x2:=ema(x1,10);
aa10:=ma(close,8),coloryellow ;
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));
vard:=((((open + low) + high) + close) / 4);
支撑:=ema(vard,5);
均线:=ma(close,16);
阻挡:=(sma(high,21,2) * 1.05);
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;
{stickline(b>ref(b,1),ref(b,1),b,4,0),coloryellow;
stickline(b<=ref(b,1),ref(b,1),b,4,0),colorgreen;}
ma3:=ma(c,3);
ma13:=ma(c,13),colorgreen;
{if(ma13>ref(ma13,1),ma13,1),colorred;
if(ma13<ref(ma13,1),ma13,0),coloryellow;
drawicon(c>ma3 and c>ma13 and ma13>ref(ma13,1)
and ref(c,1)<ma13,l*0.99,9);}
var1:=(100 - ((90 * (hhv(high,14) - close)) / (hhv(high,14) - llv(low,14)))),;
var2:=(100 - ((90 * (hhv(high,14) - close)) / (hhv(high,14) - llv(low,14))));
var3:=(100 - ma(((100 * (hhv(high,6) - close)) / (hhv(high,6) - llv(low,6))),34));
dir1:=abs(close-ref(close,5));
vir1:=sum(abs(close-ref(close,1)),5);
er1:=dir1/vir1;
cs1:=er1*(0.8-2/8)+2/8;
cq1:=cs1*cs1;
dir2:=abs(close-ref(close,10));
vir2:=sum(abs(close-ref(close,1)),10);
er2:=dir2/vir2;
cs2:=er2*(0.8-2/24)+2/24;
cq2:=cs2*cs2;
stickline(var2 < ma(var3,8),low,high,0,1),colorblue;
stickline(var2 > ma(var3,8),low,high,0,1),colorred;
stickline(((open>close)and(var2<ma(var3,6))),(close-0.03),open,8,0),colorblue;
stickline(((open<close)and(var2<ma(var3,6))),close,open,8,1),colorblue;
stickline(((open>close)and(var2>ma(var3,6))),open,(close-0.03),8,0),colorred;
stickline(((open<close)and(var2>ma(var3,6))),open,close,8,1),colorred;
drawicon(cross(var2,ma(var3,6)),(low - (low*0.02)),4);
drawicon(cross(ma(var3,6),var1),(high+(high*0.02)),5);
{波浪顶底}
ty:=c;
hd:=filter(backset(filter(ref(ty,10)=hhv(ty,2*10+1),10),10+1),10);
ld:=filter(backset(filter(ref(ty,10)=llv(ty,2*10+1),10),10+1),10);
e:=ref(c,barslast(hd));
f:=ref(c,barslast(ld));
tt1:=barslast(hd)<barslast(ld) and not(hd) ;
t2:=barslast(hd)>barslast(ld) and not(ld);
波浪顶:if(tt1,e,e),colorff00ff,pointdot,linethick2;
stickline(tt1,e,e,9,0),colorff00ff;
波浪底:if(t2,f,f),color80ff00,pointdot,linethick2;
上一指标公式:24节气公式下载 飞狐节气指标 源码
下一指标公式:牵牛索长阳真人公式加密版下载 飞狐加密真人指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文有实战意义的主图公式附效果图下载 飞狐实战意义指标 源码仅供学习研究。