Getting the newsfeed directly into my favorite charting software is always been interesting to me. If you are a news-hungry trader/investor possibly you may be also thinking in the same front as it increases productivity while trading hours rather than opening a separate portal and scrolling through the newsfeed one by one. It also helps you to have a quick overview of the market before the market starts and the quick market summary post market hours as well.
Here is the simple code snippet which brings varieties of Moneycontrol news feed into Amibroker Charting Portal with an appropriate timestamp which help you to get a quick glance about the latest happenings about the Financial Markets.
Coded requires Amibroker 6.17 as some of the new AFL functions like InternetClose( handle ) , InternetOpenURL( “url” ) , InternetReadString( handle ) – which is essecial to read from internet resource is available from v6.17 or higher version.
Amibroker Parameter control is provided to select from the List of Supported Newsfeed type from Moneycontrol
Moneycontrol News Snippet – Amibroker AFL Code
Let me know in the comments section, how did the code work for you.