var1:=open;var2:=open(close,5)and open(close,10)and open(close,20);var3:=close>ma(close,5)and close>ma(close,10)and close>ma(close,20);var4:=cross(ma(close,5),ma(close,20));var1 and var2 and var3 and var4; 20210311
zt:=(c-ref(c,1))/ref(c,1)*100>9.96;a1:=ex**t(zt,30);xg:=hhv(h,120)=h;a2:=ex**t(xg,10);a3:=(ref(hhv(max(c,o),5),1)-ref(min(o,c),1))/ref(min(o,c),1)*100>5 and ref(o,1)>=ref(c,1);a5:=finance(7)*...
a1:=hhv(c,1800)>llv(c,1800)*1.6 and llv(c,1800)*2<hhv(c,1800) and count(c/ref(c,1)>0.098,100)>=1 and barscount(close)>600 ; a2:= (c-ma(c,200))/ma(c,200)<0.2 { 相对于200天线正乖离小于20% };a3:=...
我能编出来。不难。只是有疑问。你对于第一根k线的中阳线或大阳线的涨幅是要求多少%? st:=ref(close,1)/ref(open,1);w1:=st>1.03 and close/open>1 and close/open<st;w2:=open>ref(open,1) and close>ref(close,1);w3:=high<ref(high,1)...