实盘操作中,往往因为庄家的假突破跟进去被深深地套住。本着规避假突破被套的思路,编写了此指标公式。
在编写时可能用到论坛上某些老师的源码,在此深表感谢!
此指标的特点:(划线有未来,怕者莫用)
1、颜色通道的自动判断;
2、短线支撑和压力判断的自动划线;
3、薛斯通道背景和持股持币的辅助参考;
4、无量的反抽往往是下跌中继的陷阱;
在突破选股中,特别强调量能放大和趋势成立的选股思路。
mtm:=c-ref(c,1);
dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
yxf:=if(llv(dx,2)=llv(dx,7) and count(dx<0,2) and cross(dx,ma(dx,2)),1,0);
蓝:if(filter(yxf=1,5),20,0),colorliblue,linethick3;
红: if(filter(yxf=1,5),10,0),colorred,linethick2;
黄: if(filter(yxf=1,5),5,0),coloryellow,linethick1;
n:=13;
bc:=(h*0.382+l*0.618+o*0.382+c*0.618)/2;
lj:=if(indexc=c,bc,(bc+amount/(v*100))/2),colorgray;
ht:=ref((hhv(lj,n*0.691)+hhv(lj,n)+hhv(lj,n*1.309))/3,1),linethick,colorred;
lt:=ref((llv(lj,n*0.691)+llv(lj,n)+llv(lj,n*1.309))/3,1),linethick,colorgreen;
zt:=(ht+lt)/2,linethick,coloryellow;
stickline(islastbar=1 and lj<zt,ht,lt,n*8,0),colorblue;
stickline(islastbar=1 and lj=zt,ht,lt,n*8,0),colorgray;
stickline(islastbar=1 and lj>zt,ht,lt,n*8,1),colorwhite;
stickline(islastbar=1,zt,zt,n*8,0),colorwhite;
箱顶:ht,colorwhite,nodraw;
箱底:lt,colorwhite,nodraw;
箱中:zt,colorwhite,nodraw;
n2:=102;
m:=7;
aa:=ma((2*close+high+low)/4,5);
薛通a:aa*n2/100,colorwhite,dotline;
薛通b:aa*(200-n2)/100,colorwhite,dotline;
drawband(薛通a,rgb(120,80,60),薛通b,rgb(0,100,0));
drawkline(h,o,l,c);
bt11:=ma(c,1);
持币:sma(sma(sma(bt11,2,1),2,1),2,1),colorcyan,linethick2;
sma22:=ma(持币,3);
持股:if(持币>sma22,持币,drawnull),colormagenta,linethick2;
stickline(持币,c,o ,1,0 ),colorgreen;
stickline(c>持股,c,o ,1,0 ),colorred;
ma5:ma(close,5);
ma10:ma(close,10);
ma30:ma(close,30);
ma60:ma(close,60);
红轨道:=ma(ma(close,3),1),linethick1,coloryellow;
绿轨道:=ma(ma(close,3),3);
上升:if(红轨道>=绿轨道,绿轨道,drawnull),colorred,linethick3;
aa1:=3*sma((c-llv(l,9))/(hhv(h,9)-llv(l,9))*100,3,1)-2*sma(sma((c-llv(l,9))/(hhv(h,9)-llv(l,9))*100,3,1),3,1);
加仓:=if(cross(aa1,ref(aa1+0.01,1)) and llv(aa1,2)=llv(aa1,8) and
between(aa1,20,60),1,0);
波段底:=(3)*(sma(((close - llv(low,27))/(hhv(high,27)
- llv(low,27)))*(100),5,1)) -
(2)*(sma(sma(((close -
llv(low,27))/(hhv(high,27) - llv(low,27)))*(100),5,1),3,1));
drawicon(cross(波段底,3),l*0.97,1);
a:=(3*c+l+o+h)/6;
x:=(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;
mtm:=c-ref(c,1);
dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
cb:=ema(x,13);
卖:=if(hhv(dx,2)=hhv(dx,7) and count(dx>50,2) and cross(ma(dx,2),dx),1,0);
drawtext(filter(卖=1,1),high*1.02,''),colorwhite;
买:=if(llv(dx,2)=llv(dx,7) and count(dx<0,2) and cross(dx,ma(dx,2)),1,0);
drawtext(filter(买=1,5),low-0.03,''),colorred;
rsv:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
k:=sma(rsv,3,1);//www.chnmoney;com
d:=sma(k,3,1);
j:=3*k-2*d;
bdgd:=hhv(j,2)=hhv(j,8) and j>80;
注意:=if(cross(ref(j-0.01,1),j) and ref(bdgd,1),1,0);
drawtext(注意 and
卖!=1,high*1.02,''),colorliblue;
加仓a:=sma(ema((c-ref(c,1))/ref(c,1),5)*100,3,1)*10;
drawtext(filter((cross(加仓a,0) or cross(close,cb)) and
买!=1,3),low-0.03,''),color0080ff;
ma18:=ma(c,18);
跟:=if(ma18>=ref(ma18,3) and cross(close,ma18),1,0);
drawtext(ma18>=ref(ma18,3) and
cross(close,ma18),low*0.96,''),color7f52af;
买价:=((c-ref(ma5,1))/5+ma5)*1.004;
买条件:=cross(c,买价) and 买价>ref(买价,1);
白k线买进:if(买条件,l,h),colorwhite,pointdot;
stickline(买条件,h,l,0,1),colorwhite,linethick2;
stickline(买条件,o,c,4,1),colorwhite,linethick2;
加码价:=((c-ref(ma10,1))/20+ma10)*1.004;
加码条件:=cross(c,加码价) and
加码价>ref(加码价,1);
黄k线加码:if(加码条件,l,h),coloryellow,pointdot;
stickline(加码条件,h,l,0,1),coloryellow,linethick2;
stickline(加码条件,o,c,4,1),coloryellow,linethick2;
mtm:=c-ref(c,1);
dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
yxf:=if(llv(dx,2)=llv(dx,7) and count(dx<0,2) and cross(dx,ma(dx,2)),1,0);
蓝:if(filter(yxf=1,5),20,0),colorliblue,linethick3;
红: if(filter(yxf=1,5),10,0),colorred,linethick2;
黄: if(filter(yxf=1,5),5,0),coloryellow,linethick1;
var2:ma(c,5),colorred,linethick3;
上翘:if(var2>ref(var2,1),var2,drawnull),colorred,linethick3;
下拐:if(var2<ref(var2,1),var2,drawnull),colorgreen,linethick3;
diff:=ema(close,12)-ema(close,26);
dea:=ema(diff,9);
macd:=2*(diff-dea);
选股:cross(macd>0,0.5);
lc:=ref(close,1);
rsi5:=((sma(max((close - lc),0),5,1) / sma(abs((close - lc)),5,1)) * 100);
tr1:=sum(max(max((high - low),abs((high - ref(close,1)))),abs((low - ref(close,1)))),10);
hd:=(high - ref(high,1));
ld:=(ref(low,1) - low);
dmp:=sum(if(((hd > 0) and (hd > ld)),hd,0),10);
dmm:=sum(if(((ld > 0) and (ld > hd)),ld,0),10);
pdi:=((dmp * 100) / tr1);//www.chnmoney;com
mdi:=((dmm * 100) / tr1);
adx:=ma(((abs((mdi - pdi)) / (mdi + pdi)) * 100),5);
av:=(rsi5 + adx);
dxr:=(((adx + ref(adx,5)) / 2) + rsi5);
wr10:=((100 * (hhv(high,10) - close)) / (hhv(high,10) - llv(low,10)));
newvol:=(rsi5 - wr10);
阶段底部:=(av + newvol);
出击:cross(阶段底部,0);
dif3:=ema(close,12)-ema(close,26);
dea3:=ema(dif3,9);
macd3 := 2*(dif3-dea3);
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
止跌:macd3>ref(macd3,1) and ref(macd3,2)>=ref(macd3,1) and j<50 and c>ref(c,1) and c>o and j>ref(j,1);
上一指标公式:寻庄MACD指标公式详解 同花顺寻庄MACD
下一指标公式:轻松跟庄买卖指标公式详解 同花顺轻松
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文通道画线指标公式详解 同花顺通道仅供学习研究。