I have updated the indicator to meet some requested functionality on this current thread and another thread (viewtopic.php?f=27&t=36197
Specifically, a bunch of you requested that if the number is less than the forecast, it should be negative. Amusingly, some of you even requested the exact opposite, i.e. if the actual number is greater than the forecast, it is negative. Even though I disagree with all of you, there is now a new parameter called Meaning of Negative
where you can toggle if the previous behavior applies or the new behavior.
I have also changed the text for each news event to show the previous value in the event of the forecast value not being available.
Additionally, someone requested that you be able to choose which currency news are shown. This is now implemented via the Instruments
and Instruments List
parameters. Instruments is a selection box which allows you to choose to show news related to All Instruments, the Current Instrument, or the instruments specified in the List. Set Instruments to List and fill in the Instruments List parameter with a comma separated list of currencies, for example, EUR,USD,JPY and you should be fine.
Please download the updated version from the first post in this thread.Update
Apologies I updated the code again about 90 minutes later as it had several bugs due to the data format constantly changing so please redownload if you did.
Sometimes units were provided, sometimes currency pair symbols were provided. It is pretty robust now but even still there are times where the values cannot be parsed elegantly because they have been entered wrong. Sorry, not my fault, blame DailyFX. However, if that does happen you'll see them appear in the Event Log window like in the attached screenshot.