How to adjust MT5 Pivot Point Indicator to work with MT4

 
I have this PP indicator that I have been using with MT% but things have changed and I am forces to go back to MT4. I have tried to play with it on my own but unfortunately is it not working as it should. Can anybody take a look and help me adjusting this ind to make it work with MT$. Your help will be greatly appreciated.
Files:
 

Add these lines in "OnInit".

   ArraySetAsSeries(R3Buffer, false);
   ArraySetAsSeries(R2Buffer, false);
   ArraySetAsSeries(R1Buffer, false);
   ArraySetAsSeries(PPBuffer, false);
   ArraySetAsSeries(S1Buffer, false);
   ArraySetAsSeries(S2Buffer, false);
   ArraySetAsSeries(S3Buffer, false);

And also the following in "OnCalculate".

   ArraySetAsSeries(time,  false);
   ArraySetAsSeries(open,  false);
   ArraySetAsSeries(high,  false);
   ArraySetAsSeries(low,   false);
   ArraySetAsSeries(close, false);
 
its not working....((((
 

Everyone I have talked to says mq5 cannot be converted to mq4.  There are basic differences in code and if you are trying to rewrite the mq5 and leave it mq5 it will not install in mt4 regardless.

 
Michael Maggi: Everyone I have talked to says mq5 cannot be converted to mq4.
  1. Of course it can be in most cases. It's just not trivial to do so. Show us your attempt (using the CODE button) and state the nature of your problem.
              No free help
              urgent help.

    Or pay someone. Top of every page is the link Freelance.

  2. It's a standard pivot indicator. Grab a MT4 one.