财富阶梯主图:
参数:n:20n1:7 n2:69
m3:= ema(close,3);
m8: ema(close,8), , colorgreen;
m13: ema(m8,13), , colorred;
var1:=ema(m13,62);
var2:=(close+high+low)/3;
var3:=ema(var2,10);
var4:=ref(var3,1);
stickline(var3>var4,var3,var4,4,0), , coloryellow;
stickline(var3<var4,var3,var4,4,0), , colorligreen;
var5:=(ref(high,1)+ref(low,1))/2;
var6:=ma(close,n)+2*std(close,n);
drawtext(cross(var3,var4),var3*0.98,''),coloryellow;
drawtext(cross(var5,var6),high*1.04,'↓高位'), , colorgreen;
var7:=ref(close,1);
var8:=sma(max(close-var7,0),n1,1)/sma(abs(close-var7),n1,1)*100;
var9:=cross(n2,var8);
vara:=filter(var9,4);
drawtext(vara,high*1.04,''), , colorwhite;
varb:=(2*close+high+low)/4;
varc:=llv(low,34);
vard:=hhv(high,34);
vare:=ema((varb-var1)/(var5-var1)*100,7);
varf:=ema(0.667*ref(vare,1)+0.333*vare,5);
drawtext(if(count(close<ref(close,1),8)/8>0.6 and vol>=1.5*ma(vol,5) and count(vare>=varf,3) and ref(low,1)=llv(low,120),1,0),low,'●买进'), , {00010001};
drawtext(if(count(close<ref(close,1),13)/13>0.6 and count(vare>varf,6) and ref(low,5)=llv(low,120) and ref(close>=open,4) and ref(close>open,3) and ref(close>open,2) and ref(open>close,1) and open>ref(close,1),1,0),low,'●买进'), , coloryellow;
var10:=ma(close,80)-ma(close,10)/3;
drawtext(if(close<var10 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;
bb:=hhv(hhv(low,14),60);
x:=hhv(ma((l+h+c)/3,8),60),colorff6600;
drawtext_fix(c>0,0.004,1,0,dyblock),coloryellow,linethick2;
drawtext_fix(c>0,0.06,1,0,hyblock),colorred,linethick2;
drawtext_fix(c>0,0.12,1,0,externstr(0,1)),colorwhite,linethick2;
狂龙出海(副图)
l2:=ma(c,3);
l3:=ma(c,60);
l4:=ma(c,120);
l5:=ma(c,40);
var1:=sum(winner(close)*100,10)/10-(sum(winner(close)*100,10)/20+10);
绿岛: stickline(var1>0,0,var1,10,0),colorgreen;
海水: stickline(var1<0,0,var1,10,0),colorblue;
狂龙出海: if(cross(l2,l3) and close<l4,15,0);
drawicon(狂龙出海,15,1);
var2:=close/l5*100<78;
var3:=close/l3*100<74;
var4:=high>(low*1.051);
var5:=var4 and count(var4,5)>1;
var6:=close/hhv(high,barscount(close>0))*100;
狂龙探底: if((ref(c,13)-close)/ref(c,13)*100*var3>15
and sum(vol/capital,13)*100<18 and vol/capital*100<2.5
and (ref(c,1)-close)/ref(c,1)*100<8 and var6<=50 and var5
and (var2 or var3),-15,0);
drawicon(filter(狂龙探底,6),-15,1);
drawtext(filter(狂龙探底,6),-13,'狂龙探底');
macd+kdj(副图)
rsv:=((close-llv(low,21))/(hhv(high,21)-llv(low,21))*200-100)/2;
k:sma(sma( rsv,3,1),3,1);
d:ma(ema(k,3),3);
j:=3*k-2*d,colorstick,linethick3;
stickline(j>0,j,0,3,0),colorlired,colorlimagenta;
stickline(j<0,j,0,3,0),colorliblue;
空头:(-(3*k-2*d)),colorgreen;
diff:=ema(close,13)-ema(close,26)*100;
dea:=ema(diff,3);
多头macd:(-3*(diff-dea)),linethick2,colorred;
stickline(多头macd>0,多头macd,0,1,0),colorred,linethick1;
stickline(多头macd<0,多头macd,0,1,0),color00ff00,linethick1;
短买:if((cross(k,d) and k<0 ),10,0),colorred,linethick0;
drawicon((cross(k,d) and k<0 ),k,1);
追击:if(cross(多头macd,空头),25,0),color00ffff,linethick2;
macd+kdj+rsi三合一(副图)
difif1:=(ema(close,12) - ema(close,26))*100/ema(close,26);
deaea1:=ema(difif1,9);
macd1:=2*(difif1-deaea1),stick;
macd2:=ema(macd1,3);
stickline(macd1>macd2 and macd1>0,0,macd1,3,0),colorred;
stickline(macd1>macd2 and macd1<0,0,macd1,3,0),colorgreen;
stickline(macd1<macd2,0,macd1,3,0),colorcbcbc0;
stickline(macd1>=0 or macd1<=0,0,0,50,1),colorwhite;
difif1,color33ff33,linethick2;
deaea1,coloryellow,linethick2;
macd:macd1,nodraw,colormagenta;
强:if(difif1>=deaea1,difif1,drawnull),colorred,linethick2;
弱:=if(deaea1>=difif1,deaea1,drawnull),colorff9900,linethick2;
drawicon(cross(difif1,deaea1),difif1+0.1,1);
drawicon(cross(deaea1,difif1),0.4,2);
a1:=barslast(ref(cross("macd.dif","macd.dea"),1));
b1:=ref(c,a1+1)>c and ref("macd.dif",a1+1)<"macd.dif" and cross("macd.dif","macd.dea");
drawtext(b1>0,-0.8,'macd底背'),colorff00ff;
a2:=barslast(ref(cross("kdj.k","kdj.d"),1));
b2:=ref(c,a2+1)>c and ref("kdj.k",a2+1)<"kdj.k" and cross("kdj.k","kdj.d");
drawtext(b2,-0.6,'kdj底离'),coloryellow;{kdj底背离};
a3:=barslast(ref(cross("rsi.rsi1","rsi.rsi2"),1));
b3:=ref(c,a3+1)>c and ref("rsi.rsi1",a3+1)<"rsi.rsi1" and cross("rsi.rsi1","rsi.rsi2");
drawtext(b3>0,-0.3,'rsi底离'),colorcyan;{rsi底背离};
c1:=barslast(ref(cross("macd.dea","macd.dif"),1));
d1:=ref(c,c1+1)<c and ref("macd.dif",c1+1)>"macd.dif" and cross("macd.dea","macd.dif");
drawtext(d1>0,0.4,'macd顶离'),colorblue;{macd顶背离}
c2:=barslast(ref(cross("kdj.d","kdj.k"),1));
d2:=ref(c,c2+1)<c and ref("kdj.k",c2+1)>"kdj.k" and cross("kdj.d","kdj.k");
drawtext(d2>0,0.6,'kdj顶离'),colorligray;{kdj顶背离}
c3:=barslast(ref(cross("rsi.rsi2","rsi.rsi1"),1));
d3:=ref(c,c3+1)<c and ref("rsi.rsi1",c3+1)>"rsi.rsi1" and cross("rsi.rsi2","rsi.rsi1");
drawtext(d3>0,0.8,'rsi顶离'),colorgreen;{rsi顶背离};
dd:=c=hhv(c,180);
ee:=deaea1< ref(deaea1,1) and ref(deaea1< ref(deaea1,1),1)=1;
cc:=c> ref(c,1) and ref(c> ref(c,1),1)=1;
上升背离:(cc and ee)*deaea1,color00ffff;
顶背离:(dd and ee and deaea1< hhv(deaea1,180))*deaea1,stick,linethick3,colorgreen;
ff:=c=llv(c,180);
gg:= deaea1> ref(deaea1,1) and ref(deaea1> ref(deaea1,1),1)=1;
ll:=c< ref(c,1) and ref(c< ref(c,1),1)=1;
下降背离:(ll and gg)*deaea1,colormagenta;
底背离:(ff and gg and deaea1> llv(deaea1,180))*deaea1,stick,linethick3,colorred;
macd和kdj买入(选股)
rsv:=((close-llv(low,21))/(hhv(high,21)-llv(low,21))*200-100)/2;
k:=sma(sma( rsv,3,1),3,1);
d:=ma(ema(k,3),3);
j:=3*k-2*d;
空头:=(-(3*k-2*d));
diff:=ema(close,13)-ema(close,26)*100;
dea:=ema(diff,3);
多头macd:=(-3*(diff-dea));
短买或追击:(cross(k,d) and k<0) or cross(多头macd,空头
上一指标公式:给庄家打分用量看真假涨跌的分时排序选股主副图指标下载 通达信涨跌用量
下一指标公式:品股MA源码主图指标下载 通达信贴图品股
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文财富阶梯组合选股主副图均可指标下载 通达信阶梯选股仅供学习研究。