以下是通达信财富战神 选股指标源码
{财富战神}
VAR0 := MA(C,5);
VAR1 := MA(C,10);
VAR2 := MA(C,20);
VAR3 := MA(C,60);
VAR4 := MA(C,120);
VAR5 := ((((((((VAR0 > VAR1) AND (VAR1 > VAR2)) AND (VAR2 > VAR3)) AND (VAR3 > VAR4)) AND (VAR0 > REF(VAR0,1))) AND (VAR1 > REF(VAR1,1))) AND (VAR2 > REF(VAR2,1))) AND (VAR3 > REF(VAR3,1))) AND (VAR4 > REF(VAR4,1));
VAR6 := (((((((((ABS(REF(OPEN,1) - REF(C,1))) / REF(C,1)) < 0.03) AND (OPEN > REF(LOW,1))) AND (C > REF(HIGH,1))) AND ((C / OPEN) > 1.04)) AND CROSS(MACD.MACD,0)) AND (C > MA(C,5))) AND VAR5) AND 8;
VAR7 := (HHV(MAX(C,0),20) / LLV(MIN(C,OPEN),20)) <= 1.15;
VAR8 := (((HIGH - C) / C) * 100) < 1;
VAR9 := (C / REF(C,1)) > 1.038;
VAR10 := ((((((REF((C > OPEN) OR (OPEN > C),43)) AND (REF((C > OPEN) OR (OPEN > C),37))) AND (REF((C > OPEN) OR (OPEN > C),16))) AND (REF((C > OPEN) OR (OPEN > C),25))) AND (REF((C > OPEN) OR (OPEN > C),29))) AND (REF((C > OPEN) OR (OPEN > C),2))) AND (REF((C > OPEN) OR (OPEN > C),24));
财富战神 : (((VAR6 AND VAR7) AND VAR8) AND VAR9) AND VAR10;