Converting Pinescipt indicators to mql5 , compile errors .

 

Hello I tried converting a few tradingview indicators to mql5 but I am getting compile errors , hoping someone can fix and share for all.  Thanks 

mq5 files attached,  Thanks !

 
Darrell Webster: , hoping someone can fix and share for all.

  1. MT5: Begin learning to code it.

    If you don't learn MQL4/5, there is no common language for us to communicate. If we tell you what you need, you can't code it. If we give you the code, you don't know how to integrate it into your code.
              I need HEEEELP, please, it's URGENT...really ! - General - MQL5 programming forum (2017)

  2. Or pay (Freelance) someone to code it. Top of every page is the link Freelance.
              Hiring to write script - General - MQL5 programming forum (2019)

We're not going to code it for you (although it could happen if you are lucky or the problem is interesting.) We are willing to help you when you post your attempt (using CODE button) and state the nature of your problem.
          No free help (2017)