You need to buy AUD before the settlement date of your AUD stock purchase, or else you will be borrowing AUD. You should trade currency through IDEALPRO because it is cheaper than IDEAL.
If you're trading, you might just want to make the purchases on margin and consider the financing cost as part of your strategy. The rates are pretty low right now even on the AUD.