Hey all, I have a random question. Does anyone know how to add sound alerts in MT4 when an order is either opened or closed, similar to the way Fap Turbo does? My alerts work with manual open/close, but when my EA’s are taking action (TP/SL) I would love to have an audio alert for when I’m not watching.
Any thoughts? Thanks.
Any EA can play a sound when order is open or closed by that EA.
TP and SL are not actions managed by EA but by broker’s server.
So, basically you need a different script (or function on EA) that will track last open/closed order.
How to do that?
Select last order from open orders and store it’s ticket number in global variables.
Then compare last open order’s ticket with global variable value.
If not match it mean is a new order.
In this case play a sound, send a mail or any action you want.
Set global variable to new order ticket.
Same goes for history, but there order in list depend on how is sorted history view, so better to loop on all orders and pick as last order with most recent close date.
Thanks Enforcer for the reply. Appreciate the info.
do a search on google for chin breakout alert theres a video on youtube regarding it as well.