54 is simply the lookback period needed for a RSI(14). The period is greater than 14 because the RSI is a cumulative indicator.