主力净买入、净卖出(通达信副图 源码)
-
相关简介:C/C++ www.zegu.cn 择股网提供 Code 复制内容到剪贴板 JE:=VOL; JJ:=(HIGH+LOW+CLOSE)/3; QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW); 主买:=(QJ0*(JJ-MIN(CLOSE,OPEN))); 主卖:=(QJ0*(MIN(OPEN,CLOSE)-LOW)); TMP:=主买-主卖; 主力活跃度:(主买+主卖)*10000/(2*FINANCE(7)),NODRAW; STICKLINE
-
文章来源:择股网作者:股海网发布时间:2010-05-13浏览次数:
C/C++ www.zegu.cn 择股网提供 Code复制内容到剪贴板
- JE:=VOL;
- JJ:=(HIGH+LOW+CLOSE)/3;
- QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
- 主买:=(QJ0*(JJ-MIN(CLOSE,OPEN)));
- 主卖:=(QJ0*(MIN(OPEN,CLOSE)-LOW));
- TMP:=主买-主卖;
- 主力活跃度:(主买+主卖)*10000/(2*FINANCE(7)),NODRAW;
- STICKLINE(TMP>0,0,主力活跃度,2,0),COLORRED;
- STICKLINE(TMP<0,0,主力活跃度,2,0),COLORGREEN;
- AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
- 买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0;
- 卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORCYAN;
- 主力净流入亿元:MA(买量+卖量/2,3)*AMO/V/100000000,COLORYELLOW,LINETHICK1;