Job finished


Specification
I am working on a 3 Level indicator, that has been already modified, and I want to convert my modified version to MT5.
I have already done most of the conversion, but for some reason, the 2 indicators are not showing the same output.
Please, notice that simply picking up the 3level for MT5 available in the codebase won't work, because the MT4 version that I have has modifications.
Please, notice that the Pinescript and the MT4 versions are doing exactly the same results, but the mq5 version is showing a different result.
I am attaching the 3 files that I have, both work the same way.
Click here to download the Pinescript Version of the 3 Level indicator source code
OR
Click here to download the MT4 Version of the 3 Level Indicator Source Code
Thanks for reading my post. I am Looking forward to getting it done.