Hi,
The code you included looks very wrong. It only runs once when it's placed on the chart, and then it will not run anymore.
Could you just give a description from the beginning?
I have over a decade of experience in coding trading systems, and spent the last 9 years focused on developing in mql4/5 for the metatrader platform. Although relatively new to this site, I am definitely qualified for the job.
Thanks for considering me.
Cheers,
Shi Jun