分时决策--分时图看盘指标公式[通达信公式]
相关标签: 分时资金博弈副图公式 、 分时资金统计公式 、 通达信分时图指标公式 、 通达信分时资金博弈公式 、 分时主图买卖指标公式 、 分时买卖点指标公式 、 分时买卖决策指标公式 、
重要说明:1、本人水平有限,加上已经将近4年不接触公式了,一个简单的分时图公式要搞几天,请理解。2、公式可能存在错误,请在使用的过程中自己修正(修正好了最好也提供给大家,让大家一起分享你的成功。3、因运用了L2行情函数,本公式需要L2数据支持,不同于有些不用L2行情函数也能编出“资金流向”的公式。4、因软件数据非全推方式,盘中可能造成软件运行慢的问题,盘后需要下载数据。5、不加密,两种方式提供,一是源码提供,二是导入提供。6、放在股软区的原因主要是为了照顾在这里折腾的朋友,估计你们很少光顾指标区的(我就这样),请理解和原谅,如有不妥,请转帖或删除。7、因为显示屏的分别率的不同,公式显示的位置可能和你有些区别,需要你自己对里面的数字进行调整。8、其他未尽事宜,自己看着办
被引用一
原理解析:
来源:程序化99( WWW.CXH99.COM )
源码:
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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)>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;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容