Period 0 is only replaced when the indicator got a default period by its inventor, such as 21/9 for the MACD. Otherwise, 0 stays 0.