function preMain() { setPriceStudy(false); } function main() { //var vOtherClose=close(0, "MSFT"); var vOtherClose=close(0, "FOOBAR"); if (vOtherClose==null) return; return close(0)/vOtherClose; }