AFL Amibroker Hi! I need Amibroker AFL code to automatically clean watchlist 1 and add the list from file C:/Temp/ListCP.txt every 5 minutes.

Job ID: 35540712

Budget: $10 – $30 USD

AFL Amibroker
Hi! I need Amibroker AFL code to automatically clean watchlist 1 and add the list from file C:/Temp/ListCP.txt every 5 minutes.
The work steps are as follows:
1. I have a file C:/Temp/ListCP.txt with the following content:
ACB
VCB
DXG
HAG
HUNG
2. The Amibroker AFL file will execute the action every 5 minutes as follows:
2.1. Clean the stocks included in Watchlist 1 of Amibroker.
2.2. Import file C:/Temp/ListCP.txt into Amibroker's Watchlist 1 list to display the stock codes contained in the ListCP.txt file in Ami's Watchlist 1.

Reference links:
https://forum.amibroker.com/t/afl-to-clean-and-update-watchlist-from-text-files/22176/7
Related categories: JavaScript Amibroker Formula Language