通达信一阳指源码

X_1:=OPEN<MA(CLOSE,5) AND OPEN<MA(CLOSE,10) AND OPEN<MA(CLOSE,20);
 X_2:=CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,10) AND CLOSE>MA(CLOSE,20);
 X_3:=CLOSE>OPEN;
 X_4:=CLOSE>REF(CLOSE,1)*1.05;
 X_5:=NOT(NAMELIKE(1) OR NAMELIKE(2));
 XG:X_1 AND X_2 AND X_3 AND X_4 AND X_5;