天晶剑1:=(ema(close,6) - ema(close,13));天晶剑2:=ema(天晶剑1,9);天晶剑3:=barslast(cross(天晶剑1,天晶剑2));天晶剑4:=ref(天晶剑3,天晶剑3+1);天晶剑5:=天晶剑2<ref(天晶剑2,天晶剑4);天晶剑:cross(天晶剑1,天晶剑2) and 天晶剑5;
{没有未来}var1:=(close-llv(low,36))/(hhv(high,36)-llv(low,36))*100;var2:=sma(var1,3,1);var3:=sma(var2,3,1);var4:=sma(var3,3,1);k:=var3;d:=var4;v**:=cross(var3,var4) and var3<20;filter(v**,10)=1;