上1:=hhv(max(c,o),3);上2:=llv(max(c,o),3);下1:=hhv(min(c,o),3);下2:=llv(min(c,o),3);上:=(上1-上2)/上2*100<0.48;下:=(下1-下2)/下2*100<0.48;二影线:=(h-o)/(o-c)*100<30 and c<o;zrxg:ref(c>o,2) and c>o ...
我能编出来。不难。只是有疑问。你对于第一根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)...
这样形态是少见,你或举例。下面是公式: t1:=ref(v,1)>=ref(v,2)*3;t2:=((ref(c,1)-ref(c,2))/ref(c,2)*100)>8;t3:=v(v,1)and between((c-ref(c,1))/ref(c,1)*100,-1,1);xg:(t1 and t2 and t3);