downloading data from sql database and annotate chart

 
I have recently download the meta trader 4 platform. 

I have my own back testing engine which stores some output in my sql server database. The output depends on the model I am testing. However the output can just be as simple as the time of entry of a trade.

Say I have run a back test simulation (i.e EURUSD from 2010 to 2011) and stored the time of the buy and sell entries in my SQL database. I would then like to go to my MetaTrader 4 platform and run a script which would download the time of all the buy and sell entries from my sql database and on my EURUSD chart label all the buys/sells with a simple "b"/"s" at the time the trades were put on. Is this possible in MQL4?
 

There is an article about sql.

Google would have told you and a lot more than that.

Reason: