cxy:=(min(close,open)-low)/(high-low)>0.667;szx:=close=open&&high>low;aal:=sumbars(vol,capital);天量:=if(capital=0,amount=hhv(amount,34),vol>ma(vol,aal)*33/10 );跳空:=ref(h,1)<l;进攻之星:(cxy or szx) and ma(c,20)>=ref(ma(c,20),1)and ma(c,60)>=ref(ma(c,60),1)and ma(c,120)>=ref(ma(c,120),1) and v<ref(v,1)and not(天量)and not(跳空) and not(ref(跳空,1))and c<ref(h,1) and macd>ref(macd,1)and (ref(c/ref(c,1)>1.04.5,1)or ref((o-l)/ref(c,1)>0.05,1)); 20210311
count(ref(c,1)/ref(c,2)>1.07 and ref(c,1)/ref(o,1)>1.07,5)>=1 and every(ref(c,1)>ma(c,20),5) and ref((l,h),1)<>ref((c,o),1) and abs(ref(c,1)/ref(o,1)-1)<0.005 and c>ref(h,1);