if(handle = INVALID_HANDLE)An assignment; not a comparison.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
My code below is running into error 5008 and from my understanding it's because I'm not closing the csv file after reading it? However I have closed it but don't seem to figure out why this is popping up. My files are in the MQL4/Files folder so my file path is correct. Can someone please tell me what's wrong with it?
The goal of this code is to import a CSV file every x seconds and read a specific cell from the file and then save the value to an array which will then be used to either Buy/Sell.