This Mathcad worksheet automatically downloads historical forex (or foreign exchange rate) rates. It does this with a VBScript component that imports data from a web service. You simply need to specify two currencies (via the three-letter currency codes) and two dates. Currency codes can be found at http://www.xe.com/iso4217.php
This Forex data can then be analysed in Mathcad. As an example, Bollinger Bands are plotted. These are used by technical traders on the foreign exchange markets to determine when it is appropriate to buy or sell specific currencies.
Nearly all of the movement of exchange rates is between the two Bollinger Bands. When the exchange rate hits the bottom band, it’s likely to rebound upwards, and when the exchange rate hits the top band it’s likely to fall. Traders use this behaviour (along with many other signals) to indicate when to buy or sell specific currencies.
If you’ve enjoyed this Mathcad worksheet, then here’s
- a Mathcad worksheet to import historical stock quotes (perfect for investigating portfolio optimization techniques),
- an Excel spreadsheet that downloads stock quotes from the Yahoo Finance web service,
- and an Excel spreadsheet to download historical Forex rates
If you use or share this Mathcad worksheet, then I would appreciate a link to investexcel.net.