股民大家庭

标题: [通达信] 虚拟成交量--(带有个股资金生命线,源码,贴图,附图)  [打印本页]

作者: 紫色璎珞    时间: 2010-12-12 14:00
标题: [通达信] 虚拟成交量--(带有个股资金生命线,源码,贴图,附图) 
本帖最后由 紫色璎珞 于 2010-12-12 15:01 编辑

[通达信] 虚拟成交量--(带有个股资金生命线,源码,贴图,附图) 
带有个股资金生命线的虚拟成交量指标,开盘交易时虚拟成交量才有显示。
VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,5);
MAVOL2:MA(VOLUME,10);
个股资金线:CAPITAL/1000*(MA(C,1)/MA(REF(C,18),18)*100),LINETHICK2,COLOR00FFFF;
资金生命线:MA(FORCAST(个股资金线,20),6),COLORMAGENTA,LINETHICK2;
IF(资金生命线>=REF(资金生命线,1),资金生命线,DRAWNULL),COLORRED,LINETHICK2;
IF(资金生命线<=REF(资金生命线,1),资金生命线,DRAWNULL),COLORGREEN,LINETHICK2;





欢迎光临 股民大家庭 (https://gupiao168.com/) Powered by Discuz! X3.2