var1:=if(period=1,5,if(period=2,15,if(period=3,30,if(period=4,60,if(period=5,totalfznum,1)))));mtime:=mod(fromopen,var1);ctime:=if(mtime<0.5,var1,mtime);vvol:=if((currbarscount=1 and dyna**(8)>1...
试试t1:=c>o;t2:=v<=ref(v,1) and c<o;t3:=v<ref(v,1) and co;xg:ref(t1,3) and ref(t2,2) and ref(t3,1) and t4;你图上的最后一天是最高量,但你的语言描述里又是只要大于阴量就ok了,也就是说,最后一天只要大于前两天阴量的最高量就ok了,对吗?理解有误的话,请追问。希望能帮到你!