趋势操作主图
{趋势操作 主图}
上线:=sma(c,3.5,1);
下线:=sma(c,6.5,1);
上线1:=sma(c,3,1);
下线1:=sma(c,8,1);
stickline(上线>下线 , 上线,下线 ,2, 0),colorred,linethick3;
stickline(下线>上线,上线,下线,2,0),coloryellow,linethick3;
drawtext( cross(上线,下线) and (close/open>1.04),low *0.95,'买' ),color00ff00;
drawtext(cross(下线1,上线1),h*1.10,'清仓'),coloryellow;
bbi:=(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24))/4;
upr:=bbi+3*std(bbi,13),linethick2;
dwn:=bbi-3*std(bbi,13);
安全:=ma(close,60),linethick2;
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
drawtext( cross(82,rsi) , high*1.0,'减仓') ,colorff9966,linethick2;
a7:=(2*c+h+l)/4;
操作:ma(a7,5),linethick2;
操作1:ma(a7,5)*1.03,linethick2;
操作2:ma(a7,5)*0.97,linethick2;
var1:=llv(a7,21);
var2:=hhv(a7,21);
趋势:ema(slope(c,21)*20+c,90);
买卖差:=操作-趋势;
{stickline(买卖差>=0,(操作-买卖差*0.2),(操作-买卖差*0.35),1,0) ,colorf00ff0;
stickline(买卖差>=0,(操作-买卖差*0.4),(操作-买卖差*0.45),2,0) ,colorf00ff0;
stickline(买卖差>=0,(操作-买卖差*0.6),(操作-买卖差*0.55),3,0) ,colorf00ff0;}
stickline(买卖差>=0,(操作-买卖差*0.8),(操作-买卖差*0.75),8,0) ,colorf00ff0;
stickline(买卖差<0,(趋势+买卖差*0.05),(趋势+买卖差*0.15),8,0) ,color66ff11;
{stickline(买卖差<0,(趋势+买卖差*0.2),(趋势+买卖差*0.35),1,0) ,color66ff00;
stickline(买卖差<0,(趋势+买卖差*0.4),(趋势+买卖差*0.45),1,0) ,color66ff00;
stickline(买卖差<0,(趋势+买卖差*0.6),(趋势+买卖差*0.55),3,0) ,color66ff00;
stickline(买卖差<0,(趋势+买卖差*0.8),(趋势+买卖差*0.75),2,0) ,color66ff00;};
高抛低吸付图
{高抛低吸 n=1,100,3 n2=1,100,6 n3=-50,100,-30 n4=1,100,75}
var2:=(c-ref(c,1))/ref(c,1)*100;
var3:=(c-llv(l,18))/(hhv(h,18)-llv(l,18))*100;
var4:=sma(var3,9,1);
var5:=sma(var4,3,1);
j:3*var4-2*var5,color00ffff;
var6:=j>1*ref(j,1);
var7:=llvbars(l,50);
var8:=sum(v,var7);
var9:=hhvbars(h,50);
var10:=sum(v,var9);
var11:=(c-ref(o,var9))/ref(o,var9)*100;
var12:=var10/capital*100;
var13:=(c-ref(o,var7))/ref(o,var7)*100;
var14:=var8/capital*100;
var15:=ma(winner(c),n)*100;
var16:=ema(var4,n);
a2:ema(var4,n),colorffddcc;
a3:=ema(a2,n);
a4:=ema(a3,n);
a5:=ema(a4,n);
a6:=ema(a5,n);
a7:=ema(a6,n);
var17:=ema(a7,n);
var18:=ema(var17,n);
var19:=ema(var18,n);
aa:=ema(a5,n2);
中期大底:llv(j,aa),linethick2,color0000ff;
上:=if(ma(h,3)*1.05,30,0)*10-aa;
下:=if(ma(l,3)*0.96,30,0)*2/中期大底;
中:=if(ma(h,3)*1.05,30,0);
电:=j;
drawtext(cross(a4,aa) and var11<n3,aa,'●底'),colorffff00;
drawtext(cross(a2,j) and a2>n4,a2+4.22,'●峰'),color00ffff;
drawtext(cross(j,a2) and var6 and a2<20 and var2>9 or a2>1*ref(a2,1) and var2>4 and a2<60,a2,'●拉升'),colorffffcc;
stickline(j>=a2,a2,j,2,0),color0000ff;
stickline(j<=a2,j,a2,2,0),color00ff00;
压力:hhv(j,60),color00ffff;
支撑:=llv(aa,13);
stickline(j<=中期大底 and 中-ref(中,1)>0 and c>=o*0.99,1,88,3,0),color0000ff;
drawicon(j<=中期大底 and 中-ref(中,1)>0 and c>=o*0.99,88,1),color00ff00;
stickline(filter(cross(上,中期大底) and 中-ref(中,1)>=0,3),中期大底,70,3,0),color00ff00;
drawicon(filter(cross(上,中期大底) and 中-ref(中,1)>=0,3),70,1);
stickline(cross(上,下) and c>=o,中期大底,60,2,0),colorff0000;
b0:=ma(c,3);
b01:=ma(c,4);
b1:=(h+l+c)/3;
b2:=hhv(b1,15);
b3:=llv(b1,15);
b4:=b2-b3;
b5:ma((b1-b3)/b4,2)*100,color000080;
b6:=hhv(b1,4*15);
b7:=llv(b1,4*15);
b8:=b6-b7;
b9:=ma((b1-b7)/b8,2)*100;
ba:=hhv(b1,16*15);
bb:=llv(b1,16*15);
bc:=ba-bb;
bd:=ma((b1-bb)/bc,2)*100;
顶线:=98;
底线:=1;
drawtext(cross(98,b5) and c<h/1.03,98,'↑出局');
麒麟中短线副图
{麒麟中短线}
a1:=ema(c,12)-ema(c,25);
a2:=ema(a1,6);
获利回吐:(a2>=0)*a2,colorwhite,linethick0;
大黑马:(a2<0)*a2,colord4ff7f,linethick0;
坚绝做空:(a1<0)*a1,colorb00058,linethick0;
买入持股:(a1>=0)*a1,colorred,linethick0;
stickline(a2>=0,a2,0,5,0),colorwhite;
stickline(a2<0,a2,0,5,0),colord4ff7f;
stickline(a1<0,a1,0,5,0),colorb00058;
stickline(a1>=0,a1,0,5,0),colorred;
var8:=vol>2*ma(vol,30);
var9:="dmi.adx"(12,6);
vara:="dmi.adxr"(12,6);
varb:=close>ma(close,30) and close<ma(close,30)*1.04;
varc:=ma(close,30)>ref(ma(close,30),1);
vard:=barslast(cross(ma(close,5),ma(close,10)))<barslast(cross(ma(close,10),ma(close,5)));
varf:=troughbars(3,15,1)<4;
var10:=ema(close,30)>ref(ema(close,30),2);
var11:=if(varf=1,50,0);
多空:ema((close-ma((2*close+high+low)/4,30))/ma((2*close+high+low)/4,30)*100,3),colorwhite;
0,colorred;
stickline(filter(varf=1,5) and 多空<-10,30,0,4,0),colorf00ff0;
stickline(filter(varf=1,5),30,0,1,0),coloryellow;
drawtext(filter(varf=1,3),25,'黑马'),colorred;
stickline(多空<-10,0,多空,0.85,0),coloryellow;
stickline(多空>10,0,多空,0.95,0),colorred;
获利行踪
{获利行踪}
var1:=((close - llv(low,15))/(hhv(high,15) - llv(low,15)))*(100);
var2:=reverse(var1);
var3:=sma(var1,5,1);
k:=sma(var3,3,1);
d:=sma(k,3,1);
stickline((k <= d),100,0,8,0),color2b5500;
stickline((k >= d),100,0,8 ,0 ),color005555;
高线:
80,color0000ff,pointdot;
中线:
50,color10ccff,pointdot;
低线:
20,color40ff00,pointdot;
drawtext(cross(k,d) and (d < 18),15,'买'),color00ffff;
drawtext(cross(d,k) and (d > 75),85,'卖'),colorffffff;
stickline((k >= d),k,d,2,0 ),coloryellow;
stickline((k >= d),k,d,1.5 ,0 ),coloryellow;
stickline((k >= d),k,d,1,0 ),coloryellow;
stickline((k >= d),k,d,0,0),coloryellow;
stickline((k <= d),k,d,2,0),colorgreen;
stickline((k <= d),k,d,1.5,0),colorgreen;
stickline((k <= d),k,d,1,0),colorgreen;
stickline((k <= d),k,d,0,0),colorgreen;
100,pointdot,colorffffff,linethick5;
上一指标公式:[L-2]玩股美人眼MACD-清晰的金叉背离指标详解 通达信通达信
下一指标公式:大盘顶部预警副图说明指标详解 通达信大盘源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文趋势操作主图及三付图指标详解 通达信公式源码仅供学习研究。