volume:=vol,volstick;m**ol1:=ma(volume,5);m**ol2:=ma(volume,10);dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);va:=if(close>ref(close,1),vol,-vol);obv:=sum(if(close=ref(close,1),0,va),0);maobv:=ma(obv,30);cross(m**ol1,m**ol2) and cross(dif,dea) and cross(obv,maobv) and ma(close,5)>ref(ma(close,5),1); {已测试} 20210311
aa:=hhv(c,66)/ref(c,60)>=2;cc:=l(c,30)and c>ma(c,30);dd:=c/ma(c,30)>1.0 and c/ma(c,30);ee:=cc or dd;sc:aa and ee;您好试试上述公式,已经通过测试,希望能够帮助到您,也祝愿您投资顺利,心想事成,财源广进,也欢迎追问
a1:=barslast(c/ref(c,1)>=1.098);t1:=count(l>=ref(l,a1),a1)>=a1;t2:=count(h<=ref(h,a1),a1)<=(a1-1);t3:=longcross(c,ref(c,a1),a1) and c>=o;xg:t1 and t2 and t3;
上影:=if(close>open,high-close,high-open);下影:=if(close>open,open-low,close-low);长上影:=abs(close-open)*1.7<上影 and abs(close-open)>下影*2;长下影:=abs(close-open)*1.7<下影 and abs(close-open)>上影*...