一线乾坤分析副图
{公式名称: 一线乾坤}
var1:=(low+high+close+open)/3.82;
突破:hhv(ma(var1,6),15),coloryellow,linethick2;
drawtext(cross(close,突破),low*0.95,7),colormagenta;
{公式名称: 分析幅图
公式描述:
参数数量: 3
参数1: short, 最小: 0, 最大: 1000, 缺省: 12
参数2: long, 最小: 0, 最大: 1000, 缺省: 26
参数3: m, 最小: 0, 最大: 1000, 缺省: 9
}
指数:indexc,nodraw;
涨跌:indexc-ref(indexc,1),nodraw;
月diff:macd.dif#month;
月deaf:macd.dea#month;
周diff:macd.dif#week;
周deaf:macd.dea#week;
tdxstep279:drawband(月diff,rgb(178,34,34),月deaf,rgb(34,139,34));
tdxstep280:drawband(周diff,rgb(255,0,0),周deaf,rgb(0,255,0));
macdf周金叉:cross(周diff,周deaf)*0.3,colorred,linethick2;
macdf月金叉:cross(月diff,月deaf)*0.4,coloryellow,linethick2;
var1:=drawtext(macdf周金叉=1,0.35,0.5115);
var2:=ema(close,12)-ema(close,26);
drawtext_fix(1,0,0,0,9),colorred;
var3:=ema(var2,9);
macdf:(var2-var3)*2,colorstick;
var4:=ema(var2,9);
var5:=var2>var4;
var6:=var2<var4;
低位金叉:if(cross(var2,var3) and var2<(-0.1),macdf+0.03,drawnull),crossdot,colorred,linethick3;
tdxstep282:if(cross(var2,var3) and var2<(-0.1),macdf+0.06,drawnull),circledot,coloryellow,linethick5;
drawicon(tdxstep282>0,macdf+0.1,1);
var7:=ema(close,12/2)-ema(close,26/2);
var8:=ema(var7,9/2);
var9:=(var7-var8)*2;
var10:=ema(close,12)-ema(close,26);
var11:=ema(var10,9);
var12:=(var10-var11)*2;
var13:=macd.dif#week;
var14:=macd.dea#week;
var15:=(var13-var14)*2;
var16:=macd.dif#month;
var17:=macd.dea#month;
var18:=(var16-var17)*2;
var19:=(close-llv(low,36))/(hhv(high,36)-llv(low,36));
var20:=sma(var19,3,1);
var21:=sma(var20,3,1);
var22:=(close-llv(low,9))/(hhv(high,9)-llv(low,9));
var23:=sma(var22,3,1);
var24:=sma(var23,3,1);
var25:=3*var23-2*var24;
var26:=kdj.k#week;
var27:=kdj.d#week;
var28:=kdj.k#month;
var29:=kdj.d#month;
var30:=max(ma(close,5),ma(close,10));
var31:=min(ma(close,5),ma(close,10));
var32:=close>var30;
var33:=close<var31;
var34:=close>=var31 and close<=var30;
var35:=max(ma(close,10),ma(close,20));
var36:=min(ma(close,10),ma(close,20));
var37:=close>var35;
var38:=close<var36;
var39:=close>=var36 and close<=var35;
var40:=max(ma(close,20),ma(close,28));
var41:=min(ma(close,20),ma(close,28));
var42:=close>var40;
var43:=close<var41;
var44:=close>=var41 and close<=var40;
var45:=max(ma(close,60),ma(close,120));
var46:=min(ma(close,60),ma(close,120));
var47:=close>var45;
var48:=close<var46;
var49:=close>=var36 and close<=var35;
var50:=max(ma(indexc,60),ma(indexc,120));
var51:=min(ma(indexc,60),ma(indexc,120));
var52:=indexc>var50;
var53:=indexc<var51;
var54:=indexc>=var51 and indexc<=var50;
var55:=var32 and var37 and var42 and var47 and var52;
var56:=var9>0 and var12>0 and var15>0;
var57:=var20>=var21 and var23>=var24 and var26>=var27 and var28>=var29;
var58:=var56 and var57;
var59:=var16>ref(var16,25);
var60:=var13>ref(var13,1);
var61:=var59 and var60;
var62:=cross(var13,var14) and var57 and var13>ref(var13,1);
var63:=var56 and var57 and ref(var15<0,1) and var13>ref(var13,1);
var64:=var15>0 and ref(var12<0,1) and var26>=var27 and ref(var26<var27,1) and var13>ref(var13,1);
var65:=cross(var23,var24) and (var24<40 or var24>60);
var66:=cross(var26,var27) and (var27<40 or var27>60);
var67:=cross(var28,var29) and (var29<40 or var29>60);
var68:=var15>0 and (var66 and var65) or (var66 and var67) or (var65 and var67) or (var65 and var66 and var67);
var69:=var56 and var57 and var18>0 and var13>ref(var13,5);
var70:=var55 and var69 and ref(var69!=1,1) or var69 and var55 and ref(var55!=1,1);
var71:=var15>0 and var18>0 and ref(var18<0,1) and var13>ref(var13,5) and dynainfo(17)>3;
var72:=var62 or var63 or var68 or var64 or var71 or var70;
var73:=min(close,open)-low<high-max(close,open) and close<ref(close,1);
stickline(var73,0,0.5,1,1),colorgreen,linethick2;
stickline(var72,0,1,1,0),colorred;
tdxstep101:drawtext(var62,0.8,16),coloryellow;
tdxstep102:drawtext(var63,0.9,17),coloryellow;
tdxstep103:drawtext(var64,0.5,18),coloryellow;
tdxstep105:drawtext(var70,0.7,19),coloryellow;
tdxstep106:drawtext(var71,0.3,20),coloryellow;
tdxstep108:drawtext(var68,0.6,21),coloryellow;
上一指标公式:多空全都一目了然指标下载 通达信源码
下一指标公式:主力进出(副图源码)指标下载 通达信主力进出
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文一线乾坤分析副图(副图源码)下载 通达信源码仅供学习研究。