话不多说,简单指标,红买绿卖,结合股价位置,方便判断趋势,指标不是原创,是我组合而成,大多数都是来自本论坛,现在分享给大家,源码导入,名字可以自取,我叫他,人工智能。
var1:=(c-ema(c,7))/ema(c,7);
var2:=ema(ema(var1,3),3);
var3:=ema(ema(var1,3),2);
var4:=100*( var2+ var3);
var5:=ema(var4,2.5);
bi:=100*(h+l)/2/ema(c,17)-100;
buy1:=var4>ref(var4,1) and ref(var4,1)<ref(var4,2) and ref(var4,2)<ref(var4,3);
buy2:=ref(bi,1)>0 and buy1 and var4<-2;
buy3:=ref(bi,1)<0 and buy1 and ref(var4,1)<-3;
buy4:=var4<0 and cross(var4,var5) and buy1;
buy:=(buy2 or buy3 or buy4) and (ema(indexc,5)>ref(ema(indexc,5),1) orvar4>=ref(var4,1));
drawicon(buy,-130,14);
200;
-200;
100;
主力:ema( (close-ma(close,7))/ma(close,7)*480,2)*5,colorgreen,linethick9;
if(主力>=ref(主力,1),主力,drawnull),colorred,linethick9;
if(主力<=ref(主力,1),主力,drawnull),colorgreen,linethick9;
bb:=vol/((high-low)*2-abs(close-open));
主动买:=if(close>open,bb*(high-low),if(close<open,bb*((high-open)+(close-low)),vol/2));
主买:主动买/10000,colorred,linethick0;
主动卖:=if(close>open,0-bb*((high-close)+(open-low)),if(close<open,0-bb*(high-low),0-vol/2));
主卖:-主动卖/10000,colorgreen,linethick0;
参与度:主买/(主买+主卖),linethick0;
单日换手:=100*v/capital,linethick0;
十日换手:sum(单日换手,10),linethick0;
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,10);
stickline(((cross(bias,乖离)and 乖离<-3)),80,98,2,0),colorred;
drawtext((cross(bias,乖离)and 乖离<-3),130,'变盘'),colorwhite;
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
顶部:=cross(80,rsi)*35;
逃顶:=顶部;
顶:=if(逃顶>ref(逃顶,1),35,0);
drawtext(顶=35,170,'逃顶'),color00ff00;
stickline(顶部,90,0,1,0),colorgreen;
volume:=vol;
主力启动线:=ma(volume,5);
主力洗盘线:=ma(volume,35);
资金异动线:=ma(volume,135);
诱多:stickline(cross(主力启动线,资金异动线) or ((主力洗盘线 > 资金异动线) and cross(主力启动线,主力洗盘线)),100,-3,0.5,0),colorffff00;
drawtext(诱多,130,'骗钱'),colorffff00;
varr1:=sma(max(close-ref(c,1),0),6,1)/sma(abs(close-ref(c,1)),6,1)*100;
{drawicon(cross(82,varr1),180,15); }
drawtext(cross(82,varr1),150,'逃'),coloryellow;
biasw:=(close-ma(close,10))/ma(close,10)*10;
狗:=(ref(downnday(close,3),1) and c>ref(c,1) and biasw>=ref(biasw,1));
drawtext(狗,160,'金牛'),coloryellow;
stickline(狗,100,-5,0.5,0),coloryellow;
man:=ma(c,3);ma10:=ma(c,10);ma20:=ma(c,20);ma30:=ma(c,30);ma60:=ma(c,60);
d1:=(man-ma10)/min(man,ma10);
d2:=(man-ma20)/min(man,ma20);
d3:=(man-ma30)/min(man,ma30);
d5:=(ma20-ma10)/min(ma20,ma10);
d6:=(ma30-ma10)/min(ma30,ma10);
d8:=(ma20-ma30)/min(ma20,ma30);
db:=ma(min(min(min(d1,d2),min(d3,d5)),min(d6,d8))*100,2);
gj:=(2*c+h+l)/4;
底:=db<-10 and gj<ma30 and ref(db,1)<min(ref(db,2),db);
drawtext(底 and count(底,barslast(not(db<-10 and gj<ma30)))=1,160,'抄底'),colormagenta;
dif:=ema(close,7)-ema(close,26);
dea:=ema(dif,3);
drawicon(cross(dif,dea),100,9);
tj1:=count((c<o),5)>=3;
tj2:=(min(c,o)-l)/(h-l)>=0.5;
tj3:=l/min(c,o)<=0.97;
tj4:=(c-ma(c,30))/ma(c,30)*100<-10;
长下影买:=tj1 and tj2 and tj3 and tj4;
stickline(长下影买,-150,0,0.3,0),colorff00ff;
drawtext(长下影买>0,-80,'长下影买'),colorf8ffff;
弱转强:=cross(cci,-200) and cci>ref(cci,1);
stickline(弱转强,80,90,2,0),colorwhite;
drawtext(弱转强,110,'出击'),coloryellow;
diff:=ema(dclose,12)-ema(dclose,26);
deap:=ema(diff,9),colorffff00;
macd:=(diff-deap)*2;
a1:=barslast(ref(cross(diff,deap),1));
ar1:=ref(close,1);
ar2:=sma(max(close-ar1,0),7,1)/sma(abs(close-ar1),7,1)*100;
特准:stickline(filter(ref(ar2,1)<20 and ar2>ref(ar2,1),5),60,0,2,0),color0066ff;
drawtext(特准,35,'←绝杀'),colorwhite;
增减力度:=(ma(close,34.000) - close) / ma(close, 34.000) * 10.000;
stickline(cross( 1.700,增减力度), 75,30, 1,0),colorwhite;
drawtext(cross( 1.700,增减力度), 100,'底'),colorwhite;
stickline(filter(cross(0.019100,增减力度),21),120,50, 1,0),colorffff00;
drawtext(filter(cross(0.019100,增减力度),21), 150,'小心'),colorgreen;
rsi1:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
bt1:=cross(rsi1,25);
stickline(bt1,30,50,3,0),colorff00ff;
drawtext(bt1,75,'反弹'),coloryellow;
短线获利:stickline(ref("kdj.j",1)<0 and "kdj.j">0,80,-50,0.3,0),color0000ff;
drawtext(ref("kdj.j",1)<0 and "kdj.j">0,50,'短买'),colorwhite;
aa:=ema(c,5)-ema(c,13);
bbp:=ema(aa,3);
x:=aa>ref(aa,1); y:=ref(aa,3)>=ref(aa,2);z:=ref(aa,2)>=ref(aa,1);z1:=aa<bbp;
注意:=x and y and z and z1 ;
drawtext(注意,1,'启动!'),coloryellow;
drawicon(注意,10,1);
osc:=100*(close-ma(close,20));
maosc:=expmema(osc,6);
biaswp:=(close-ma(close,20))/ma(close,20)*100;
biasma:=ma(biaswp,6);
f:=100*(c-ref(c,1))/ref(c,1);
p1:=if(c<ref(o,1) and f<0,1,0);
p2:=if(c<ref(o,2) and f<0,1,0);
lin:=if(p1=0 and ref(p1,1)=1 and p2=0 and ref(p2,1)=1,1,0);
drawicon(lin,120,5);
ss1:=cross(osc,maosc) and lin;
drawtext(ss1,-45,'<=抢反弹'),colorffff22;
stickline(ss1,-70,0,1,1),color00ffff;
ss:=cross(osc,maosc) and cross(biaswp,biasma) and lin;
drawtext(ss,-100,'<=激进淘金'),colorff00ff;
stickline(ss,-150,0,0.3,0),colorred;
a2:=barslast(ref(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)),1));
b2:=ref(c,a2+1)>c and ref("kdj.k"(9,3,3),a2+1)<"kdj.k"(9,3,3) and cross("kdj.k"(9,3,3),"kdj.d"(9,3,3));
a3:=barslast(ref(cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24)),1));
b3:=ref(c,a3+1)>c and ref("rsi.rsi1"(6,12,24),a3+1)<"rsi.rsi1"(6,12,24) and cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24));
stickline(b2>0,-100,-80,2,0),colorff00ff;
drawtext(b2>0,-80,'←启动'),coloryellow;
stickline(b3>0,-80,-60,2,0),coloryellow;
drawtext(b3>0,-60,'←走强'),coloryellow;
fl:=v>ref(v,1) or v>ma(v,5);
sz:=(cross(c,ma(c,3)) or cross(c,ma(c,5))) and c>=o;
放量上涨:=if(fl and sz,1,0);
stickline(放量上涨,-40,-20,2,0),color00ffff;
drawtext(放量上涨,-25,'<=放量上涨'),colorff00ff;
x1:=ema(c,3);xx1:=ema(indexc,3);
x2:=ref(x1,1);xx2:=ref(xx1,1);
x3:=ema(c,7);
x4:=ref(x3,1);
x5:=ema(c,25);
x6:=ref(x5,1);
三日斜率:=ema(ema(((x1-x2)/x2*100)*10,1),1);
大盘:=ema(ema(((xx1-xx2)/xx2*100)*10,3),3);
a:=every(ref(大盘,0)<ref(大盘,1),4) and ref(三日斜率,1)<ref(三日斜率,2) and 三日斜率>ref(三日斜率,1);
drawicon(a,-50,23);
上一指标公式:防套绝技安全线主图指标下载 通达信绝技
下一指标公式:安全轨迹看涨线副图附图指标下载 通达信轨迹源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文简单买卖趋势判断-人工智能自用组合指标下载 通达信自用公式仅供学习研究。