安心持有 一路捂股 必有厚报 选股源码
Var0:=SMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30)),3,1);Var1:=SMA(Var0,3,1)*100;Var2:=MA(Var1,7);XG:IF(Var2>REF(Var2, 1) and REF(Var2, 1)<REF(Var2, 2) and ref(c,BARSLAST(REF(Var2, 1)>REF(Var2, 2) ))>1.4*c,1,0);