How to code an EA that trade on Calendar news of certain site

How to code an EA that trade on Calendar news.

Sort of fundamental kind.

Basically we know many sites that got calendar with the following

Time , Currency

Actual %, Previous % and Forecasted %

I wanna code an ea that trade base on the % but i am a totally newbie on MQL, i am good with php and other language but not MQL. how do i get going?