通达信版《万法归一》,在此特别感谢“李5491”朋友的《美化k线源码》提供!
本公式含未来函数!不喜欢未来函数的朋友请免测免下!!
第61行包含未来函数:capital
第125行包含未来函数:winner
第174行包含未来函数:winner
第185行包含未来函数:winner
参数:
n11300 5
n2130010
n3130020
n4130060
万法归一源码:
ma20:=ma(close,20);
ma120:=ma(close,120);
ma30:=ma(close,37);
map:=ma(close,8);
aa5:=ma(close,21);
aa10:ma(close,8),colorffffff;
aa12:ma(close,12),color0000ff;
bb10:=((atan((aa10 - ref(aa10,1))) * 3.1416) * 10);
bb12:=((atan((aa12 - ref(aa12,1))) * 3.1416) * 10);
ma13:=ma(close,13);
vvar1:=((((open + low) + high) + close) / 4);
中期大底:llv(low,30),colorcdffbb;
{短期底部:=llv(high,30); }
短期底部1:=llv(high,36);
短底:=ema(vvar1,5);
支撑:=hhv(短底,60);
压力1:hhv(low,20),colorfaabec,linethick2;
压力:=sma(low,5,1);
中线:=ma(close,3);
drawtext(filter(((((high > 支撑) and (close < 支撑)) and ((close / open) > (0 - 1.06))) and (close < open)),5),(high + 0.02),'逃→'),color00ffff;
中轨道:=(ma(high,15) * 1.05);
天:=(ma(low,15) * 0.985);
人:=(ma(low,15) * 0.96);
地:=(((high + low) + close) / 3);
b1:=hhv(地,(4 * 15));
b6:=llv(地,(4 * 15));
b7:=(b1 - b6);
b8:=(ma(((地 - b6) / b7),2) * 80);
var111:=(((close - llv(low,100)) / (hhv(high,100) - llv(low,100))) * 200);
飞龙顶底线1:=sma(var111,3,1);
var222:=sma(飞龙顶底线1,3,1);
var333:=((3 * 飞龙顶底线1) - (2 * var222));
var444:=llv(low,5);
var555:=hhv(high,5);
var666:=(ema((((close - var444) / (var555 - var444)) * 100),4) * 2);
var777:=ema(((0.667 * ref(var666,1)) + (0.333 * var666)),2);
var888:=((3 * var666) - (2 * var777));
var999:=(pow(ma(close,5),2) + ma(close,5));
vara:=(pow(ma(low,5),2) + ma(low,5));
varb:=(pow(ma(high,5),2) + ma(high,5));
varc:=(((((var999 - llv(vara,64)) / (hhv(varb,64) - llv(vara,64))) * 150) + 65) - 10);
vard:=((sma(varc,3,1) * 1.5) - 100);
vare:=sma(vard,3,1);
varfff:=((3 * vard) - (2 * vare));
var10:=(((high + low) + (close * 2)) / 4);
var11:=ema(var10,13);
var12:=std(var10,13);
var13:=(((var10 - var11) * 100) / var12);
var14:=ema(var13,5);
var15:=ema(var14,13);
var16:=((ema(var14,13) + 200) - 100);
var17:=ema(var16,10);
var18:=((3 * var16) - (2 * var17));
var19:=(((飞龙顶底线1 + var666) + vard) + var16);
var1a:=(((var222 + var777) + vare) + var17);
var1b:=(((var333 + var888) + varfff) + var18);
var1c:=(((high + low) + close) / 3);
var1d:=((amount / vol) / 100);
var1e:=((sum(amount,5) / sum(vol,5)) / 100);
var1f:=((var1c - ma(var1c,34)) / (0.015 * avedev(var1c,34)));
var20:=dma(((amount / vol) / 100),(vol / capital));
var21:=((((high + low) + close) + var1c) / 4);
var22:=ema(var21,24);
var23:=std(var21,24);
var24:=(((var21 - var22) / var23) * 100);
var25:=((var1c - ma(var1c,24)) / (0.015 * avedev(var1c,24)));
var26:=ema(var24,5);
var27:=((var1d - ma(var1d,21)) / (0.015 * avedev(var1d,21)));
var28:=((var1e - ma(var1e,90)) / (0.015 * avedev(var1e,90)));
var29:=(((((((var28 + var27) + var26) + var25) + var1f) / 5) + 165) / 4);
var2a:=(((((var19 + var1a) + (var1b * 30)) / 32) / 5) - 15);
var2b:=(((var29 + var2a) / 2) / 1.1);
var2c:=var2b;
短线:=ma(var2c,26);
mid:=(短线 + (2 * std(var2c,26)));
upper:=(短线 - (2 * std(var2c,26)));
lower:=if((var2c > 短线),短线,var2c);
xy:=ma(close,5);
ma5:=ma(close,80);
短期底部:(llv(high,30) * 0.93),color0000ff;
ma80:=llv(high,30);
短期底部2:=sma(close,2,1);
趋势:=(ma(low,10) * 0.96);
趋:=(ema(open,107) * 0.897);
超跌位2:=ma(close,15);
gf:=ma(close,10);
man:=(sma(high,21,2) * 1.05);
上1:=(hhv(短底,60) * 0.92);
压力2:=(sma(high,21,2) * 1.035);
阻挡线:=(sma(low,21,2) * 0.96);
下档线:=(((close - llv(low,13)) / (hhv(high,13) - llv(low,13))) * 100);
rsv:=sma(下档线,3,1);
k:=sma(rsv,3,1);
d:=((3 * rsv) - (2 * k));
j:=(((close - ma(close,6)) / ma(close,6)) * 100);
var2p:=(((close - ma(close,12)) / ma(close,12)) * 100);
var3p:=(((close - ma(close,24)) / ma(close,24)) * 100);
var4p:=(((j + (2 * var2p)) + (3 * var3p)) / 6);
var5p:=ma(var4p,3);
var6p:=(((close - llv(low,34)) / (hhv(high,34) - llv(low,34))) * 100);
rsv12:=sma(var6p,3,1);
k12:=sma(rsv12,3,1);
d12:=((3 * rsv12) - (2 * k12));
j12:=(((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100);
rsv24:=sma(j12,3,1);
k24:=sma(rsv24,3,1);
d24:=((3 * rsv24) - (2 * k24));
j24:=if(cross(d,d24),low,ref(low,barslast(cross(d,d24))));
压力位:if(cross(d24,d),high,ref(high,barslast(cross(d24,d)))),colorffffff;
支撑位:=if((close >= ma(close,20)),80,50);
u2l:=if((close >= ma(close,20)),50,20);
l2l:=if(((d < 支撑位) and (ref(d,1) >= 支撑位)),hhv(ref(high,1),(barslast(((d >= 支撑位) and (ref(d,1) < 支撑位))) - 1)),ref(hhv(ref(high,1),(barslast(((d >= 支撑位) and (ref(d,1) < 支撑位))) - 1)),barslast(((d < 支撑位) and ref(d,1)))));
rh1:=if((high > l2l),low,ref(low,barslast((high > l2l))));
rh4:=if((high > l2l),d,ref(d,barslast((high > l2l))));
rh42:=if((((high > rh1) and (d < rh4)) and (d < d24)),high,ref(high,barslast((((high > rh1) and (d < rh4)) and (d < d24)))));
rh5:=if(((d > u2l) and (ref(d,1) <= u2l)),llv(ref(low,1),(barslast(((d <= u2l) and (ref(d,1) > u2l))) - 1)),ref(llv(ref(low,1),(barslast(((d <= u2l) and (ref(d,1) > u2l))) - 1)),barslast(((d > u2l) and ref(d,1)))));
rl1:=if((low < rh5),high,ref(high,barslast((low < rh5))));
rl4:=if((low < rh5),d,ref(d,barslast((low < rh5))));
rl42:=if((((low < rl1) and (d > rl4)) and (d > d24)),low,ref(low,barslast((((low < rl1) and (d > rl4)) and (d > d24)))));
长期底部:llv(high,30),color00ff00;
drawtext(filter(((((rl42 = j24) and (close > open)) and (close > 长期底部)) and (low <= j24)),20),(low - 0.12),'底↑成'),color0eabff;
rl5:=(sma(high,5,2) * 1.05);
上:=(sma(low,5,2) * 0.96);
下:=sma(low,2,1);
drawtext(filter((((((low <= 压力位) and (winner(close) <= 0.07)) and (close >= 压力位)) and (close < 上1)) and ((close / open) > 1.02)),3),low,'追'),color936ef0;
中:=(((((3 * close) + high) + low) + open) / 6);
x1:=ema(中,10);
x2:=ref(x1,1);
x3:=((ref(high,1) + ref(low,1)) / 2);
x4:=(ma(close,21) + (2 * std(close,21)));
x5:=ref(close,1);
x6:=((sma(max((close - x5),0),7,1) / sma(abs((close - x5)),7,1)) * 100);
x7:=cross(79,x6);
x8:=filter(x7,4);
x9:=ma(close,115);
var1:=ema(close,8);
飞龙顶底线:=ema(var1,20);
var2:=cross(var1,飞龙顶底线);
var3:=(var1 < ma(close,20));
var4:=(((hhv(high,36) - close) / (hhv(high,36) - llv(low,36))) * 100);
var5:=sma(var4,5,1);
var6:=sma(var5,8,1);
var7:=(cross(var5,var6) and (var6 < 5));
var8:=((close > (llv(close,60) + (0.3 * llv(close,60)))) and var7);
var9:=if((close > 1000),var7,var8);
varf:=cross(x1,x2);
ma115:=varf;
低买:=(var2 and var3);
黑马起步:=var9;
drawtext(x8,(high * 1.03),'出↓货'),coloryellow;
drawtext((黑马起步 > 0),(high * 1.04),'逃↓命'),color0000ff;
逃遁:=(sma(high,21,2) * 1.05);
stickline(c>ref(c,1),c,o,3.2,0),color0000aa;
stickline(c>ref(c,1),c,o,2.7,0),color0000dd;
stickline(c>ref(c,1),c,o,2.1,0),color0022ff;
stickline(c>ref(c,1),c,o,1.5,0),color0066ff;
stickline(c>ref(c,1),c,o,0.9,0),color0099ff;
stickline(c>ref(c,1),c,o,0.3,0),color00ddff;
stickline(c<ref(c,1),h,l,0,1),colorff8800;
stickline(c<ref(c,1),c,o,3.2,0),color990000;
stickline(c<ref(c,1),c,o,2.7,0),colorcc0000;
stickline(c<ref(c,1),c,o,2.1,0),colorff4400;
stickline(c<ref(c,1),c,o,1.5,0),colorff8800;
stickline(c<ref(c,1),c,o,0.9,0),colorffcc00;
stickline(c<ref(c,1),c,o,0.3,0),colorffdd00;
stickline(c=ref(c,1),h,l,0,1),colorffffff;
stickline(c=ref(c,1),c,o,3.2,0),color555555;
stickline(c=ref(c,1),c,o,2.7,0),color777777;
stickline(c=ref(c,1),c,o,2.1,0),color999999;
stickline(c=ref(c,1),c,o,1.5,0),colorbbbbbb;
stickline(c=ref(c,1),c,o,0.9,0),colordddddd;
stickline(c=ref(c,1),c,o,0.3,0),colorffffff;
drawtext(filter(((((llv(low,0) and ((ma30 - ref(ma30,1)) > 0)) and (low <= 短期底部)) and (winner(close) < 0.05)) and ((close / open) > 0.13)),7),(low - 0.09),'见●底'),color00b2ff;
阻挡:=(sma(low,21,2) * 0.94);
drawtext(filter(((((((((close / open) > 1.03) and ((超跌位2 - ref(超跌位2,1)) > 0)) and ((close - ref(close,1)) > 0)) and (high < 压力1)) and (close < 压力1)) and ((压力2 - ref(压力2,1)) > 0)) and (close < man)),3),low,'出↑击'),colord4dee9;
drawtext((((((低买 > 0) and ((x1 - ref(x1,1)) > 0)) and (high < 压力位)) and (high < x9)) and ((x2 - ref(x2,1)) > 0)),low,'←黑马'),color00ff00;
drawtext((((((cross(var2c,短线) and ((close - ref(high,1)) > 0)) and ((中线 - ref(中线,1)) > 0)) and (high <= 压力1)) and (close < ma20)) and (low <= 中线)),(low - 0.06),'关注'),color00ff00;
drawtext((((cross(var2c,upper) and (high < 压力1)) and ((xy - ref(xy,1)) > 0)) and (high < 支撑)),low,'买'),colorffffff;
drawtext(filter(((((((low <= 天) and (close >= ma20)) and (high < 压力1)) and ((天 - ref(天,1)) > 0)) and (close < 压力1)) and ((ma20 - ref(ma20,1)) > 0)),6),(low - 0.12),'全仓'),colorffffff;
drawtext(filter((((((ma115 and (close < 压力位)) and ((人 - ref(人,1)) > 0)) and ((x1 - ref(x1,1)) > 0)) and (high < 上1)) and ((close / open) > 1.03)),5),low,'买'),color93ee7d;
drawtext(((((low <= 上) and (high >= 短期底部)) and (close >= 长期底部)) and ((close / open) > 1.03)),(low - 0.08),'抄★底'),color0000ff;
drawtext(filter((((((low <= 阻挡线) and ((ma20 - ref(ma20,1)) > 0)) and (open <= 上1)) and (high > 上1)) and (close > 阻挡线)),5),low,'涨→10%'),colorffffff;
drawtext(((cross(压力,阻挡) and (winner(close) <= 0.17)) and ((x1 - ref(x1,1)) > 0)),(low - 0.08),'←大胆买'),color00ffff;
drawtext(filter((((((b8 <= 1) and (low <= 阻挡)) and (close > open)) and (low <= 中期大底)) and (close >= 长期底部)),3),(low - 0.08),'短抄'),colora100ff;
drawtext((((cross(d,0) and (high < 压力位)) and (var5p <= (0 - 7))) and (close < xy)),(low - 0.11),'半仓'),color00ffff;
drawtext(filter((((cross(趋势,趋) and (high < ma5)) and (high < 压力1)) and llv(low,0)),10),low,'果断买'),color00ffff;
drawtext(filter(((cross(中线,人) and (low <= 人)) and (close >= 人)),4),(low - 0.06),'买'),color00ff00;
drawtext(((cross(阻挡,长期底部) and (bb10 > 1)) and (high < 支撑)),low,'←出击'),color00ff00;
drawtext(filter((((((((ma20 - ref(ma20,1)) > 0) and (high < 支撑)) and ((aa10 - ref(aa10,1)) > 0)) and (high < 压力1)) and (vol >= ref(vol,1))) and cross(close,ma20)),57),low,'突破生命线'),color0000ff;
drawtext(filter(((((low <= ma80) and (close > ma80)) and (close > open)) and (短期底部2 <= ma80)),8),low,'底'),color00ffff;
drawtext((((((((cross(close,ma20) and (high < 压力位)) and (open < ma20)) and (high < 支撑)) and ((man - ref(man,1)) > 0)) and ((x1 - ref(x1,1)) > 0)) and (d < 63)) and ((ma20 - ref(ma20,1)) > 0)),(low - 0.05),'大牛●浮水'),colord3e7ff;
上一指标公式:全仓买入版指标详解 通达信买入
下一指标公式:优秀操盘主图指标详解 通达信操盘
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文版万法归一指标详解 通达信通达信仅供学习研究。