{条件选股公式:!!TSCDXG (通四抄底专家选股系统) 缺省周期:日线 }
Var1:=IF(YEAR>2015 AND MONTH>7, 0, 1);
Var2:=(-100)*(HHV(HIGH, 42)-CLOSE)/(HHV(HIGH, 42)-LLV(LOW, 42));
Var3:=BARSLAST(CROSS(Var2, (-60)) AND LLV(Var2, 10)<(-80));
Var4:=BARSLAST(CROSS((-25), Var2) OR CROSS((-70), Var2) AND Var3<3);
Var5:=BARSLAST(REF(CROSS(Var2, (-60)) AND LLV(Var2, 10)<(-80) OR CROSS(Var2, (-25)), 1))+1;
Var6:=IF(Var4=1, Var5+1, Var4);
(CROSS(Var2, (-60)) AND LLV(Var2, 10)<(-80) OR CROSS(Var2, (-25))) AND Var5