ThinkScript code for use with ThinkOrSwim