通达信
主图合并
ma5:ma(c,5),colorff00ff,linethick1;
ma10:ma(c,10),color00ffff,linethick1;
ma21:ma(c,21),colorc0ff7f,linethick1;
ma55:ma(c,55),colorffffff,linethick1;
黄金线:ma(c,10),color00ffff,linethick2;
var11:=1;
var12:=((((2*close)+high)+low) / 4);
var14:=llv(low,5);
var15:=hhv(high,4);
c1:=(ema((((var12-var14)/(var15-var14))*100),4)*var11),colorred,linethick2;
c2:=(ema(((0.667*ref(c1,1))+(0.333*c1)),2)*var11),colorffffff,linethick2;
aa:=c1>=c2 ;
bb:=c2>c1 ;
drawicon(cross(c1,c2),l-0.1,1);
drawicon(cross(c2,c1),h+0.1,2);
stickline(aa,c,o,3,0),colorred;
stickline(aa,h,l,0.5,0),colorred;
stickline(bb,c,o,3,0),color00ff00;
stickline(bb,h,l,0.5,0),color00ff00;
{红}
stickline(aa,close,open,3,0),color000099;
stickline(aa,close,open,2.2,0),color0000cc;
stickline(aa,close,open,1.5,0),color0000ff;
stickline(aa,close,open,0.5,0),colorcc66ff;
{蓝}
stickline(bb,close,open,3,0),colorff7700;
stickline(bb,close,open,2.2,0),colorff9900;
stickline(bb,close,open,1.5,0),colorffbb00;
stickline(bb,close,open,0.5,0),colorcyan;
aaf:llv(low,34),linethick1,colorffffcc;
bbf:ma(aaf,4),linethick1,coloryellow;
typ := (high + low + close)/3;
cci1:=(typ-ma(typ,6))/(0.015*avedev(typ,5));
差值1:=abs(ref(cci1,1)-cci1),linethick0;
cci2:=(typ-ma(typ,10))/(0.015*avedev(typ,10));
差值2:=abs(ref(cci2,1)-cci2),linethick0;
cci3:=(typ-ma(typ,20))/(0.015*avedev(typ,20));
差值3:=abs(ref(cci3,1)-cci3),linethick0;
cci4:=(typ-ma(typ,30))/(0.015*avedev(typ,30));
差值4:=abs(ref(cci4,1)-cci4),linethick0;
cci5:=(typ-ma(typ,60))/(0.015*avedev(typ,60));
差值5:=abs(ref(cci5,1)-cci5),linethick0;
cci:=cci1+cci2+cci3+cci4+cci5;
aaa:=(3*c+h+l+o)/6;
var1:=(8*aaa+7*ref(aaa,1)+6*ref(aaa,2)+5*ref(aaa,3)
+4*ref(aaa,4)+3*ref(aaa,5)+2*ref(aaa,6)+ref(aaa,8))/36;
var2:=(hhv(var1,5)+hhv(var1,10)+hhv(var1,20))/3;
var3:=(llv(var1,5)+llv(var1,10)+llv(var1,20))/3;
var4:=(hhv(var2,5)+hhv(var2,10)+hhv(var2,20))/3;
var5:=(llv(var3,5)+llv(var3,10)+llv(var3,20))/3;
var6:=(llv(var1,2)+llv(var1,4)+llv(var1,6))/3;
短线:var1,colorwhite;
中线:var6,colorred;
下跌:if(var1=var6,var6, drawnull),colorgreen;
tj1:= cci1>差值4;
立桩量:=filter(tj1,0),nodraw;
tj2:=if(barslast(立桩量)=1 ,1,0);
stickline(立桩量 !=1,ref(high,barslast(立桩量)),
ref(high,barslast(立桩量)),1,1),colorcyan;
{stickline(立桩量 !=1,ref(low,barslast(立桩量)),
ref(low,barslast(立桩量)),1,1),colorcyan;}
成立1:=tj2=1;
条件成立1:=filter(成立1,5);
drawtext(条件成立1, ref(high,barslast(立桩量)),'看跌'),colorliblue;
tj11:= cci1<-差值4 ;
立桩量2:=filter(tj11,0),nodraw;
tj22:=if(barslast(立桩量2)=1 and close>ref(high,1),1,0);
突破2:=tj22=1;
{stickline(close and 下跌!= var6,ref(high,barslast(立桩量2)),
ref(high,barslast(立桩量2)),1,1),coloryellow;}
stickline(close and 下跌!= var6,ref(low,barslast(立桩量2)),
ref(low,barslast(立桩量2)),1,1),coloryellow;
tj:=if(barslast(立桩量2)=1 and close>ref(low,1),1,0);
成立2:=tj=1;
条件成立2:=filter(成立2,5);
drawtext(条件成立2,ref(low,barslast(立桩量2)),'看涨'),colorlimagenta;
tj111:=abs(cci1)>cci and abs( 差值1)> abs(差值5);
立桩量3:=filter(tj111,3);
tj3:=if(barslast(立桩量3)=1 and close>ref(low,1),1,if(barslast(立桩量3)=2 and close>ref(low,2),1,if(barslast(立桩量3)=3 and close>ref(low,3),1,0)));
成立:=tj3=1;
条件成立:=filter(成立,5);
drawtext(条件成立 and 下跌!= var6,l*0.97,'☆成立');
lc:=ref(close,1);
rsi:=((sma(max((close - lc),0),3,1) / sma(abs((close - lc)),3,1)) * 100);
ff:=ema(close,3);
ma15:=ema(close,21);
drawtext(cross(ff,ma15),bbf,'底背离'),colora6e500;
drawtext(cross(88,rsi),(high * 1.02),'顶背离'),color1880ff;
x1:=(c+l+h)/3;
bb13:=atan(ema(x1,13)-ref(ema(x1,13),1))*3.1416*10;
ema8:=ema(c,8);
drawtext(filter(bb13>1 and ema(x1,13)>ref(ema(x1,8),1),10),
ema8,'∠45'),colorwhite;
stickline(1,c,o,2.8,0),color666600;
stickline(立桩量,c,o,2.8,0),color0000ff;
stickline(1,c,o,0,0),colorcccccc;
上一指标公式:痴情顶底指标详解 通达信痴情
下一指标公式:买卖主图指标详解 通达信卖主
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文主图合并主图指标详解 通达信源码贴图仅供学习研究。