高抛低吸成本主图源码下载:
大盘指数:indexc,nodraw,colorlimagenta ;
c3:=ref(c,1);
涨停:=if((c-c3)*100/c3>=(10-0.01*100/c3),1,0);
stickline(涨停,open,close,2.5,0),coloryellow;
跌停:=if((c3-c)*100/c3>=(10-0.01*100/c3),1,0);
stickline(跌停,open,close,2.5,0),colorblue;
ema5:ema(c,5),nodraw;
操盘:=ema(c,17);
kdj_k:="kdj.k"(9,3,3);kdj_d:="kdj.d"(9,3,3);kdj_j:="kdj.j"(9,3,3);
买1:=cross(kdj_j,0) or (cross(kdj_j,kdj_k) and kdj_d<26);
买2:=cross("rsi.rsi1"(6,2,2),20) or cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24));
买3:=cross("macd.dif","macd.dea") or cross("macd.macd",0);
买0:=买1+买2+买3;
drawicon(买0>1,l*0.98,16);
x6:=ref(close,1);
x7:=((sma(max((close - x6),0),7,1) / sma(abs((close - x6)),7,1)) * 100);
x8:=cross(79,x7);
x9:=filter(x8,4);m:=5;p:=3;
drawtext(x9,(high * 1.02),'●出货'),color9000f5;
上升压力: 操盘 + p*std(close,m),color0099ff,linethick1;
下跌支撑: 操盘 - p*std(close,m),colormagenta,linethick1;
dif:=ema(close,12)-ema(close,26);
dea:=ema(dif,9);
macd1:=(dif-dea)*2,colorstick;
a:=ma(close,5);
b:=ma(close,20);
typ:=(high+low+close)/3;
cci:=(typ-ma(typ,84))/(0.015*avedev(typ,84));
bb:=between(ref(close,1),a,b);
drawtext(close>a and a>b and b>ref(b,1) and cross(cci,100) and macd1>0 and ref(macd1,1)>0,b,'追'),coloryellow;
cbfb:=ma(c,2);
jl:=if(c>cbfb,v,0);
cl:=if(c<cbfb,v,0);
jlh:=sum(jl,4);{好公式网www.goodgongshi.com}
clh:=sum(cl,4);
lhb:=clh/jlh;
tj1:=if(hhv(lhb,5)>4 and cross(2,lhb) and c>=o,1,0);
drawicon(tj1,l*0.96,9);
z:=ma(c,120);
var3:=(ma(c,5)-z)/z;
var4:=ma((close-llv(low,20))/(hhv(high,20)-llv(low,20))*100,3);
var5:=(ma(amount,5)/ma(vol,5)/100-ma(amount,120)/ma(vol,120)/100)/(ma(amount,5)/ma(vol,5)/100);
d1:drawtext(close>z and ref(var4,1)<30 and var4>ref(var4,1) and ref(var4,1)<ref(var4,2) ,low ,'★b'),colorred;
d2:drawtext(ref(var5,1)<5 and var5>ref(var5,1) and ref(var5,1)<ref(var5,2) and var3<-0.3,low ,'★b'),colorgreen;
d3:drawtext(cross(var4,5) and var3<-0.4,low ,'★b'),colorblue;
y:=ma(c,120);
var6:=(ma(c,5)-y)/y;
var7:=ma((close-llv(low,10))/(hhv(high,10)-llv(low,10))*100,3);
var8:=(ma(amount,5)/ma(vol,5)/100-ma(amount,120)/ma(vol,120)/100)/(ma(amount,5)/ma(vol,5)/100);
d4:drawtext(close<y and y<ref(y,1) and ref(var7,1)>80 and var7<ref(var7,1) and ref(var7,1)>ref(var7,2),high,'★s'),coloryellow;
d5:drawtext(cross(90,var7) and var8>0.2,high,'★s'),colorgreen;
d6:drawtext(cross(95,var7) and var6>0.5,high ,'★s'),colorred;
maa5:=ma(c,5),colorff00ff,linethick2;
maa10:=ma(c,10);
maa30:=ma(c,30),colorred;
ks:=if(maa10>maa30,maa10,maa30),colorblue;
a3:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
a4:=sma(a3,3,1);
a5:=sma(a4,3,1);
a6:=3*a4-2*a5;
a7:=c-ref(c,1);
a8:=100*ema(ema(a7,6),6)/ema(ema(abs(a7),6),6);
买:=llv(a8,2)=llv(a8,7) and count(a8<0,2) and cross(a8,ma(a8,2));
drawtext(filter(买=1,5),low-0.05,'↖买进'),coloryellow;
stickline(买,open,close,2,0),coloryellow;
x1:=(c+l+h)/3;
bb13:=atan(ema(x1,13)-ref(ema(x1,13),1))*3.1416*10;
ema8:=ema(c,8);
drawtext(filter(bb13>1 and ema(x1,13)>ref(ema(x1,8),1),10),
ema8,'∠45升'),colorwhite;
a01:=ma(close, 28);
a02:=ma(close, 66);
a03:=amount / vol / 100.000;
a04:=sumbars(vol,capital * 1.618);
a05:=if((a04 > 100.000), 1.033,if(((a04 <= 100.000) and (a04 > 33.000)), 1.039, 1.05));
运作成本:ma(a03, 10),nodraw;
中线成本:ema(a03, 34) * a05,nodraw;
总体成本:dma(中线成本,vol / capital),nodraw;
var12:=(2*close+high+low)/4;
var13:=if(year>=2099 and month>2,0,1);
var14:=llv(low,5); var15:=hhv(high,4);
散户:=ema((var12-var14)/(var15-var14)*100,4)*var13;
庄家:=ema(0.667*ref(散户,1)+0.333*散户,2)*var13;
drawtext(cross(散户,庄家) and 散户<30,l-0.05,'←低吸'),colorlired;
drawtext(cross(庄家,散户) and 散户>70,h+0.05,'←高抛'),colorgreen;
上一指标公式:牛线轨道回归线下载
下一指标公式:五日量能筹码平均副图下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文高抛低吸成本主图下载仅供学习研究。