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));:IF((持股天数 > 1),SUM(Q7,持股天数),1),STICK,COLORBLUE;持股天:BARSLAST((BARSLAST(((BIAS20 > 0) AND (REF(BIAS20,1) > 0))) > 0)),STICK,COLORRED;天数:BARSLAST((BARSLAST(((BIAS20 < 0> 0)),STICK,COLORGREEN;信号:IF(REF(持币天数,1)>0 AND 持币天数=0,3,0),STICK,COLORBLUE;信号:IF(REF(持股天数,1)>0 AND 持股天数=0,3,0),STICK,COLORYELLOW;STICKLINE((利润 > 0),利润,0,1,0),COLOR00