how to write your own forex robot trading news events forex