对比时间:=40;
X_1:=CLOSE>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,30);
X_2:=(CLOSE/REF(CLOSE,1)-INDEXC/REF(INDEXC,1))*100;
基本条件:X_1;
X_3:=IF(X_2>0.5,X_2,0);
主力因子:SUM(X_3,对比时间);
强势因子:SUM(X_2,对比时间);
对比时间:=40;
X_1:=CLOSE>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,30);
X_2:=(CLOSE/REF(CLOSE,1)-INDEXC/REF(INDEXC,1))*100;
基本条件:X_1;
X_3:=IF(X_2>0.5,X_2,0);
主力因子:SUM(X_3,对比时间);
强势因子:SUM(X_2,对比时间);