A1:=V*C;
B1:=SUM(A1,1)/SUM(V,1);
B2:=EMA(B1,12);
资金:=(EMA((B1-B2)*100/B1,3)+3)*18;
A:=SUM((C-REF(C,1)),0);
B:=SUM(V,0);
VAR0:=(A-MA(A,12))/(STD(A,12));
V1:=(B-MA(B,12))/(STD(B,12));
CC:=SUM(VAR0/V1*100,2);
主力:(EMA(CC,2)+EMA(CC,16.18)+资金)*25;
散户:=EMA(主力,3);
DRAWBAND(主力,RGB(100,200,50),0,RGB(00,100,200));
DRAWBAND(主力,RGB(155,50,10),散户,RGB(0,50,150));
资金趋势:EMA(主力,16.18)-22,COLORYELLOW;