Работа завершена
Техническое задание
We have an application that is capturing trade information from emails and saving as CSV files in the MT4 folder. This is from emails generated from purchased indicators we cannot edit the code or from emails from external signals and alerts. As long as we can pick out the relevant trade info (paii, direction, entry, SL, TP), we can automate the placing of trades, currently against demo accounts, to establish performance stats for any strategy/indicator/etc. against every currency pair. This allows us to then do live trades with those knowing which pairs are most profitable and do in-depth analysis against market conditions at the time of the signals.
I have a script that will open orders from these but needs to be run manually and two user interactions to place the order.
I want to get something to check the folder every minute. Take the information from the CSV file (or files) and open a new order. Then (if possible) delete/move the CSV file.
Each file is saved with the name format below so changes each time - can the routine just open the first file in the folder each time it runs if multiple files are copied over.
CSV sample attached.