你最后的要求是:“最后要求20个交易日内,出现这种价涨量缩组合的情况大于两次。”别说是20天出现过两次,就连历史上都很难找到出现过一次的票!条件过于苛刻了,一个票都没有搜出来。你是否考虑降低一下标准呀?比如:连续4天改为3天,或者涨幅8%改为4%?等等,最后一条就先别要了。一天比一天高这句话也别要了。条件太多了连个丑媳妇都娶不到!xg:(c-ref(c,3))/ref(c,3)<=0.08 and c>o and ref(c,1)>ref(o,1) and ref(c,2)>ref(o,2) and ref(c,3)>ref(o,3)and c>ref(c,1)and ref(c,1)>ref(c,2)and ref(c,2)>ref(c,3)and v<ref(v,1)and ref(v,1)<ref(v,2)and ref(v,2)<ref(v,3)and ref(v,3)<ref(v,4);哦,选出来了,数量很少,20天之内不可能出现两次,历史上出现两次的机会都很少。600444 和 002621 终于找到丑媳妇了。 20210311
jdst:=ref(c,4)>ref(c,3)and ref(c,3)>ref(c,2)and ref(c,2)>ref(c,1);ldst:=ref(v,4)>ref(v,3)and ref(v,3)>ref(v,2)and ref(v,2)>ref(v,1);jdst and ldst and c>ref(c,1)and llv(c,4)>ref...