%>
VAR1:=IF(CLOSE>=REF(CLOSE,1),VOL/CAPITAL,0);
VAR2:=IF(CLOSE<=REF(CLOSE,1),VOL/CAPITAL,0);
VAR3:=SUM(VAR1,10);
VAR4:=SUM(VAR2,10);
VAR5:=IF(CLOSE>=MA(CLOSE,5),VOL/CAPITAL,0);
VAR6:=IF(CLOSE<=MA(CLOSE,5),VOL/CAPITAL,0);
VAR7:=SUM(VAR5,10);
VAR8:=SUM(VAR6,10);
VAR9:=IF(MA(CLOSE,5)>=REF(MA(CLOSE,5),1),VOL/CAPITAL,0);
{股票教程网-股票公式网站 www.gwgz.net}
VARA:=IF(MA(CLOSE,5)<=REF(MA(CLOSE,5),1),VOL/CAPITAL,0);
VARB:=SUM(VAR9,10);
VARC:=SUM(VARA,10);
VARD:=IF(EMA(CLOSE,10)>=REF(EMA(CLOSE,10),1),VOL/CAPITAL,0);
VARE:=IF(EMA(CLOSE,10)<=REF(EMA(CLOSE,10),1),VOL/CAPITAL,0);
VARF:=SUM(VARD,10);
VAR10:=SUM(VARE,10);
做多资金:VAR3+VAR7+VARB+VARF,COLORRED;
做空资金:VAR4+VAR8+VARC+VAR10,COLORCYAN;
做多平滑:ema(做多资金,3),COLORWHITE,LINEDOT;
{股票教程网-承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}