Topic: I want to playsounds on EA trader!

I want to playsounds on EA trader(buy and sell play different sound)! But I don't know where and how to do it ,Can you help me ?

Re: I want to playsounds on EA trader!

What is "EA Trader"?
Do you mean you want sounds when an Expert Advisor in MetaTrader trades?

Re: I want to playsounds on EA trader!

yes, I want sounds when an Expert Advisor in MetaTrader trades at buy or sell?

Re: I want to playsounds on EA trader!

fx.999 wrote:

yes, I want sounds when an Expert Advisor in MetaTrader trades at buy or sell?

If you can not find it here, you can find it as an external EA.
There are many Ea who perform this type of operation with related notifications, email, etc.

https://www.google.it/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=EA+allert+open+order+mt4

Re: I want to playsounds on EA trader!

There is no ready to use option for setting Buy and Sell sounds in the MetaTrader  setting. However they provide a function for playing sounds from expert advsiors.


bool  PlaySound( 
   string  filename      // file name 
   );

You have to put your buy and sell sound files under the MQL4/Files folder. The files must be WAV format.

Call these files from your expert like that:

PlaySound("buy.wav");

PlaySound("sell.wav");

The full documentation is here: https://www.mql5.com/en/docs/common/playsound

You have to modify your exported experts.

Search the "OrderSend" function in the expert and put the code like that:

http://s10.postimg.org/bukfergll/screenshot_2016_09_08_at_12_20_25.png