C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 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,LINETHICK0;
- 流通盘:=CAPITAL *100,LINETHICK0;
- 市值亿:=流通盘*C/100000000,LINETHICK0;
- 占市值比:主力净流入亿元/市值亿*100,LINETHICK0;
-
- STICKLINE(主力净流入亿元>0,0,主力净流入亿元,1,0),COLORRED;
- STICKLINE(主力净流入亿元<0,0,主力净流入亿元,1,0),COLORGREEN;
-