Forum

my EA isn't called on each transaction

void OnTradeTransaction ( const MqlTradeTransaction & trans, const MqlTradeRequest & request, const MqlTradeResult & result) { //--- string url; string time= TimeToString ( TimeCurrent ()); string cookie= NULL ,headers; char

Send trades to a MySQL database

I would like to send each trade opened/closed from my MT5 client to a MySQL database. Like i am issuing trading signals to that database. How can i do that? I am a beginner with MQL5