No, in most cases they will not. The programming languages are very different. In some cases, simple changes can be made to make an MT4 EA or indicator work in MT5, while in other cases the code will need to me rewritten.