Skip to content

Commit

Permalink
Added processing confirmation messages when modifying or deleting an …
Browse files Browse the repository at this point in the history
…order.
  • Loading branch information
Austen Conrad committed Nov 15, 2013
1 parent 0031b2d commit d9d4d93
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/mql4zmq_bridge.mq4
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,10 @@ int start()
{
Print("Order: " + trade_update_settings[0] + " updated stop loss to: " + trade_update_settings[2] + ", take profit to: " + trade_update_settings[1] + ", and open price to: " + trade_update_settings[3]);
}

// Send response.
if(send_response(uid, "Order has been processed.") == false)
Print("ERROR occurred sending response!");
}
}
else if (StringFind(message2, "unset", 0) != -1)
Expand Down Expand Up @@ -354,7 +358,12 @@ int start()
}
else
{

Print("Closed trade: " + ticket_id);

// Send response.
if(send_response(uid, "Order has been processed.") == false)
Print("ERROR occurred sending response!");
}

}
Expand Down

0 comments on commit d9d4d93

Please sign in to comment.