OnTrade() function not working

 

I have scripted and EA to get post request to my server with the required response but I am not able to add it to any chart it is getting removed automatically , however it is working perfectly when i am using OnTick() function , please do resolve this error.

 
Please provide your code, without a code no one will understand your problem
 
Luandre Ezra #:
Please provide your code, without a code no one will understand your problem
Hello Luandre Ezra, 
Thankyou for replying you can find the code here 
https://www.mql5.com/en/forum/462605
it would be great help if you can resolve any of my error 
Thanks!
I am ubable to get closing time for any position and ontrade not working
I am ubable to get closing time for any position and ontrade not working
  • 2024.02.17
  • www.mql5.com
Hello, I am scripting an EA to send post request using sockets in mql5...
Reason: