看到大家都喜欢分时指标--特发分时极品给各位坛友!

[复制链接]
查看155 | 回复0 | 2022-7-11 12:25:27 | 显示全部楼层 |阅读模式
通达信分时极品!具体用法见图!

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;


被引用一.txt
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);



2013110916072544.png

2013110916072544.png

20131109164630813.rar

1.98 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

20131109164630813.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则