VAR1:=HHV(HIGH,55);
VAR2:=LLV(LOW,55);
空仓:= SMA((CLOSE-VAR2)/(VAR1-VAR2),8,1)*100,COLORYELLOW,LINETHICK2;
持股:= EMA(HHV(空仓,3),1),COLORRED,LINETHICK2;
玄黄选股:=持股=空仓 AND 持股<20 AND NOT(REF(持股=空仓,1));
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
短线:=Sma(SMA(RSV1,3,1),3,1)+3*stD(CLOSE,21);
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
长线:=SMA(RSV3,5,1);
黄金坑千载难逢:=CROSS(短线,长线) AND 长线<18 AND 长线>REF(长线,1) OR CROSS(长线,5);
AR :=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
主力挖坑:=AR<50;
三合一:玄黄选股 AND 黄金坑千载难逢 AND 主力挖坑;