Converting mql4 to mql5

 

I've been trying to convert an mql4 indicator to mql5. I've successful changes the code it compiles and runs but the indicator doesn't display on chart. I do get a buffer showing in the data window no error logs anywhere so I'm pretty much confused at this point how to move forward 


Below is some attached screenshots

Files:
compiled.PNG  97 kb
problem.PNG  100 kb
charts.mq5  20 kb
 

Do you really expect an answer? There are no mind readers here and our crystal balls are cracked. Always post all relevant code (using Code button) or attach the source file.

 
William Roeder #:

Do you really expect an answer? There are no mind readers here and our crystal balls are cracked. Always post all relevant code (using Code button) or attach the source file.

Sorry about that. Above is attached the mql5 file and mql4 file