分时决策指标
1、运用了l2行情函数,本公式需要l2数据支持,不同于有些不用l2行情函数也能编出“资金流向”的公式。
2、因软件数据非全推方式,盘中可能造成软件运行慢的问题,盘后需要下载数据
以下为源码:
被引用一
vol0:l2_vol(0,0)+l2_vol(1,0)+l2_vol(2,0)-l2_vol(0,1)-l2_vol(1,1)-l2_vol(2,1);
vol1:ref(l2_vol(0,0)+l2_vol(1,0)+l2_vol(2,0)-l2_vol(0,1)-l2_vol(1,1)-l2_vol(2,1),1);
vol2:ref(l2_vol(0,0)+l2_vol(1,0)+l2_vol(2,0)-l2_vol(0,1)-l2_vol(1,1)-l2_vol(2,1),2);
vol3:ref(l2_vol(0,0)+l2_vol(1,0)+l2_vol(2,0)-l2_vol(0,1)-l2_vol(1,1)-l2_vol(2,1),3);
vol4:ref(l2_vol(0,0)+l2_vol(1,0)+l2_vol(2,0)-l2_vol(0,1)-l2_vol(1,1)-l2_vol(2,1),4);
vol5:ref(l2_vol(0,0)+l2_vol(1,0)+l2_vol(2,0)-l2_vol(0,1)-l2_vol(1,1)-l2_vol(2,1),5);
vol6:ref(l2_vol(0,0)+l2_vol(1,0)+l2_vol(2,0)-l2_vol(0,1)-l2_vol(1,1)-l2_vol(2,1),6);
vol7:ref(l2_vol(0,0)+l2_vol(1,0)+l2_vol(2,0)-l2_vol(0,1)-l2_vol(1,1)-l2_vol(2,1),7);
vol8:ref(l2_vol(0,0)+l2_vol(1,0)+l2_vol(2,0)-l2_vol(0,1)-l2_vol(1,1)-l2_vol(2,1),8);
vol9:ref(l2_vol(0,0)+l2_vol(1,0)+l2_vol(2,0)-l2_vol(0,1)-l2_vol(1,1)-l2_vol(2,1),9);
vol10:largeintrdvol-largeouttrdvol;
vol11:ref(largeintrdvol-largeouttrdvol,1);
vol12:ref(largeintrdvol-largeouttrdvol,2);
vol13:ref(largeintrdvol-largeouttrdvol,3);
vol14:ref(largeintrdvol-largeouttrdvol,4);
maxv:hhv(l2_vol(0,0)+l2_vol(1,0)+l2_vol(2,0)-l2_vol(0,1)-l2_vol(1,1)-l2_vol(2,1),10);
maxw:hhv(largeintrdvol-largeouttrdvol,5);
r0:close>open;
r1:ref(close,1)>ref(open,1);
r2:ref(close,2)>ref(open,2);
r3:ref(close,3)>ref(open,3);
r4:ref(close,4)>ref(open,4);
r5:ref(close,5)>ref(open,5);
r6:ref(close,6)>ref(open,6);
r7:ref(close,7)>ref(open,7);
r8:ref(close,8)>ref(open,8);
r9:ref(close,9)>ref(open,9);
r10:largeintrdvol>largeouttrdvol;
r11:ref(largeintrdvol,1)>ref(largeouttrdvol,1);
r12:ref(largeintrdvol,2)>ref(largeouttrdvol,2);
r13:ref(largeintrdvol,3)>ref(largeouttrdvol,3);
r14:ref(largeintrdvol,4)>ref(largeouttrdvol,4);
分时决策
m0:=被引用一.vol0#day;
m1:=被引用一.vol1#day;
m2:=被引用一.vol2#day;
m3:=被引用一.vol3#day;
m4:=被引用一.vol4#day;
m5:=被引用一.vol5#day;
m6:=被引用一.vol6#day;
m7:=被引用一.vol7#day;
m8:=被引用一.vol8#day;
m9:=被引用一.vol9#day;
m10:=被引用一.vol10#day;
m11:=被引用一.vol11#day;
m12:=被引用一.vol12#day;
m13:=被引用一.vol13#day;
m14:=被引用一.vol14#day;
maxv:=被引用一.maxv#day;
maxw:=被引用一.maxw#day;
r0:=被引用一.r0#day;
r1:=被引用一.r1#day;
r2:=被引用一.r2#day;
r3:=被引用一.r3#day;
r4:=被引用一.r4#day;
r5:=被引用一.r5#day;
r6:=被引用一.r6#day;
r7:=被引用一.r7#day;
r8:=被引用一.r8#day;
r9:=被引用一.r9#day;
r10:=被引用一.r10#day;
r11:=被引用一.r11#day;
r12:=被引用一.r12#day;
r13:=被引用一.r13#day;
r14:=被引用一.r14#day;
drawrectrel(180,const(1000-(m0*500/maxv)),195,1000,if(r0,rgb(100,0,0),rgb(0,50,0)));
drawrectrel(180,const(1000-(m10*150/maxw)),195,1000,if(r10,rgb(200,0,200),rgb(80,0,255)));
drawrectrel(160,const(1000-(m1*500/maxv)),175,1000,if(r1,rgb(100,0,0),rgb(0,50,0)));
drawrectrel(160,const(1000-(m11*150/maxw)),175,1000,if(r11,rgb(200,0,200),rgb(80,0,255)));
drawrectrel(140,const(1000-(m2*500/maxv)),155,1000,if(r2,rgb(100,0,0),rgb(0,50,0)));
drawrectrel(140,const(1000-(m12*150/maxw)),155,1000,if(r12,rgb(200,0,200),rgb(80,0,255)));
drawrectrel(120,const(1000-(m3*500/maxv)),135,1000,if(r3,rgb(100,0,0),rgb(0,50,0)));
drawrectrel(120,const(1000-(m13*150/maxw)),135,1000,if(r13,rgb(200,0,200),rgb(80,0,255)));
drawrectrel(100,const(1000-(m4*500/maxv)),115,1000,if(r4,rgb(100,0,0),rgb(0,50,0)));
drawrectrel(100,const(1000-(m14*150/maxw)),115,1000,if(r14,rgb(200,0,200),rgb(80,0,255)));
drawrectrel(80,const(1000-(m5*500/maxv)),95,1000,if(r5,rgb(100,0,0),rgb(0,50,0)));
drawrectrel(60,const(1000-(m6*500/maxv)),75,1000,if(r6,rgb(100,0,0),rgb(0,50,0)));
drawrectrel(40,const(1000-(m7*500/maxv)),55,1000,if(r7,rgb(100,0,0),rgb(0,50,0)));
drawrectrel(20,const(1000-(m8*500/maxv)),35,1000,if(r8,rgb(100,0,0),rgb(0,50,0)));
drawrectrel(0,const(1000-(m9*500/maxv)),15,1000,if(r9,rgb(100,0,0),rgb(0,50,0)));
drawtext_fix(currbarscount=1,0.0035,1,0,'十'),colorwhite;
drawtext_fix(currbarscount=1,0.0235,1,0,'九'),colorwhite;
drawtext_fix(currbarscount=1,0.0435,1,0,'八'),colorwhite;
drawtext_fix(currbarscount=1,0.0635,1,0,'七'),colorwhite;
drawtext_fix(currbarscount=1,0.0835,1,0,'六'),colorwhite;
drawtext_fix(currbarscount=1,0.1035,1,0,'五'),colorwhite;
drawtext_fix(currbarscount=1,0.1235,1,0,'四'),colorwhite;
drawtext_fix(currbarscount=1,0.1435,1,0,'三'),colorwhite;
drawtext_fix(currbarscount=1,0.1635,1,0,'二'),colorwhite;
drawtext_fix(currbarscount=1,0.1835,0.95,0,'今'),colorwhite;
drawtext_fix(currbarscount=1,0.1835,1,0,'天'),colorwhite;
分时均价线:sum(c*v,240)/sum(v,240),colorbrown;
md:=ema(c,1)-ema(c,5);
stickline(md>0,dynainfo(3),dynainfo(3)+md*2,0,1),color5151a2;
stickline(md<=0,dynainfo(3),dynainfo(3)+md*2,0,1),color74743a;
分时线:close,colorcyan;
上升:if(close>=ref(close,1),close,drawnull),color0000c6;
上一指标公式:经典中的经典主图(主图源码)下载 通达信源码
下一指标公式:三浪必吃主图(主图源码)下载 通达信源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文分时决策(分时主图)指标下载 通达信指标源码仅供学习研究。