时间窗主图
m1:=5;m2:=10;m3:=20;m4:=60;m5:=120;m6:=250;
ma1:ma(close,m1);
ma2:ma(close,m2);
ma3:ma(close,m3);
ma4:ma(close,m4);
ma5:ma(close,m5);
n1:=7;
var1:=ref(c,1);
var2:=sma(max(c-var1,0),n1,1)/sma(abs(c-var1),n1,1)*1000;
var3:=drawline(var2>=hhv(var2,n1),var2,var2<=llv(var2,n1),var2,1);
var4:=var2=var3;
var5:=var2<ref(var2,1);
rsv:=(c-llv(l,25))/(hhv(high,25)-llv(l,25))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
var6:=(2*c+h+l)/3;{可将3该为4,信号少点}
var7:=ema(ema(ema(var6,4),4),4);{可将3该为4,信号少点}
var8:=(var7-ref(var7,1))/ref(var7,1)*100;
var9:=ma(var8,3)+0.03;
var10:=ma(var8,1);
kb:=ema(c,3)-ema(c,18);
db:=ema(kb,3);
aa:=barscount(c);
ah:=hhv(h,120);
al:=llv(l,120);
a0:=(ah-al)/30;
var2s:=(2*close+high+low)/4;
var3s:=if(year>=2099 and month>2,0,1);
var4s:=llv(low,5); var5s:=hhv(high,4);
散户:=ema((var2s-var4s)/(var5s-var4s)*100,4)*var3s;
庄家:=ema(0.667*ref(散户,1)+0.333*散户,2)*var3s;
stickline(kb<db and db<ref(db,1),c,open,3.2,0),color004400;
stickline(kb<db and db<ref(db,1),c,open,2.7,0),color006600;
stickline(kb<db and db<ref(db,1),c,open,2.1,0),color008800;
stickline(kb<db and db<ref(db,1),c,open,1.5,0),color00aa00;
stickline(kb<db and db<ref(db,1),c,open,0.9,0),color00cc00;
stickline(kb<db and db<ref(db,1),c,open,0.3,0),color00ee00;
stickline(kb>db and db>ref(db,1),c,open,3.2,0),color000055;
stickline(kb>db and db>ref(db,1),c,open,2.7,0),color000077;
stickline(kb>db and db>ref(db,1),c,open,2.1,0),color000099;
stickline(kb>db and db>ref(db,1),c,open,1.5,0),color0000bb;
stickline(kb>db and db>ref(db,1),c,open,0.9,0),color0000dd;
stickline(kb>db and db>ref(db,1),c,open,0.3,0),color0000ff;
stickline(cross(var9,var10) and j>65,h,open,3.15,0),coloraa1100;
stickline(cross(var9,var10) and j>65,h,open,2.45,0),coloraa3300;
stickline(cross(var9,var10) and j>65,h,open,1.75,0),coloraa5500;
stickline(cross(var9,var10) and j>65,h,open,1.05,0),coloraa7700;
stickline(cross(var9,var10) and j>65,h,open,0.35,0),coloraa9900;
stickline(var4 and var5,l,open,3.15,0),color1111ff;
stickline(var4 and var5,l,open,2.45,0),color3333ff;
stickline(var4 and var5,l,open,1.75,0),color5555ff;
stickline(var4 and var5,l,open,1.05,0),color7777ff;
stickline(var4 and var5,l,open,0.35,0),color9999ff;
stickline(cross(散户,庄家) and 散户<30,l,open,3.15,0),color770077;
stickline(cross(散户,庄家) and 散户<30,l,open,2.45,0),color990099;
stickline(cross(散户,庄家) and 散户<30,l,open,1.75,0),colorbb00bb;
stickline(cross(散户,庄家) and 散户<30,l,open,1.05,0),colordd00dd;
stickline(cross(散户,庄家) and 散户<30,l,open,0.35,0),colorff00ff;
stickline(cross(0.9,1/vol*1000>0.01 and "kdj.j"<0),l,open,3.15,0),color337777;
stickline(cross(0.9,1/vol*1000>0.01 and "kdj.j"<0),l,open,2.45,0),color339999;
stickline(cross(0.9,1/vol*1000>0.01 and "kdj.j"<0),l,open,1.75,0),color33bbbb;
stickline(cross(0.9,1/vol*1000>0.01 and "kdj.j"<0),l,open,1.05,0),color33dddd;
stickline(cross(0.9,1/vol*1000>0.01 and "kdj.j"<0),l,open,0.35,0),color33ffff;
stickline((aa+0)/34=floor((aa+0)/34),l,open,3.15,1),colorffffff;
drawtext((aa+0)/34=floor((aa+0)/34),l*1,'时间窗'),colorffffff;
drawtext(cross(散户,庄家) and 散户<30,l*1,'吸'),colorff00ff;
drawicon(cross(var9,var10) and j>65,h*1,15),colorgreen;
drawtext(cross(var9,var10) and j>65,h*1,' 卖'),coloryellow;
drawicon(var4 and var5,l*1,9);
drawtext(var4 and var5,l*1,' 买')colorffffff;
drawtext(cross(0.9,1/vol*1000>0.01 and "kdj.j"<0),l*1,'地量买点'),color33ffff;
上一指标公式:强势主升浪指标详解 通达信强势
下一指标公式:短线王的副图指标详解 通达信公式
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文时间窗主图新版添加地量买点指标详解 通达信新版添加仅供学习研究。