Digitals113:
I have a code that reads the xml file from news events for the week and holds various information about the events.
The code for the loop is supposed to only read the next news event in the array but it loops to the last instead.
I am using the code below to do this
Any tips to only loop to the next event in the array instead of the last?
I think you have a < TimeGMT() actually , and also you might want to exit the loop if you find the event you are looking for
Issue resolved. Thanks.

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
I have a code that reads the xml file from news events for the week and holds various information about the events.
The code for the loop is supposed to only read the next news event in the array but it loops to the last instead.
I am using the code below to do this
Any tips to only loop to the next event in the array instead of the last?