|
var1:=ma(close,5);
var2:=ma(close,10);
var3:=ma(close,60);
var4:=barslast(cross(var1,var3));
var5:=barslast(cross(var2,var3));
var6:=barslast(high=hhv(high,var5));
var7:=barslast(cross(var2,var1));
var8:=barslast(cross(var1,var2));
var9:=var4>var5 and var5>var6 and var6>var7 and var7>var8 and var8<5;
vara:=count(cross(var2,var1),var5)=1;
老鸭头:var9 and vara and var3>ref(var3,1);
drawicon( var9 and vara and var3>ref(var3,1),1.1,1); |
|