hscol:=100*vol/(finance(7)/100),volstick;aa:=every(hscol>3,3);bb:=every(v>ref(v,1),3);a1:=ma(c,30)>ref(ma(c,30),1)and ma(c,10)>ref(ma(c,10),1)and ma(c,5)>ref(ma(c,5),1);xg:aa=1 and bb=1 and a1=1;{很高兴能回答您的问题,希望能帮到您,也祝您投资顺利} 20210311
你这个要求,要求得有点不明确,obv 3天内创前期新高,这个“前期”是多少天你没说,这里暂定为30天吧。这里3天内我理解成:今天、昨天或前天obv开始创30天以来的新高。jg:=obv=hhv(obv,30);zg:=count(jg,2)=2;qg:=count(jg,3)=3;qzjg:=jg or zg or qg;jx:=ma(c,60)>ma(c,120);zx:=ref(ma(c...
输出波段选5ri:统计5日中满足ma1上穿ma2andma1>昨日ma1andma2>昨日ma2 =1ma1:ma(close,m1);ma2:ma(close,m2);ma3:ma(close,m3);ma4:ma(close,m4);drawtext(cross(ma1,ma2) and ma1>ref(ma1,1) and ma2>ref(ma2,1),ma2,&...