通达信最好的资金线公式
VAR1:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100{GPGS};
VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100{GPGS};
个股资金:=Ema(C,1)/MA(REF(C,18),18)*100{GPGS};
做空资金: (SMA(VAR1,3,1)+ema(FORCAST(个股资金,20),6)+EMA(100*(INDEXC-LLV(INDEXL,21))/(HHV(INDEXH,21)-LLV(INDEXL,21)),3))/3,COLORFFFF00{GPGS};
做多资金: (SMA(VAR2,5,1)-8+个股资金+EMA(100*(C-LLV(LOW,21))/(HHV(H,21)-LLV(LOW,21)),3))/3, COLORWHITE;
80,POINTDOT,COLORRED{GPGS};
50,POINTDOT,COLORRED{GPGS};
20,POINTDOT,COLORRED{GPGS};
5,POINTDOT,COLORRED;
{.W_W+W*G~P_G_S~C~N~{*}