{公式名称: 短线主图
用法注释:
1、金色k线、黄托底:买入信号;
2、蓝压顶为卖出信号——空心蓝方压顶为上升趋势中的高抛减仓信号,实心蓝方顶伴随中大阴线有效跌破多空线,多为波段下跌清仓卖出信号。股价跌破多空线反抽不过多空线或二次跌破一般是最后的波段卖出点。
3、多空线转红向上为上升趋势,转绿向下为下跌趋势。好公式网整理
公式源码:}
m:=7;
黄底黄k买:0,nodraw,coloryellow;
蓝顶减仓卖:0,nodraw,colorff9900;
多空线红升绿跌:0,nodraw,colorred;
v1:=abs((2*close+high+low)/4-ma(close,20))/ma(close,20);
v2:=(1-6/100)*dma(close,v1);
v3:=(1+6/100)*dma(close,v1);
var1:=close>ref(close,1) and close>ref(close,2);
var2:=ref(var1,1) and close<=ref(close,1) and close>=ref(close,2);
var3:=ref(var2,1) and close>=ref(close,1) and close<=ref(close,2);
var4:=ref(var3,1) and close<=ref(close,1) and close>=ref(close,2);
var5:=ref(var4,1) and close>=ref(close,1) and close<=ref(close,2);
var6:=ref(var5,1) and close<=ref(close,1) and close>=ref(close,2);
var7:=ref(var6,1) and close>=ref(close,1) and close<=ref(close,2);
var8:=ref(var7,1) and close<=ref(close,1) and close>=ref(close,2);
var9:=ref(var8,1) and close>=ref(close,1) and close<=ref(close,2);
vara:=ref(var9,1) and close<=ref(close,1) and close>=ref(close,2);
varb:=ref(vara,1) and close>=ref(close,1) and close<=ref(close,2);
varc:=ref(varb,1) and close<=ref(close,1) and close>=ref(close,2);
vard:=close<ref(close,1) and close<ref(close,2);
vare:=ref(vard,1) and close>=ref(close,1) and close<=ref(close,2);
varf:=ref(vare,1) and close<=ref(close,1) and close>=ref(close,2);
var10:=ref(varf,1) and close>=ref(close,1) and close<=ref(close,2);
var11:=ref(var10,1) and close<=ref(close,1) and close>=ref(close,2);
var12:=ref(var11,1) and close>=ref(close,1) and close<=ref(close,2);
var13:=ref(var12,1) and close<=ref(close,1) and close>=ref(close,2);
var14:=ref(var13,1) and close>=ref(close,1) and close<=ref(close,2);
var15:=ref(var14,1) and close<=ref(close,1) and close>=ref(close,2);
var16:=ref(var15,1) and close>=ref(close,1) and close<=ref(close,2);
var17:=ref(var16,1) and close<=ref(close,1) and close>=ref(close,2);
var18:=ref(var17,1) and close>=ref(close,1) and close<=ref(close,2);
var19:=ref(vard or vare or varf or var10 or var11 or var12 or var13 or var14 or var15 or var16 or var17 or var18,1) and var1;
var1a:=ref(var1 or var2 or var3 or var4 or var5 or var6 or var7 or var8 or var9 or vara or varb or varc,1) and vard;
jrh:=hhv(close,2);
jrl:=llv(close,2);
x:=(3*close+2*low+open+high)/7;
多空线:(20*x+19*ref(x,1)+18*ref(x,2)+17*ref(x,3)+16*ref(x,4)+15*ref(x,5)+14*ref(x,6)+13*ref(x,7)+12*ref(x,8)+11*ref(x,9)+10*ref(x,10)+9*ref(x,11)+8*ref(x,12)+7*ref(x,13)+6*ref(x,14)+5*ref(x,15)+4*ref(x,16)+3*ref(x,17)+2*ref(x,18)+ref(x,20))/210,colorred;
tdxstep269:if(多空线>ref(多空线,1),多空线,drawnull),colorred,linethick4;
tdxstep270:if(多空线<ref(多空线,1),多空线,drawnull),colorgreen,linethick3;
【支撑线】:refdate(v2,date),pointdot,colorcc66ff,linethick4;
【阻力线】:refdate(v3,date),pointdot,colorgreen,linethick4;
ma3:=ma((close+open+2*low)/4,4);
ma5:=ma(close,5);
短线:ma((close+open+low)/3,5);
tdxstep271:if(短线<多空线,短线,drawnull),colorwhite;
tdxstep272:if(短线>多空线,短线,drawnull),colorred;
涨幅:=(close-ref(close,1))/ref(close,1)*100;
上穿:=cross(close,多空线*1.01) or (cross(close,多空线*1.01) and cross(close,ma5)) or (low<ma5 and close>多空线*1.01) and ma5<多空线;
黄底:=var19 and (close>多空线 and 多空线>ref(多空线,1) and close>open or (close<多空线 and 涨幅>=9) or (cross(close,多空线) and 涨幅>5) or (cross(close,ma5) and 涨幅>=8));
tdxstep273:stickline(黄底 or 上穿 and close-open>high-close,low*0.995,low*0.985,4,0),coloryellow;
tdxstep274:drawtext(var19 and 涨幅>9.97 and close<多空线,low*0.95,37),colormagenta;
蓝压顶:=var1a and close>多空线 and not(黄底 or 上穿) or (cross(短线,close) and ref(var1a,1)<1);
tdxstep275:stickline(蓝压顶 and close>短线 and high>多空线,high*1.015,high*1.0055,4,1),colorblue;
tdxstep276:stickline(蓝压顶 and close<短线 and 涨幅<(-0.8) and high>多空线,high*1.015,high*1.005,4,1),colorblue;
tdxstep277:stickline(var1a and count(上穿,7)>0 and close<ma5 and high>多空线,high*1.013,high*1.007,4,1),colorblue;
tdxstep278:stickline(var1a and count(黄底,7)>0 and cross(多空线,close) and high>多空线,high*1.014,high*1.006,4,1),colorblue;
a0:=(low+high+close*2)/4;
工作:=ema(a0,14);
度假:=ema(a0,25);
a1x:=(工作-ref(工作,1))/ref(工作,1)*100;
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;
金叉:=cross(j,d);
死叉:=cross(d,j);
买1:=var14 or var15 and var11;
买2:=var14 or var15 and var4;
买3:=var14 or var15 and var2;
买4:=var2 and var11 or (var4 and var11);
买5:=金叉 and var4 or (金叉 and var2) or (金叉 and var11);
tdxstep279:drawicon(var16,low-0.02,7);
tdxstep280:drawicon(买1 or 买2 or 买3 or 买4 or 买5 and close>多空线,low-0.01,1);
tdxstep281:stickline(死叉 or var12 or cross(40,var9) and close>多空线 and close>ma5,high*1.013,high*1.007,4,1),colorblue;
pjj:=dma((high+low+close*2)/4,0.9);
jj:=ref(ema(pjj,3),1);
qjj:=vol/((high-low)*2-abs(close-open));
xvl:=if(close>open,qjj*(high-low),if(close<open,qjj*(high-open+(close-low)),vol/2))+if(close>open,0-qjj*(high-close+(open-low)),if(close<open,0-qjj*(high-low),0-vol/2));
zll:=vol/capital;
hsl1:=if(zll>10,10,zll);
hsl:=xvl/20/1.15;
攻击流量:=hsl*0.55+ref(hsl,1)*0.33+ref(hsl,2)*0.22;
gjj:=ema(攻击流量,8);
lljx:=ema(攻击流量,3);
资金流入:=if(hsl*0.4+lljx>0,hsl*0.4+lljx,drawnull);
资金流出:=if(hsl*0.4+lljx<0,hsl*0.4+lljx,drawnull);
启动:=cross(a1x,0) and close>多空线 and 资金流入>0;
tdxstep282:stickline(启动,open,close,3.3,0),color0055ff;
tdxstep283:stickline(启动,open,close,3.3,0),color0077ff;
tdxstep284:stickline(启动,open,close,3,0),color0099ff;
tdxstep285:stickline(启动,open,close,2.2,0),color00bbff;
tdxstep286:stickline(启动,open,close,1.5,0),color00ddff;
tdxstep287:stickline(启动,open,close,0.4,0),coloryellow;
tdxstep288:stickline(启动 and low<多空线 and close>多空线 and close-open>(high-close)*0.99 and close-open>high-close,low*0.995,low*0.985,4,0),coloryellow;
cc:=abs((2*close+high+low)/4-ma(close,20))/ma(close,20);
dd0:=dma(close,cc);
上轨:=(1+m/100)*dd0;
下轨:=(1-m/100)*dd0;
短线支撑:=ema(ema((2*low+close)/3,5),10);
强弱分水岭:=ma(短线支撑,20);
做多20:=llv((high+low+open+2*close)/5*2.06-high,8);
见底反弹:=做多20=ref(做多20,1) and 做多20<强弱分水岭 and (cross(close,做多20) or (ref(close,1)>做多20 and low<做多20 and close>做多20)) and close>open and close>下轨 and 涨幅<7;
tdxstep289:drawtext(见底反弹 and 涨幅>9.95,low*0.98,39),colorred;
var21:=4*sma((close-llv(low,5))/(hhv(high,5)-llv(low,5))*100,5,1)-3*sma(sma((close-llv(low,5))/(hhv(high,5)-llv(low,5))*100,5,1),3.2,1);
var22:=8;
qq:=cross(var21,var22) and close>ma(close,6) and 涨幅>3;
tdxstep290:drawtext(qq and 涨幅>9.97,low*0.95,37),colormagenta;
抄底反弹:=见底反弹 and 涨幅<7 and ref(见底反弹,1)<1 and close>多空线 or (qq and 涨幅>9.97) or qq;
tdxstep291:stickline(var1a and close<多空线 and (count(qq,8)>0 or count(见底反弹,5)>0),high*1.015,high*1.005,4,1),colorblue;
tdxstep292:stickline(抄底反弹 and close-open>high-close,low*0.995,low*0.985,4,0),coloryellow;
破线兰顶:=cross(多空线,close) or high>多空线 and close<多空线*0.984;
tdxstep293:stickline(破线兰顶,high*1.017,high*1.004,5,0),colorblue;
上一指标公式:买可以加在主图上指标详解 通达信加在
下一指标公式:短线赢家简化版指标详解 通达信简化版通达信
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文短线主图 和谐完全加密指标详解 通达信和谐指标仅供学习研究。