i want to convert my MQL4 indicator to Pine script indicator so that i can use it in trading view need support

 
i want to convert this MQ4 indicator to Pine script indicator so that i can use it in trading view need support 
 
Jignesh Pathak:
i want to convert this MQ4 indicator to Pine script indicator so that i can use it in trading view need support 

What do you want to do from translating this? You need to remove BUFFERS in the code and define arrows with Objects.

Reason: