Sound Alert
- MT5, sound on closing position
- Signal Trade Sound?
- There is not a single topic about trading on the main page of the traders' forum. Not a single one at all.
you should set a var to recode the order's count, when it is decreased, then play a sound
This MT4 question should be posted on mql4 forum. However I think it's OK since the problem the and solution can also be applied to MT5.
I disagree with codeidea. You should play a sound when the number of OrdersHistoryTotal() get increased.
If you only count OrdersTotal(), there's possibility that a position get opened at the same time with another one get closed, so the number of OrdersTotal () remain the same.
Have fun :)
- www.mql5.com