通达信资金动向副图公式、
源码
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;
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(V4>=0,V4,0),COLOR32CD32,LINETHICK2;
大资金进:IF(VB>=0,VB,0),COLORC0D9D9,LINETHICK2;
主力撤: IF(V4<=0,V4,0),COLORFF2400,LINETHICK2;
大资金撤:IF(VB<=0,VB,0),COLORYELLOW,LINETHICK2;
542233925.jpg
|