该指标对个股和大盘资金的同期出入进行了标示,无未来函数和数据,可供操作时分析个股使用。附件为源码和示例图。
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
个股资金出: IF(V4<=0,V4,0),COLOR00FF00,LINETHICK2;
个股资金进: IF(V4>=0,V4,0),COLORFF00FF,LINETHICK2;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
大盘资金进: IF(VB>=0,VB,0),COLORRED,LINETHICK2;
大盘资金撤: IF(VB<=0,VB,0),COLORBE97EB,LINETHICK2;