VAR1:=CLOSE>=OPEN AND CLOSE>=REF(CLOSE,1);
VAR2:=CLOSE<=30 AND CAPITAL<=30000000;
VAR3:=(NAMELIKE(1) OR NAMELIKE(2))=0;
VAR4:=H>L;
VAR5:=VAR3 AND VAR4;
VAR6:=HIGH-CLOSE<=CLOSE-OPEN AND CLOSE-OPEN<=OPEN-LOW;
VAR7:=MA(CLOSE,13);
VAR8:=EMA(CLOSE,10)-EMA(CLOSE,30);
VAR9:=EMA(VAR8,10);
VAR10:=CLOSE>=VAR7 AND LOW<=VAR7 AND VAR7>=REF(VAR7,1) AND CROSS(VAR8,0) AND VAR8>=VAR9;
VAR11:=VAR8<=0 AND CROSS(VAR8,VAR9);
VAR12:=VAR10 OR VAR11;
选股:VAR1 AND VAR2 AND VAR5 AND VAR6 AND VAR12;
通达信抄底金元宝副图/选股预警 源码
VAR1:=CLOSE>=OPEN AND CLOSE>=REF(CLOSE,1);
VAR2:=CLOSE<=30 AND CAPITAL<=30000000;
VAR3:=(NAMELIKE(1) OR NAMELIKE(2))=0;
VAR4:=H>L;
VAR5:=VAR3 AND VAR4;
VAR6:=HIGH-CLOSE<=CLOSE-OPEN AND CLOSE-OPEN<=OPEN-LOW;
VAR7:=MA(CLOSE,13);
VAR8:=EMA(CLOSE,10)-EMA(CLOSE,30);
VAR9:=EMA(VAR8,10);
VAR10:=CLOSE>=VAR7 AND LOW<=VAR7 AND VAR7>=REF(VAR7,1) AND CROSS(VAR8,0) AND VAR8>=VAR9;
VAR11:=VAR8<=0 AND CROSS(VAR8,VAR9);
VAR12:=VAR10 OR VAR11;
选股:VAR1 AND VAR2 AND VAR5 AND VAR6 AND VAR12;