一、{多空对比—检测无误} 副图
短期:100*(c-llv(l,5))/(hhv(c,5)-llv(l,5)),colorwhite;
中期:100*(c-llv(l,10))/(hhv(c,10)-llv(l,10)),coloryellow;
中长期:100*(c-llv(l,20))/(hhv(c,20)-llv(l,20)),colormagenta;
长期:100*(c-llv(l,30))/(hhv(c,30)-llv(l,30)),colorred,linethick2;
强市线:80,pointdot;
弱市线:20,pointdot;
分水岭:50,pointdot;
多空对比四线归一选股公式:用于下跌中的抄底。
短期:=100*(c-llv(l,5))/(hhv(c,5)-llv(l,5));
中期:=100*(c-llv(l,10))/(hhv(c,10)-llv(l,10));
中长期:=100*(c-llv(l,20))/(hhv(c,20)-llv(l,20));
长期:=100*(c-llv(l,30))/(hhv(c,30)-llv(l,30));
xg1:短期<6 and 中期<6 and 中长期<6 and 长期<6;
多空对比单针下20选股公式:用于趋势向上股票的逢低买入(阴线买入)第二天逢低买入。
短期:=100*(c-llv(l,5))/(hhv(c,5)-llv(l,5));
中期:=100*(c-llv(l,10))/(hhv(c,10)-llv(l,10));
中长期:=100*(c-llv(l,20))/(hhv(c,20)-llv(l,20));
长期:=100*(c-llv(l,30))/(hhv(c,30)-llv(l,30));
xg1:短期<20 and 长期>60;
二、短线资金波动指标(经对比无误)副图
资金波动:ema(100*(c-llv(low,34))/(hhv(h,34)-llv(low,34)),3),pointdot,colorred,linethick4;
超强势:84,pointdot,colormagenta;
强势:60,pointdot,colorgreen;
弱市:35,pointdot,colorwhite;
用法:结合大盘,下跌后反弹,低点上移时,个股拉出大阳线后可否追高用。此指标刚进入超强,大阳线不可追高。在牛市中,低点不断上移,资金波动指标始终在80上下的强势区,这时拉出有大阳线可追高买进。
三、个股资金生命线 副图 无误
个股资金线:ma(c,1)/ma(ref(c,18),18)*100,linethick2,color00ffff;
资金生命线:ma(forcast(个股资金线,20),6),colormagenta,linethick2;
四、个股资金生命线 副图 无误
个股资金线:ma(c,1)/ma(ref(c,18),18)*100,linethick2,color00ffff;
资金生命线:ma(forcast(个股资金线,20),6),colormagenta,linethick2;
五、资金指数,副图:指标在上海股中(600开头的)使用准确无误,但在深证股(000开头或其它)中应用时,非主流资金一项有差别。我琢磨此指标是引用了大盘价的原因。在深圳股中原指标可能引用了深证成指,但一般软件没有这个函数可引用。一般情况下上证和深证基本一样,所以此指标可以使用。
{资金指数(副图指标)}
主流资金:ema(100*(c-llv(low,34))/(hhv(h,34)-llv(low,34)),3), colorred,linethick2;
非主流资金:ema(100*(indexc-llv(indexl,34))/(hhv(indexh,34)-llv(indexl,34)),3),colorgreen,linethick2;
20,pointdot,colorf00ff0;
50,pointdot,colorgreen;
80,pointdot,colorwhite;
指标说明:
该指标是软件的精华所在,可以清楚的看出一只股票中主力及散户的强弱关系。它由两条趋势线及三条水平线组成,紫色趋势线代表市场主流金,绿色趋势线代表非主流资金。指标有三条水平线,从上自下数值分别为80、50、20。80以上为超强区,20以下为超弱区,50为强弱分水岭(80—50为强势区,50—20为弱势区)。
使用方法:
当主流资金摆脱非主流资金上攻,且上穿50,表示主力在投入资金,股价上涨。当主流资金在80以上运行一段时间之后,向下穿越80,显示主力减仓股价可能走弱。
六、{波段赢家 主图 无误 }
获利了结:ema(ema(ema(high,5),5),5)*1.15,colorffffff,linethick1;
风险: ema(ema(ema(high,5),5),5)*1.1,coloryellow;
回档: ema(ema(ema(high,5),5),5)*1.05,color00ff00;
平衡: ema(ema(ema(high,5),5),5),colorff00ff,linethick1;
反弹: ema(ema(ema(high,5),5),5)*0.95,colorgray,linethick1;
超跌: ema(ema(ema(high,5),5),5)*0.9,colorblue,linethick1;
七、{机构能量线—检测无误}做空能量线: sma((hhv(high,36)-close)/(hhv(high,36)-llv(low,36))*100,2,1),colorgreen,linethick3;
做多能量线: sma((close-llv(low,9))/(hhv(high,9)-llv(low,9))*100,5,1)-8,colorred,linethick3;
20,pointdot,colorf00ff0;
50,pointdot,colorgreen;
80,pointdot,colorwhite;
八、{主力操盘轨迹,副图,与源码同,检测无误}
rsv:=(close-llv(low,7))/(hhv(high,7)-llv(low,7))*100;
y0:sma(rsv,3,1),colorred,linethick1;
y1:sma(y0,3,1),coloryellow,linethick1;
rsv1:=(close-llv(low,38))/(hhv(high,38)-llv(low,38))*100;
y2:sma(rsv1,5,1),colormagenta,linethick2;
y3:sma(y2,10,1),colorgreen,linethick2;
18,colorwhite;
85,colorblue;
stickline(y0>y1,y0,y1,6,0),colorred;
stickline(y0<=y1,y0,y1,6,0),coloryellow;
stickline(y2>y3,y2,y3,6,0),colormagenta;
stickline(y2<=y3,y2,y3,6,0),colorgreen;
九、顶底先知(此为大智慧l2用,无未来函数,若通达信软件可看后面的第十一个,其它软件若不能用可删除最后的五行)
cs:=(close-llv(low,8))/(hhv(high,8)-llv(low,8))*100;
yjd:(ema(cs,3)-50)*2;
极弱:-80;
强势:60;
风险:80;
弱势:-60;
yjd,colorstick;
今日保护价:(ref(c,1)+ref(c,2)+o)/3;
var1:=ref(close,1);
var2:=sma(max(close-var1,0),6,1)/sma(abs(close-var1),6,1)*100;
stickline(cross(75.9,var2),yjd+5,yjd-5,3,0),coloryellow;
drawtext(barstatus=2,78,'清仓'),colorred;
drawtext(barstatus=2,60,'减仓'),coloryellow;
drawtext(barstatus=2,0,'控盘'),colorwhite;
drawtext(barstatus=2,-60,'回补'),colorgreen;
drawtext(barstatus=2,-80,'吸筹'),colorblue;
此指标为研判大盘和个股阶段性高点和低点的短线指标。当这一指标值达到最上部两条水平线(紫线和黄线)时,短期回落的可能性极大;当它达到最底部两条水平线(绿线和蓝线)时,短期反弹的可能性极大。该指标通常与波段高手或波段赢家指标一同使用,效果极佳
可以选股,条件是yjd小于-80,可以用在各个周期。
可以帮助判断顶底,自己多打开股票分析顶底的判断使用方法,有的顶后再顶,丢掉了不少利润,区分不同位置使用,盘整的时候准确率很高,趋势的时候就要小心了,第一次拉升调整以后还会继续上攻。
十。动能运行轨迹(副图,无误):网上指标很多,但都与原版不同,此指标经我多次修改,三条线与赢在龙头数值完全一样,只是底线抄底(金元宝)信号少。完全精准可用。
rsv:=(((close - llv(low,36)) / (hhv(high,36) - llv(low,36))) * 100);
y0:sma(rsv,7,1);
y1:sma(sma(rsv,7,1),3,1);
y2:(((close/cost(13))<=0.8)*10),colormagenta;
y3:sma(y0,7,1),colorgreen;
drawicon(cross(18,y0) and y1<21,10,1);
drawtext(count(cross(y0,y1),4)>=1 and cross(y0,y3) and y3<70,y3,'追涨'),coloryellow;
drawtext(count(y1>y3,10)=10 and cross(y0,y3)and y3<65,50,'短抄');
超卖线:20,colorblue;
底线:80,colorgray;
顶部线:90,colorblue;
使用方法:
1、当三条线在低位(超卖线之下)金叉向上,并且多头排列向上发散时,表示股价向上反弹的动能充足;反之,当三条线在高位死叉向下,并且空头排列时,表示股价上涨动能不足,将要产生调整。
2、当股价严重超跌时,底部线还会有三角行突起提示您可以逢低吸纳。
3、并且可以利用背离方法来研判大盘顶底。
十一、顶底先知(通达信用,无未来函数,其它软件不能用的可删除最后五行),普及版中有此指标。
cs:=(close-llv(low,8))/(hhv(high,8)-llv(low,8))*100;
yjd: (ema(cs,3)-50)*2;
极弱:-80;
强势:60;
风险:80;
弱势:-60;
yjd,colorstick;
今日保护价:(ref(c,1)+ref(c,2)+o)/3;
var1:=ref(close,1);
var2:=sma(max(close-var1,0),6,1)/sma(abs(close-var1),6,1)*100;
stickline(cross(75.9,var2),yjd+5,yjd-5,3,0),coloryellow;
drawtext(currbarscount=6,78,'清仓'),colorred;
drawtext(currbarscount=6,60,'减仓'),coloryellow;
drawtext(currbarscount=6,0,'控盘'),colorwhite;
drawtext(currbarscount=6,-60,'回补'),colorgreen;
drawtext(currbarscount=6,-80,'吸筹'),colorblue;
此指标为研判大盘和个股阶段性高点和低点的短线指标。当这一指标值达到最上部两条水平线(紫线和黄线)时,短期回落的可能性极大;当它达到最底部两条水平线(绿线和蓝线)时,短期反弹的可能性极大。该指标通常与波段高手或波段赢家指标一同使用,效果极佳
十二、交易机器人 主图指标 验证无误
{交易机器人,主图,无误}
h1:ema(c,8);
h2:ema(h1,20);
var1:=(hhv(h,36)-c)/(hhv(h,36)-llv(l,36))*100;
var2:=sma(var1,5,1);
var3:=sma(var2,8,1);
var4:=cross(var2,var3) and var3< 20;
var5:=c>llv(c,60)*1.13 and var4;
var6:=if(c>200,var4,var5);
stickline(h1>h2,h1,h2,0,1),colorred;
stickline(h1< h2,h1,h2,0,1),colorgreen;
{dmi新编}
n:=21;m:=6;m1:=20;
tr1:=ema(max(max(high-low,abs(high-ref(close,1))),abs(ref(close,1)-low)),n);
hd :=high-ref(high,1);
ld :=ref(low,1)-low;
dmp:=ema(if(hd>0 and hd>ld,hd,0),n);
dmm:=ema(if(ld>0 and ld>hd,ld,0),n);
pdi:= dmp*100/tr1;
mdi:= dmm*100/tr1;
adx: ema((pdi-mdi)/(mdi+pdi)*100,m)*2;
adxr:ema(adx,m);
adma:ema(adx,m1);
omd:(adx-2*adma+adxr)/2, colorstick;
drawband(adx,rgb(155,50,50),adxr,rgb(0,100,50));
stickline(omd>ref(omd,1) and omd>0,0,omd,1,0),colorred;
stickline(omd>ref(omd,1) and omd<0,0,omd,1,0),colorgreen;
stickline(omd<ref(omd,1),0,omd,1,0),colorcbcbc0;
stickline(omd>=0 or omd<=0,0,0,50,1),colorwhite;
adx1:adx,colorred;
adxr1:adxr,colorgreen;
adma1:adma;
强:if(adx1>=adxr1,adx1,drawnull),colorred,linethick3;
买入:if(omd>0 and omd-ref(omd,1)>0,30,0);
{omd;}
110;
0;
-110;
≮短炒买卖奇准≯
var1:=((close-ma(close,6))/ma(close,6)*100+(close-ma(close,24))/ma(close,24)*100+(close-ma(close,32))/ma(close,32)*100)/3;
持币区域:var1,colorfedcba;
持股区域:if(var1>0,var1,0),colorred;
短顶:stickline(var1>9 and filter(var1<ref(var1,1),5),var1+2,0,3,0),colorgreen;
大顶:stickline(var1>20 and filter(var1<ref(var1,1),5),var1+5,0,7,0),color00ff00;
var2:=hhv(var1>20,10);
危险: stickline(var2 and cross((ref(high,1)+ref(low,1))/2,ma(close,20)+2*std(close,20)),var1+10,0,4,0);
注意止损:stickline(var2 and filter(var1< ref(var1,1),6)
and cross(ma(close,5),ma(close,2)),var1+6,0,3,0);
短底:stickline(var1<-9 and var1> ref(var1,1),var1-2,0,3,0),colorred;
大底:stickline(var1<-20 and filter(var1> ref(var1,1),5),var1-5,0,7,0),coloryellow;
买入准备:var1<-9 and var1>ref(var1,1),colorwhite;
drawtext(var1>9 and filter(var1<ref(var1,1),5),var1+2,'短顶'),color00ff00;
drawtext(var1>20 and filter(var1<ref(var1,1),5),var1+5,'大顶'),colorffff00;
drawtext(var2 and cross((ref(high,1)+ref(low,1))/2,ma(close,20)+2*std(close,20)),var1+10,'危险'),color00ffff;
drawtext(var2 and filter(var1< ref(var1,1),6) and cross(ma(close,5),ma(close,2)),var1+6,'注意止损'),colorff00ff;
drawtext(filter(var1<-9 and var1>ref(var1,1),18),var1-2,'短底'),,color0000ff;
drawtext(var1<-20 and filter(var1> ref(var1,1),5),var1-5,'大底'),;
drawtext(filter(var1<-9 and var1>ref(var1,1),18),1,'买入准备');
【绝对主胜 出现信号大牛来临】
清仓:=1.66*ma(forcast(close,2),40),colorred;
出货:=1.36*ma(forcast(close,2),40),color08ffff;
高抛:=1.16*ma(forcast(close,2),40),colorff82ff;
低吸:=0.82*ma(forcast(close,2),40),colorf7e300;
满仓:=0.72*ma(forcast(close,2),40),colorgreen;
强通1:=清仓>ref(清仓,1),;
强通2:=出货>ref(出货,1),;
强通3:=高抛>ref(高抛,1),;
强通4:=低吸>ref(低吸,1),;
强通5:=满仓>ref(满仓,1),;
上升通道:=强通1 and 强通2 and 强通3 and 强通4 and 强通5,;
ma5:=ma(close,5);
ma10:=ma(close,10),;
ma20:=ma(close,20);
ma30:=ma(close,30);
ma60:=ma(close,60);
五强:=ma5>ref(ma5,1),;
十强:=ma10>ref(ma10,1),;
二十强:=ma20>ref(ma20,1),;
三十强:=ma30>ref(ma30,1),;
六十强:=ma60>ref(ma60,1),;
小均强:=五强 and 十强,;
均强:=十强 and 二十强 and 三十强,;
大均强:=十强 and 二十强 and 三十强 and 六十强,;
jjd:=(h+l+c)/3;
强势线1:=hhv(ma((((low + high) + close) / 3),8),60),colorred,linethick2;
强势线2:=hhv(ma((((low + high) + close) / 3.18),8),20),colorwhite,linethick2;
强势线3:=hhv(ma((((low + high) + close) / 3.258),8),10),coloryellow,linethick2;
强势线4:=hhv(ma((((low + high) + close) / 3.08),80),13),colorlimagenta,linethick2;
开始走强1:=强势线1>ref(强势线1,1),;
开始走强2:=强势线2>ref(强势线2,1),;
开始走强3:=强势线3>ref(强势线3,1),;
开始走强4:=强势线4>ref(强势线3,1),;
双强1:=开始走强1 and 开始走强2,;
双强2:=开始走强2 and 开始走强3,;
双强3:=开始走强2 and 开始走强3,;
双强4:=开始走强3 and 开始走强4,;
三强:=开始走强1 and 开始走强2 and 开始走强3,;
四强:=开始走强1 and 开始走强2 and 开始走强3 and 开始走强4,;
强势为王:=双强1 or 双强2 or 双强3 or 双强4 or 三强 or 四强,;
vv:=(c+l+h)/3;
dsa:=sma(xma(vv,15),2,1)linethick3;
顶部1:=dsa*1.0888,colormagenta,linethick1;
顶部2:=dsa*1.158,colorbrown,linethick1;
顶部3:=dsa*1.218,colorred,linethick1;
底部1:=dsa*0.9518,colorlicyan,linethick1;
底部2:=dsa*0.888,colorlimagenta,linethick1;
底部3:=dsa*0.8,colorgreen,linethick1;
ma1:=ma(close,5);
ma2:=ma(close,10);
ma3:=ma(close,20);
ma4:=ma(close,60);
五日走强:=ma1>ref(ma1,1),;
十日走强:=ma2>ref(ma2,1),;
二十日走强:=ma3>ref(ma3,1),;
六十日走强:=ma4>ref(ma4,1),;
低位主升:=五日走强 and 十日走强 and 六十日走强,;
主升浪:=五日走强 and 十日走强 and 二十日走强,;
大主升浪:=十日走强 and 二十日走强 and 六十日走强,;
大主升浪2:=五日走强 and 十日走强 and 二十日走强 and 六十日走强,;
总主升:=主升浪 and 大主升浪 and 大主升浪2,;
总主升浪:=低位主升 or 主升浪 or 大主升浪 or 大主升浪2 or 总主升,;
强势主升低买:l<底部1 and 总主升浪 and 强势为王 and c<dsa,coloryellow,linethick2;
猎股小王:l<底部1 and c<dsa and 强势为王,colormagenta,linethick2,linestick;
drawicon(猎股小王>0,1.1,1);
猎股大王出击:=强势主升低买 and 猎股小王 and h<dsa,colorred,;;
a:=ma(c,30);
a1:=a*1.1;
a4:=a*0.9;
a2:=a1-(a1-a4)*0.191;
持仓:=if(high*1.01>a2 or ref(high,1)>ref(a2,1),a1,a4),linethick3,colorred;
生命线:=if(high*1.01>a2 or ref(high,1)>ref(a2,1),a2,a4),linethick3,colorffffff;
主升持仓:=持仓>生命线,;
主升1:=持仓>ref(持仓,1),;
主升2:=生命线>ref(生命线,1),;
主升:=主升1 and 主升2,;
主升猎股王:=(猎股大王出击 and 主升持仓 and 主升) or (猎股小王 and 主升持仓 and 主升),;
绝对的主升:(主升猎股王 and 小均强) or (猎股小王 and 小均强),coloryellow,linethick4,stick;
drawicon(绝对的主升>0,1.1,1);
drawicon(绝对的主升>0,1.1,1);
drawicon(绝对的主升>0,0.6,9);
drawicon(绝对的主升>0,0.3,9);
【超级波段王(通达信)强大的副图指标加上的超级波段王】
var1:=(close+high+low+open)/4;
var2:=sumbars(vol,capital);
var3:=hhv(var1,var2);
var4:=llv(var1,var2);
var5:=(2*var1-var4-ref(var4,1))/(var3-var4);
var6:=(var1-var4)/(var3-var4);
var7:=if(var1<=var4,var5*60,var6*60);
var8:=600*(ema(close,3)-ema(low,30))/ema(low,30);
var9:=ema(var8,7);
vara:=(winner(120*close/100)-winner(100*close/100))*100;
varb:=(-100)*(winner(120*close/100)-winner(100*close/100))+5;
varc:=hhv(high,9)-llv(low,9);
vard:=hhv(high,9)-close;
vare:=close-llv(low,9);
varf:=vard/varc*100-70;
var10:=(close-llv(low,60))/(hhv(high,60)-llv(low,60))*100;
var11:=(2*close+high+low)/4;
var12:=sma(vare/varc*100,3,1);
var13:=llv(low,34);
var14:=sma(var12,3,1)-sma(varf,9,1);
var15:=if(var14>100,var14-100,0);
var16:=hhv(high,34);
var17:=ema((var11-var13)/(var16-var13)*100,8);
var18:=ema(var17,5);
stickline(var17-var18>0,var17,var18,8,1),colorred ;
stickline(var17-var18<0,var17,var18,8,1),colorgreen ;
q1:=(close-ref(close, 1))/ref(close, 1)*100;
q2:=(close-llv(low, 18))/(hhv(high, 18)-llv(low, 18))*100;
q3:=sma(q2, 9, 1);
q4:=sma(q3, 3, 1);
aa:3*q3-2*q4 ,coloryellow;
q5:=aa>1*ref(aa, 1);
q6:=llvbars(low, 50);
q7:=sum(vol, q6);
q8:=hhvbars(high, 50);
q9:=sum(vol, q8);
q10:=(close-ref(open, q8))/ref(open, q8)*100;
q11:=hhv(aa,5);
a1:ema(q3, 3) , colorffddcc;
a2:ema(a1, 3) , colorffbbcc;
a3:ema(a2, 3) , colorff99cc;
a4:ema(a3, 3) , colorff55cc;
a5:ema(a4, 3) , colorff33cc;
a6:ema(a5, 3) , colorff11cc;
a:ema(a4, 3), colorff00cc;
drawtext(cross(aa, 20) and q10<-13,10,'☆大底'), color00ff00;
drawtext(cross(aa, a5) and ref(aa,1)<34,ref(aa,1),'☆发财了'), colorred ;
drawtext(cross(a1, aa) and ref(aa,1)>80, ref(aa,3), '☆闪人'), colorcfb53b ;
drawtext(cross(aa, a1) and q5 and a1<20 and q1>9 or a1>1*ref(a1, 1)
and q1>4 and a1<60, 30, '拉'), colorffffcc;
【精心收集的几个选股公式(源码)】
精心收集的几个选股公式源码如下:
{领头羊选股}
白色:=sma(high,21,2)*1.05,;
黄色:=sma(low,21,2)*0.95;
粉色:=sma(low,5,1);
绿色:=sma(close,2,1),;
波段买入:=if(cross(绿色,粉色),白色*1.05,粉色);
领头羊:=if(cross(绿色,白色),白色*1.10,黄色);
领头羊>黄色 or 波段买入>粉色
{ 绿线上穿紫线时,可作波段买入,绿线上穿白线时很可能是大牛股。
可作为预警选股公式}
{结合寻找领头羊指标使用};
{天堂星踏金浪1 选股}
varc:=(2*close+high+low)/4;
vard:=llv(low,34);
vare:=hhv(high,34);
varf:=llv(low,13);
var10:=hhv(high,13);
var11:=ema((varc-varf)/(var10-vard)*100,5);
var12:=ema((varc-vard)/(vare-vard)*100,8);
金浪:= var11;
aa:=ema(var11,7);
海浪:= var12;
if(cross(金浪,aa) and aa<=25 ,1,0);
--------------------------------------------------------------------------------
{黑马绝技选股}
ema13:=ema(c,13);
ema30:=ema(c,30);
ema60:=ema(c,60);
ema90:=ema(c,90);
ema120:=ema(c,120);
ema250:=ema(c,250);
f1:=ema30-ema60<130/1000 and ema30-ema90<230/1000 and ema30-ema120<330/1000;
f2:=ema60-ema30<130/1000 and ema60-ema90<230/1000 and ema60-ema120<330/1000;
f3:=ema90-ema30<130/1000 and ema90-ema60<230/1000 and ema90-ema120<330/1000;
f4:=ema120-ema30<130/1000 and ema120-ema60<230/1000 and ema120-ema90<330/1000;
f5:=ema30-ema60<100/1000 and ema30-ema90<200/1000;
ff1:=f1 and f2 and f3 and f4 and cross(ema30,ema60);
ff2:=f1 and f2 and f3 and f4 and cross(ema(c,13),ema30);
ff3:=f5 and c>ema250 and cross(ema30,ema60);
g1:=ema60-ema90<220/1000 and ema60-ema120<320/1000 and ema60-ema250<420/1000;
g2:=ema90-ema30<220/1000 and ema90-ema60<320/1000 and ema90-ema250<420/1000;
g3:=ema120-ema60<220/1000 and ema120-ema90<320/1000 and ema120-ema250<420/1000;
g4:=ema250-ema60<220/1000 and ema250-ema90<320/1000 and ema250-ema120<420/1000;
gg1:=g1 and g2 and g3 and g4 and cross(ema13,ema30);
gg2:=g1 and g2 and g3 and g4 and cross(ema30,ema60);
ff1 or ff2 or ff3 or gg1 or gg2;
--------------------------------------------------------------------------------
{黑马起步选股 }
a1:=vol=hhv(vol,120);
a2:=close/open>1.05;
tj:=a1 and a2;
tj and (ref(barslast(tj),1)>80 or barssince(tj)=0);
--------------------------------------------------------------------------------
{底背离 选股}
diff:=ema(close,12) - ema(close,26);
dea:=ema(diff,9);
a1:=barslast(ref(cross(diff,dea),1));
b1:=ref(c,a1+1)>c and ref(diff,a1+1)<diff and cross(diff,dea);
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));
底背离:b1>0 or b2>0 or b3>0;
{集成了macd、kdj、rsi三个指标的底背离};
--------------------------------------------------------------------------------
{蓄势待发 选股}
v0:=ema(c,5);
ema10:=ema(c,10);
ema20:=ema(c,20);
ema30:=ema(c,30);
ema60:=ema(c,60);
m1:=1000*ema10/ema60<=1015 and 1000*ema10/ema60>=975;
m2:=1000*ema20/ema60<=1020 and 1000*ema20/ema60>=980;
m3:=1000*ema30/ema60<=1015 and 1000*ema30/ema60>=985;
m4:=m1 and m2 and m3 and cross(v0,ema10);
m5:=m1 and m2 and m3 and cross(v0,ema30);
t1:=1000*ema10/ema30<=1010 and 1000*ema10/ema30>=990;
t2:=1000*ema20/ema30<=1010 and 1000*ema20/ema30>=990;
t3:=t1 and t2 and cross(v0,ema10);
t4:=t1 and t2 and cross(v0,ema30);
m4 or m5 or t3 or t4;
--------------------------------------------------------------------------------
{突破指标 选股}
{一是突破盘整;二是突破前高;三是突破平台}
w1:=c=hhv(c,20);
w2:=barslast(w1);
w3:=if(w2>0,ref(c,w2),ref(c,w2));
w4:=cross(c,ref(w3,1));
w4 and count(w4,5)=1;
--------------------------------------------------------------------------------
{四线粘合 选股}
v0:=ema(c,5);
v1:=ema(c,10);
v2:=ema(c,15);
v3:=ema(c,30);
v4:=ema(c,60);
m1:=1000*v1/v4<=1015 and 1000*v1/v4>=975;
m2:=1000*v2/v4<=1020 and 1000*v2/v4>=980;
m3:=1000*v3/v4<=1015 and 1000*v3/v4>=985;
m4:=m1 and m2 and m3 and cross(v0,v1);
m5:=m1 and m2 and m3 and cross(v0,v3);
m4 or m5;
--------------------------------------------------------------------------------
{拉升在即 选股}
abv:=ma(sum(if(close>ref(close,1),vol,if(close<ref(close,1),-vol,0)),0)/25000,2);
m1:=ema(abv,12);
m2:=ema(abv,26);
mtm:=close-ref(close,1);
mms:=((100)*(ema(ema(mtm,6),6)))/(ema(ema(abs(mtm),6),6));
mmm:=((100)*(ema(ema(mtm,12),12)))/(ema(ema(abs(mtm),12),12));
mml:=((100)*(ema(ema(mtm,26),26)))/(ema(ema(abs(mtm),26),26));
a:=((vol)/(capital))*(100);
s:=((ma(a,30))/(ma(indexa,10)))*(ma(indexa,60));
y:=((ma(a,120))/(ma(indexa,10)))*(ma(indexa,60));
x:=1;
拉升在即:s<x and y<x and mms>mml and abv>m1 and cross(s,y);
--------------------------------------------------------------------------------
{前导选股涨 }
nn1:=if(lfm.n<1,1,lfm.n);
m1:=if(nn1>30,30,nn1);
mm1:=if(lfm.m>60,60,lfm.m);
m2:=if(mm1>m1,mm1,(m1+1));
lfmtmp:=2*ref(close,m1)-ref(close,m2);
qdbtmp1:=(2*sum(close,m1)+sum(close,(m2-m1))-sum(close,m2))/m1;
qdbtmp2:=(2*sum(close,m2)+sum(close,(m2-m1))-sum(close,(2*m2-m1)))/m2;
qdbtmp:=qdbtmp1-qdbtmp2;
tmp1:=(lfmtmp<low);
tmp2:=((lfmtmp>=low)and(lfmtmp<=high));
tmp3:=barslast(tmp2);
tmp4:=ref(tmp3,1);
tmp5:=(lfmtmp<ref(lfmtmp,(tmp4+1)));
tmp6:=((2*ref(close,1)-ref(close,(m2-m1+1)))<(2*close-ref(close,(m2-m1))));
tmp7:=((qdbtmp>ref(qdbtmp,1))and(ref(qdbtmp,1)<ref(qdbtmp,2)));
tmp8:=((2*ref(close,1)-ref(close,(m2-m1+1)))<=(2*close-ref(close,(m2-m1))));
tmp9:=(open<close);
前导选股:((tmp1)and(tmp8)and(tmp9))or((tmp2)and(tmp5)and(tmp6)and(tmp7)and(tmp9));
--------------------------------------------------------------------------------
{前导选股跌}
nn1:=if(lfm.n<1,1,lfm.n);
m1:=if(nn1>30,30,nn1);
mm1:=if(lfm.m>60,60,lfm.m);
m2:=if(mm1>m1,mm1,(m1+1));
lfmtmp:=2*ref(close,m1)-ref(close,m2);
qdbtmp1:=(2*sum(close,m1)+sum(close,(m2-m1))-sum(close,m2))/m1;
qdbtmp2:=(2*sum(close,m2)+sum(close,(m2-m1))-sum(close,(2*m2-m1)))/m2;
qdbtmp:=qdbtmp1-qdbtmp2;
tmp1:=(lfmtmp>high);
tmp2:=((lfmtmp>=low)and(lfmtmp<=high));
tmp3:=barslast(tmp2);
tmp4:=ref(tmp3,1);
tmp5:=(lfmtmp>ref(lfmtmp,(tmp4+1)));
tmp6:=((2*ref(close,1)-ref(close,(m2-m1+1)))>(2*close-ref(close,(m2-m1))));
tmp7:=((qdbtmp<ref(qdbtmp,1))and(ref(qdbtmp,1)<ref(qdbtmp,2)));
tmp8:=((2*ref(close,1)-ref(close,(m2-m1+1)))>=(2*close-ref(close,(m2-m1))));
tmp9:=(open>close);
前导选股:((tmp1)and(tmp8)and(tmp9))or((tmp2)and(tmp5)and(tmp6)and(tmp7)and(tmp9));
--------------------------------------------------------------------------------
{利多方舟b选股}
{var1:=(100 - ((90 * (hhv(high,21) - close)) / (hhv(high,21) - llv(low,21))));}
var2:=(100 - ((90 * (hhv(high,21) - close)) / (hhv(high,21) - llv(low,21))));
var3:=(100 - ma(((100 * (hhv(high,6) - close)) / (hhv(high,6) - llv(low,6))),34));
{drawicon(cross(var2,ma(var3,6)),(low * 0.998),8);
drawicon(cross(ma(var3,6),var1),(high * 1.013),9);}
cross(var2,ma(var3,6)){,(low * 0.984),'b '),color4440ff};
【中短线买卖付图指标】
r1:=(close-llv(low,90))/(hhv(high,90)-llv(low,90))*200;
r2:=ema((close-(llv(low,5)))/((hhv(high,5))-(llv(low,5)))*100,4)*2;
r3:=ema(0.618*ref(r2,1)+0.382*r2,2);
r4:=pow(ma(close,5),2)+ma(close,5);
r5:=pow(ma(low,5),2)+ma(low,5);
r6:=pow(ma(high,5),2)+ma(high,5);
r7:=(r4-llv(r5,64))/(hhv(r6,64)-llv(r5,64))*150+65-10;
r8:=sma((sma(r7,3,1)*1.5-100),3,1);
r9:=3*(sma(r7,3,1)*1.5-100)-2*r8;
r10:=(high+low+close*2)/4;
r11:=(r10-(ema(r10,13)))*100/(std(r10,13));
r12:=ema((ema(r11,5)),13)+200-100;
r13:=(sma(r1,3,1))+r2+(sma(r7,3,1)*1.5-100)+r12;
r14:=(sma((sma(r1,3,1)),3,1))+r3+r8+(ema(r12,10));
r15:=(3*(sma(r1,3,1))-2*(sma((sma(r1,3,1)),3,1)))+(3*r12-2*(ema(r12,10)))+
r9+(3*r12-2*(ema(r12,10)));
r16:=(high+low+close)/3;
r17:=(r16-ma(r16,34))/(0.015*avedev(r16,34));
r18:=(high+low+close+r16)/4;
r19:=(r18-(ema(r18,24)))/(std(r18,24))*100;
r20:=(r16-ma(r16,24))/(0.015*avedev(r16,24));
r21:=(((ema(r19,5))+r20+r17)/3+165)/4;
r22:=(r13+r14+r15*30)/32/5-15;
a1:=ema(ema(close,13),13);
a2:=(a1-ref(a1,1))/ref(a1,1)*6400;
a3:=100*winner(close*0.95);
买卖: ema(((r21+r22)/2/1.1),1),colorred,linethick2;
确认:ma(买卖,3),colorwhite,linethick2;
ar1:=ema(open,7);
ar2:=ema(ar1,21);
ar3:=cross(ar1,ar2);
ar5:=ema(sma((close-llv(low,20))/(hhv(high,16)-llv(low,20))*100,8,1),3);
短买:if(troughbars(1,6,1)=0 and high>low+0,50,20),colorliblue;
短卖:if(peakbars(2,9,1)=1,50,80),colormagenta;
中买 : if(troughbars(3,18,1)=0 and high>low+0.1,20,0),colorlimagenta,linethick2;
中卖: if(peakbars(2,15,1)=0,80,100),colorred;
全买: (zig(3,35)>ref(zig(3,35),1) and ref(zig(3,35),1)<ref(zig(3,35),2))
*90,stick,colorred,linethick3;
全卖: (zig(3,35)<ref(zig(3,35),1) and ref(zig(3,35),1)>ref(zig(3,35),2))
*90,stick,colorgreen,linethick3;
中线:50,colorwhite;
【月周日kdj-副图】
月k:="kdj.k#month",color0080ff;
月d:="kdj.d#month",color0080ff,linethick2;
周k:="kdj.k#week"colorred;
周d:="kdj.d#week",colorred,linethick2;
日k:="kd.k",colorwhite;
日d:="kd.d",colorwhite,linethick2;
日金叉:if(cross(日k,日d),20,0),colorwhite;
周金叉:if(cross(周k,周d),40,0),colorred;
月金叉:if(cross(月k,月d),60,0),color0080ff;
drawicon(周金叉 and 日金叉,5,15);
drawicon(周金叉 and 月金叉,8,11);
drawicon(日金叉 and 月金叉,13,17);
上一指标公式:KDJ精典--天下无敌副图指标下载 通达信精典指标
下一指标公式:波段大趋势主图主图指标下载 通达信公式源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文赢在龙头决策所有新供大家参考指标下载 通达信决策指标仅供学习研究。