我试过,可以用,有的改进,如下:{你点解不能用?}{波段买卖条件}btj2:=控盘>ref(控盘,1) and 控盘<-0.2;btj3:=cross(能量,空头) and 能量<-0.3;有庄:=filter(btj11 and btj2 and btj3,8);drawtext(有庄,1.5,'←有庄'),colorffff11; 20210311
天晶剑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;
cn1:=hhv(v,5);cn2:=o>c;cn02:=c>o;cn03:=c=o;cn04:=((sum(v,5)/cn1));cn05:=if(cn04>0.3,1,0);cn06:=if(cn2 and cn05,v,0);cn07:=if(cn02 and cn05,v,0);ad:=sum(cn07,3),coloryellow;da:=sum(cn06,3);az:...