当前位置:首页 > 科技 > 正文

过左峰成交量

{过左峰成交量}
T:=BARSLAST(V=V#MONTH);
HT:=BARSLAST(FILTERX(H=HHV(H,T+1),T));
HT1:=SUMBARS(HT=0,2);
HT2:=SUMBARS(HT=0,3);
HT3:=SUMBARS(HT=0,4);
HT4:=SUMBARS(HT=0,5);
HT5:=SUMBARS(HT=0,6);
HT6:=SUMBARS(HT=0,7);
HT7:=SUMBARS(HT=0,8);
HT8:=SUMBARS(HT=0,9);
HT9:=SUMBARS(HT=0,10);
HT10:=SUMBARS(HT=0,11);
HT11:=SUMBARS(HT=0,12);
HT12:=SUMBARS(HT=0,13);
HT13:=SUMBARS(HT=0,14);
HT14:=SUMBARS(HT=0,15);
HT15:=SUMBARS(HT=0,16);
HT16:=SUMBARS(HT=0,17);
HT17:=SUMBARS(HT=0,18);
HT18:=SUMBARS(HT=0,19);
HT19:=SUMBARS(HT=0,20);
HT20:=SUMBARS(HT=0,21);
H1:=REF(H,HT1-1);
H2:=REF(H,HT2-1);
H3:=REF(H,HT3-1);
H4:=REF(H,HT4-1);
H5:=REF(H,HT5-1);
H6:=REF(H,HT6-1);
H7:=REF(H,HT7-1);
H8:=REF(H,HT8-1);
H9:=REF(H,HT9-1);
H10:=REF(H,HT10-1);
H11:=REF(H,HT11-1);
H12:=REF(H,HT12-1);
H13:=REF(H,HT13-1);
H14:=REF(H,HT14-1);
H15:=REF(H,HT15-1);
H16:=REF(H,HT16-1);
H17:=REF(H,HT17-1);
H18:=REF(H,HT18-1);
H19:=REF(H,HT19-1);
H20:=REF(H,HT20-1);
G1:=IF(CURRBARSCOUNT<=CONST(HT)+1,H1,REF(H,HT));
G2:=IF(CURRBARSCOUNT<=CONST(HT)+1,H2,H1);
G3:=IF(CURRBARSCOUNT<=CONST(HT)+1,H3,H2);
G4:=IF(CURRBARSCOUNT<=CONST(HT)+1,H4,H3);
G5:=IF(CURRBARSCOUNT<=CONST(HT)+1,H5,H4);
G6:=IF(CURRBARSCOUNT<=CONST(HT)+1,H6,H5);
G7:=IF(CURRBARSCOUNT<=CONST(HT)+1,H7,H6);
G8:=IF(CURRBARSCOUNT<=CONST(HT)+1,H8,H7);
G9:=IF(CURRBARSCOUNT<=CONST(HT)+1,H9,H8);
G10:=IF(CURRBARSCOUNT<=CONST(HT)+1,H10,H9);
G11:=IF(CURRBARSCOUNT<=CONST(HT)+1,H11,H10);
G12:=IF(CURRBARSCOUNT<=CONST(HT)+1,H12,H11);
G13:=IF(CURRBARSCOUNT<=CONST(HT)+1,H13,H12);
G14:=IF(CURRBARSCOUNT<=CONST(HT)+1,H14,H13);
G15:=IF(CURRBARSCOUNT<=CONST(HT)+1,H15,H14);
G16:=IF(CURRBARSCOUNT<=CONST(HT)+1,H16,H15);
G17:=IF(CURRBARSCOUNT<=CONST(HT)+1,H17,H16);
G18:=IF(CURRBARSCOUNT<=CONST(HT)+1,H18,H17);
G19:=IF(CURRBARSCOUNT<=CONST(HT)+1,H19,H18);
G20:=IF(CURRBARSCOUNT<=CONST(HT)+1,H20,H19);
X1:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(H,HT1),HHV(H,HT+1));
X2:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(H,HT2),HHV(H,HT1));
X3:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(H,HT3),HHV(H,HT2));
X4:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(H,HT4),HHV(H,HT3));
X5:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(H,HT5),HHV(H,HT4));
X6:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(H,HT6),HHV(H,HT5));
X7:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(H,HT7),HHV(H,HT6));
X8:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(H,HT8),HHV(H,HT7));
X9:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(H,HT9),HHV(H,HT8));
X10:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(H,HT10),HHV(H,HT9));
X11:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(H,HT11),HHV(H,HT10));
X12:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(H,HT12),HHV(H,HT11));
X13:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(H,HT13),HHV(H,HT12));
X14:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(H,HT14),HHV(H,HT13));
X15:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(H,HT15),HHV(H,HT14));
X16:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(H,HT16),HHV(H,HT15));
X17:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(H,HT17),HHV(H,HT16));
X18:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(H,HT18),HHV(H,HT17));
X19:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(H,HT19),HHV(H,HT18));
X20:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(H,HT20),HHV(H,HT19));
V1:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(V,HT1),HHV(V,HT+1));
V2:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(V,HT2),HHV(V,HT1));
V3:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(V,HT3),HHV(V,HT2));
V4:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(V,HT4),HHV(V,HT3));
V5:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(V,HT5),HHV(V,HT4));
V6:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(V,HT6),HHV(V,HT5));
V7:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(V,HT7),HHV(V,HT6));
V8:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(V,HT8),HHV(V,HT7));
V9:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(V,HT9),HHV(V,HT8));
V10:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(V,HT10),HHV(V,H9));
V11:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(V,HT11),HHV(V,HT10));
V12:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(V,HT12),HHV(V,HT11));
V13:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(V,HT13),HHV(V,HT12));
V14:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(V,HT14),HHV(V,HT13));
V15:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(V,HT15),HHV(V,HT14));
V16:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(V,HT16),HHV(V,HT15));
V17:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(V,HT17),HHV(V,HT16));
V18:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(V,HT18),HHV(V,HT17));
V19:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(V,HT19),HHV(V,HT18));
V20:=IF(CURRBARSCOUNT<=CONST(HT)+1,HHV(V,HT20),HHV(V,H19));
VR1:=IF(CURRBARSCOUNT<=CONST(HT)+1,REF(V,HT1-1),REF(V,HT));
VR2:=IF(CURRBARSCOUNT<=CONST(HT)+1,REF(V,HT2-1),REF(V,HT1-1));
VR3:=IF(CURRBARSCOUNT<=CONST(HT)+1,REF(V,HT3-1),REF(V,HT2-1));
VR4:=IF(CURRBARSCOUNT<=CONST(HT)+1,REF(V,HT4-1),REF(V,HT3-1));
VR5:=IF(CURRBARSCOUNT<=CONST(HT)+1,REF(V,HT5-1),REF(V,HT4-1));
VR6:=IF(CURRBARSCOUNT<=CONST(HT)+1,REF(V,HT6-1),REF(V,HT5-1));
VR7:=IF(CURRBARSCOUNT<=CONST(HT)+1,REF(V,HT7-1),REF(V,HT6-1));
VR8:=IF(CURRBARSCOUNT<=CONST(HT)+1,REF(V,HT8-1),REF(V,HT7-1));
VR9:=IF(CURRBARSCOUNT<=CONST(HT)+1,REF(V,HT9-1),REF(V,HT8-1));
VR10:=IF(CURRBARSCOUNT<=CONST(HT)+1,REF(V,HT10-1),REF(V,HT9-1));
VR11:=IF(CURRBARSCOUNT<=CONST(HT)+1,REF(V,HT11-1),REF(V,HT10));
VR12:=IF(CURRBARSCOUNT<=CONST(HT)+1,REF(V,HT12-1),REF(V,HT11-1));
VR13:=IF(CURRBARSCOUNT<=CONST(HT)+1,REF(V,HT13-1),REF(V,HT12-1));
VR14:=IF(CURRBARSCOUNT<=CONST(HT)+1,REF(V,HT14-1),REF(V,HT13-1));
VR15:=IF(CURRBARSCOUNT<=CONST(HT)+1,REF(V,HT15-1),REF(V,HT14-1));
VR16:=IF(CURRBARSCOUNT<=CONST(HT)+1,REF(V,HT16-1),REF(V,HT15-1));
VR17:=IF(CURRBARSCOUNT<=CONST(HT)+1,REF(V,HT17-1),REF(V,HT16-1));
VR18:=IF(CURRBARSCOUNT<=CONST(HT)+1,REF(V,HT18-1),REF(V,HT17-1));
VR19:=IF(CURRBARSCOUNT<=CONST(HT)+1,REF(V,HT19-1),REF(V,HT18-1));
VR20:=IF(CURRBARSCOUNT<=CONST(HT)+1,REF(V,HT20-1),REF(V,HT19-1));
A1:=COUNT(H>G1,T+1)=1 AND C>=G1 AND REF(X1=G1,1) AND V>REF(V1,1) AND REF(V1=VR1,1)AND CURRBARSCOUNT<=CONST(T)+1;
A2:=COUNT(H>G2,T+1)=1 AND C>=G2 AND REF(X2=G2,1) AND V>REF(V2,1) AND REF(V2=VR2,1) AND CURRBARSCOUNT<=CONST(T)+1;
A3:=COUNT(H>G3,T+1)=1 AND C>=G3 AND REF(X3=G3,1) AND V>REF(V3,1) AND REF(V3=VR3,1) AND CURRBARSCOUNT<=CONST(T)+1;
A4:=COUNT(H>G4,T+1)=1 AND C>=G4 AND REF(X4=G4,1) AND V>REF(V4,1) AND REF(V4=VR4,1) AND CURRBARSCOUNT<=CONST(T)+1;
A5:=COUNT(H>G5,T+1)=1 AND C>=G5 AND REF(X5=G5,1) AND V>REF(V5,1) AND REF(V5=VR5,1) AND CURRBARSCOUNT<=CONST(T)+1;
A6:=COUNT(H>G6,T+1)=1 AND C>=G6 AND REF(X6=G6,1) AND V>REF(V6,1) AND REF(V6=VR6,1) AND CURRBARSCOUNT<=CONST(T)+1;
A7:=COUNT(H>G7,T+1)=1 AND C>=G7 AND REF(X7=G7,1) AND V>REF(V7,1) AND REF(V7=VR7,1) AND CURRBARSCOUNT<=CONST(T)+1;
A8:=COUNT(H>G8,T+1)=1 AND C>=G8 AND REF(X8=G8,1) AND V>REF(V8,1) AND REF(V8=VR8,1) AND CURRBARSCOUNT<=CONST(T)+1;
A9:=COUNT(H>G9,T+1)=1 AND C>=G9 AND REF(X9=G9,1) AND V>REF(V9,1) AND REF(V9=VR9,1) AND CURRBARSCOUNT<=CONST(T)+1;
A10:=COUNT(H>G10,T+1)=1 AND C>=G10 AND REF(X10=G10,1)AND V>REF(V10,1) AND REF(V10=VR10,1) AND CURRBARSCOUNT<=CONST(T)+1;
A11:=COUNT(H>G11,T+1)=1 AND C>=G11 AND REF(X11=G11,1) AND V>REF(V11,1) AND REF(V11=VR11,1) AND CURRBARSCOUNT<=CONST(T)+1;
A12:=COUNT(H>G12,T+1)=1 AND C>=G12 AND REF(X12=G12,1) AND V>REF(V12,1) AND REF(V12=VR12,1) AND CURRBARSCOUNT<=CONST(T)+1;
A13:=COUNT(H>G13,T+1)=1 AND C>=G13 AND REF(X13=G13,1) AND V>REF(V13,1) AND REF(V13=VR13,1) AND CURRBARSCOUNT<=CONST(T)+1;
A14:=COUNT(H>G14,T+1)=1 AND C>=G14 AND REF(X14=G14,1) AND V>REF(V14,1) AND REF(V14=VR14,1) AND CURRBARSCOUNT<=CONST(T)+1;
A15:=COUNT(H>G15,T+1)=1 AND C>=G15 AND REF(X15=G15,1) AND V>REF(V15,1) AND REF(V15=VR15,1) AND CURRBARSCOUNT<=CONST(T)+1;
A16:=COUNT(H>G16,T+1)=1 AND C>=G16 AND REF(X16=G16,1) AND V>REF(V16,1) AND REF(V16=VR16,1) AND CURRBARSCOUNT<=CONST(T)+1;
A17:=COUNT(H>G17,T+1)=1 AND C>=G17 AND REF(X17=G17,1) AND V>REF(V17,1) AND REF(V17=VR17,1) AND CURRBARSCOUNT<=CONST(T)+1;
A18:=COUNT(H>G18,T+1)=1 AND C>=G18 AND REF(X18=G18,1) AND V>REF(V18,1) AND REF(V18=VR18,1) AND CURRBARSCOUNT<=CONST(T)+1;
A19:=COUNT(H>G19,T+1)=1 AND C>=G19 AND REF(X19=G19,1) AND V>REF(V19,1) AND REF(V19=VR19,1) AND CURRBARSCOUNT<=CONST(T)+1;
A20:=COUNT(H>G20,T+1)=1 AND C>=G20 AND REF(X20=G20,1) AND V>REF(V20,1) AND REF(V20=VR20,1) AND CURRBARSCOUNT<=CONST(T)+1;
XT1:=DRAWLINE(CURRBARSCOUNT=CONST(HT1),H,A1,G1,0);
XT2:=DRAWLINE(CURRBARSCOUNT=CONST(HT2),H,A2,G2,0);
XT3:=DRAWLINE(CURRBARSCOUNT=CONST(HT3),H,A3,G3,0);
XT4:=DRAWLINE(CURRBARSCOUNT=CONST(HT4),H,A4,G4,0);
XT5:=DRAWLINE(CURRBARSCOUNT=CONST(HT5),H,A5,G5,0);
XT6:=DRAWLINE(CURRBARSCOUNT=CONST(HT6),H,A6,G6,0);
XT7:=DRAWLINE(CURRBARSCOUNT=CONST(HT7),H,A7,G7,0);
XT8:=DRAWLINE(CURRBARSCOUNT=CONST(HT8),H,A8,G8,0);
XT9:=DRAWLINE(CURRBARSCOUNT=CONST(HT9),H,A9,G9,0);
XT10:=DRAWLINE(CURRBARSCOUNT=CONST(HT10),H,A10,G10,0);
XT11:=DRAWLINE(CURRBARSCOUNT=CONST(HT11),H,A11,G11,0);
XT12:=DRAWLINE(CURRBARSCOUNT=CONST(HT12),H,A12,G12,0);
XT13:=DRAWLINE(CURRBARSCOUNT=CONST(HT13),H,A13,G13,0);
XT14:=DRAWLINE(CURRBARSCOUNT=CONST(HT14),H,A14,G14,0);
XT15:=DRAWLINE(CURRBARSCOUNT=CONST(HT15),H,A15,G15,0);
XT16:=DRAWLINE(CURRBARSCOUNT=CONST(HT16),H,A16,G16,0);
XT17:=DRAWLINE(CURRBARSCOUNT=CONST(HT17),H,A17,G17,0);
XT18:=DRAWLINE(CURRBARSCOUNT=CONST(HT18),H,A18,G18,0);
XT19:=DRAWLINE(CURRBARSCOUNT=CONST(HT19),H,A19,G19,0);
XT20:=DRAWLINE(CURRBARSCOUNT=CONST(HT20),H,A20,G20,0);
TJ:=XT1!=DRAWNULL OR XT2!=DRAWNULL OR XT3!=DRAWNULL OR XT4!=DRAWNULL OR XT5!=DRAWNULL OR XT6!=DRAWNULL OR XT7!=DRAWNULL
OR XT8!=DRAWNULL OR XT9!=DRAWNULL OR XT10!=DRAWNULL OR XT11!=DRAWNULL OR XT12!=DRAWNULL OR XT13!=DRAWNULL OR XT14!=DRAWNULL OR XT15!=DRAWNULL
OR XT16!=DRAWNULL OR XT17!=DRAWNULL OR XT18!=DRAWNULL OR XT19!=DRAWNULL OR XT20!=DRAWNULL;
ST:=BARSLAST(CROSS(TJ,0.5));
B1:=IF(XT1=DRAWNULL,0,XT1);
B2:=IF(XT2=DRAWNULL,0,XT2);
B3:=IF(XT3=DRAWNULL,0,XT3);
B4:=IF(XT4=DRAWNULL,0,XT4);
B5:=IF(XT5=DRAWNULL,0,XT5);
B6:=IF(XT6=DRAWNULL,0,XT6);
B7:=IF(XT7=DRAWNULL,0,XT7);
B8:=IF(XT8=DRAWNULL,0,XT8);
B9:=IF(XT9=DRAWNULL,0,XT9);
B10:=IF(XT10=DRAWNULL,0,XT10);
B11:=IF(XT11=DRAWNULL,0,XT11);
B12:=IF(XT12=DRAWNULL,0,XT12);
B13:=IF(XT13=DRAWNULL,0,XT13);
B14:=IF(XT14=DRAWNULL,0,XT14);
B15:=IF(XT15=DRAWNULL,0,XT15);
B16:=IF(XT16=DRAWNULL,0,XT16);
B17:=IF(XT17=DRAWNULL,0,XT17);
B18:=IF(XT18=DRAWNULL,0,XT18);
B19:=IF(XT19=DRAWNULL,0,XT19);
B20:=IF(XT20=DRAWNULL,0,XT20);
HA:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(B1,B2),B3),B4),B5),B6),B7),B8),B9),B10);
HB:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(B11,B12),B13),B14),B15),B16),B17),B18),B19),B20);
HH:=MAX(HA,HB);
XG1:=A1 OR A2 OR A3 OR A4 OR A5 OR A6 OR A7 OR A8 OR A9 OR A10;
XG2:=A11 OR A12 OR A13 OR A14 OR A15 OR A16 OR A17 OR A18 OR A19 OR A20;
XG:=(XG1 OR XG2) AND HH>0;
Q:=BACKSET(XG,ST+1);
QF:=IF(Q,VOL,0);
DRAWBAND(QF,RGB(255,165,0),0,RGB(0,0,0));
STICKLINE(CURRBARSCOUNT=CONST(ST)+2,0,REFX(V,1),6,0),COLORBLACK;
STICKLINE(REF(XG,1),0,REF(V,1),6,0),COLORBLACK;
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
VVOL:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0;
Y1:=C>O OR (C=O AND C>=REF(C,1));
Y2:=CSTICKLINE(Y1,0,VOL,0,0),COLOR0000FF;
STICKLINE(Y1,0,VOL,2,0),COLOR000099;
STICKLINE(Y1,0,VOL,1,0),COLOR0000BB;
STICKLINE(Y1,0,VOL,0.5,0),COLOR0000DD;
STICKLINE(Y1,0,VOL,0.2,0),COLOR0000FF;
STICKLINE(Y1,VOL,0,2,0),COLOR000055;
STICKLINE(Y1,VOL,0,1.8,0),COLOR000066;
STICKLINE(Y1,VOL,0,1.5,0),COLOR000077;
STICKLINE(Y1,VOL,0,1.2,0),COLOR000088;
STICKLINE(Y1,VOL,0,0.7,0),COLOR000099;
STICKLINE(Y1,VOL,0,0.5,0),COLOR0000AA;
STICKLINE(Y1,VOL,0,0.07,0),COLOR0000CC;
STICKLINE(Y1,VOL,0,0.02,0),COLOR0000FF;
STICKLINE(Y2,VOL,0,2,0),COLORFF5500;
STICKLINE(Y2,VOL,0,1.8,0),COLORFF6600;
STICKLINE(Y2,VOL,0,1.5,0),COLORFF7700;
STICKLINE(Y2,VOL,0,1.2,0),COLORFF8800;
STICKLINE(Y2,VOL,0,0.7,0),COLORFF9900;
STICKLINE(Y2,VOL,0,0.2,0),COLORFFAA00;
STICKLINE(Y2,VOL,0,0.07,0),COLORFFCC00;
STICKLINE(Y2,VOL,0,0.01,0),COLORFFFF00;
V07:MA(VOL,5),COLORWHITE;
V21:MA(VOL,10),COLORYELLOW;

你可能想看:

有话要说...

取消
扫码支持 支付码