MQL4 and MQL5 are shared enough that you can use the exact same codebase to compile between the two versions. For instance, many MQL4 function calls have an MQL5 equivalent that's valid in both ...