Hi,
I am trying to convert the attached script from mq4 to vtl. I am converted it as per mq4 logic. But it takes more number of orders than given variable 'NumberOfTrades'. It takes more time to take pending request before that the for loop iteration increase and it takes same lot order again and because of that it not working according to expert logic. Please can you guide me the solution for this problem.
I have attached mq4 as well as my converted vtl file. Please guide me the solution asap.
Thanks in advance.
Bookmarks