Request for code alert

 

Hi, could anyone post some code which would alert if a symbol has no open orders? Would really appreciate it, Lee