20:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;Q7:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;天数:=BAAST((BARSLAST(BIAS20>0 AND REF(BIAS20,1)>0))>0);天数:=BARSLAST((BARSLAST(BIAS20<0>0);:IF(持股天数>0,SUM(Q7,持股天数),0),STICK;:IF(REF(持币天数,1)>0 AND 持币天数=0,5,0),STICK,COLORFF00FF;:IF(REF(持股天数,1)>0 AND 持股天数=0,5,0),STICK,COLORFFFF00;持币:IF(持币天数>0,-5,0),STICK;STICKLINE(利润>0,利润,0,2,0),COLORRED;STICKLINE(利润<=0,利润,0,2,0),COLORGREEN;STICKLINE(持币天数>0,-5,0,2,0),COLORYELLOW;STICKLINE(买入>0,5,0,2,0),COLORLIRED;STICKLINE(卖出>0,5,