成交量
2018-05-05 作者:ADMIN 来源:网络整理
S:=FROMNIGHT;
预计成交量:=IF(s=0 AND FROMOPEN>1,VOL*241/FROMOPEN,VOL);
IF(MARKETTYPE == 16 OR MARKETTYPE == 32 OR MARKETTYPE == 48)
总量:=VOL,colorcyan;
STICKLINE((预计成交量<REF(VOL,1)*8 OR V>REF(V,1)*5) AND 预计成交量>0,0,预计成交量,8,-2),coloryellow;
STICKLINE(预计成交量>REF(VOL,1)*8 AND V<REF(V,1)*5,0,REF(VOL,1)*8,8,-2),coloryellow;
STICKLINE(C<=O,0,VOL,8,0),COLORFCFB56;
STICKLINE(C>O,0,VOL,8,1),COLOR3033FE;
TOTAL:=IF(DATETIME=1,5,IF(DATETIME=2,15,IF(DATETIME=3,30,IF(DATETIME=4,60,IF(DATETIME=5,240,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
VVOL:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
MAVOL5:MA(VOL,5),colormagenta;
MAVOL10:MA(VOL,10),colorgreen;
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
OBV2:=EMA(OBV1,3)-MA(OBV1,9);
OBV3:=EMA(IF(OBV2>0,OBV2,0),3);
MAC3:=MA(C,3);
STICKLINE(OBV3>REF(OBV3,1) AND MAC3>REF(MAC3,1),0,OBV3/2,4,0),coloryellow;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
长期线:=A+100;
短期线:=B+100;
中期线:=D+100;
见顶:=((REF(中期线,1)>85 AND REF(短期线,1)>85 AND REF(长期线,1)>65) AND CROSS(长期线,短期线));
顶部区域:=(中期线<REF(中期线,1) AND REF(中期线,1)>80) AND (REF(短期线,1)>95 OR REF(短期线,2)>95 ) AND 长期线>60 AND 短期线<83.5
AND 短期线<中期线 AND 短期线<长期线+4;
顶部:=FILTER(顶部区域,4);
STICKLINE( 见顶 OR 顶部,VOL,VOL*1.1,20,1 ),colorblue,LINETHICK2;
VAR6:=REF(CLOSE,1);
VAR7:=SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;
STICKLINE( CROSS(84,VAR7),VOL,VOL*1.05,20,1 ),colorblue,LINETHICK2;
阅读:328 评论:0