编写条件:编写方法:TS:=if(count((c-ref(c,1))/ref(c,1)*100>7,10)>=1,barslast((c-ref(c,1))/ref(c,1)*100>7),0); xg:v<ref(v,ts)/3 and (c-ref(c,1))/ref(c,1)*100<2 and (c-ref(c,1))/ref(c,1)*100>-2;...
编写条件:编写方法:drawtext(islastbar and c>ma(c,5),c,numtostr((h-ma(c,5))/h*100,3)+'%乖离'),colorred,align2,shift20,pxup120; drawtext(islastbar and c<ma(c,5),c,numtostr((ma(c,5)-l)/ma(c,5)*100,3)+'%乖离'),colorgreen,align2,shift20,pxup120;...