Google Spreadsheet TSW Trading Script