Close the Trade Terminal in MT4 through Code

 

Hi Guys,

is it possible to Open/Close the Trade Terminal equivalent the CTRL-T but in Code??

Has anyone done this?

If yes - please provide a code example.

Thankyou,

Ian