【大單動向】指標說明 N:=10; 主買:IF(DYNAINFO(80)>1000000,ISBUYORDER,DRAWNULL),COLORFF00FF,NODRAW; 主賣:IF(DYNAINFO(81)>1000000,ISBUYORDER,DRAWNULL),COLORFF00FF,NODRAW; 被買:IF(DYNAINFO(82)>1000000,BETAVALUE,DRAWNULL),COLOR80FF80,NODRAW; 被賣:IF(DYNAINFO(83)>1000000,BETAVALUE,DRAWNULL),COLOR80FF80,NODRAW; STICKLINE(1,100,主買/3,3,0),COLORFF00FF; STICKLINE(1,100,被買/3,1.5,0),COLOR80FF80; STICKLINE(1,100,主賣/3,3,0),COLORFF00FF; STICKLINE(1,100,被賣/3,1.5,0),COLOR80FF80; X1:=SUBSTR('DVD',2,1); X2:=SUBSTR('X: ',1,6); 當日大單:DRAWNULL,LINETHICK2,COLORBLUE; 平均:MA(當日大單,N),LINETHICK4,COLOR0080FF; H2:=MAX(主買,被買); H1:=MAX(H2,MAX(-主賣,-被賣)); DRAWTEXT(H1=主買 AND H1>0,H2/3,'主買'),COLORFF00FF,DRAWABOVE; DRAWTEXT(H1=被買 AND H1>0,H2/3,'被買'),COLORFF00FF,DRAWABOVE; DRAWTEXT(H1=-主賣 AND H1>0,H2/3,'主賣'),COLOR80FF80,DRAWABOVE; DRAWTEXT(H1=-被賣 AND H1>0,H2/3,'被賣'),COLOR80FF80,DRAWABOVE; X3:=SUBSTR('VK6',1,3); MMP:=IF(ISLASTBAR,BUYVOL-SELLVOL,DRAWNULL); MMB:=IF(ISLASTBAR,BUYVOL/SELLVOL,DRAWNULL); A:=CONST(HHV(主買,60)/2.8); NOTEXT基線:1,DOTLINE,COLORWHITE; X4:=SUBSTR('5589',1,4); DRAWTEXT(ISLASTBAR,A,'1'); NOTEXTMMB1:MMB*A,COLORYELLOW; 外內(nèi)盤差:MMP,NODRAW,COLORYELLOW; 外內(nèi)盤比:MMB,NODRAW,COLORYELLOW; NOTEXT零:0,DOTLINE,LINETHICK3,COLORWHITE; X0:=STRCAT(STRCAT(X1,X2),STRCAT(X3,X4)); DRAWTEXT_FIX(1,0,0.1,0,X0); NOTEXT頂線:IF(ISLASTBAR,1.5,DRAWNULL),COLORWHITE,POINTDOT; STICKLINE(ISLASTBAR,外內(nèi)盤比,外內(nèi)盤比,3,0),COLORYELLOW; |
|
來自: 七彩陽光b5485y > 《指標類》