Code to estimate exchange rate

Hi,

I’m looking for a code to estimate the exchange rate for a small open economy (Chile). Is there any simple model available? Thank you very much in advance!

Felipe