Forex



Go Back   Forex Trading > Downloads > Indicators - Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 08-22-2007, 02:09 PM
lemmon138's Avatar
Junior Member
 
Join Date: Apr 2007
Location: LA, CA
Posts: 1
lemmon138 is on a distinguished road
Changing an audio alert? can you do it?

Hi Guys,

I need your expert brains for a moment. Is there a way to assign a different audio file to a custom indicator? I have an EA running and a moving average cross over with audio alert all running at the same time. They both have the same audio alert. So, if I can change one to a different sound, it will make it much clearer when I should run back into the room. Does that make sense?

I asked a MT4 friend about this in a chat room, and he said that MT4 uses the same audio file for all alerts. Is this true?

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 08-22-2007, 02:35 PM
Administrator
 
Join Date: Sep 2005
Posts: 20,059
Blog Entries: 241
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by lemmon138 View Post
Hi Guys,

I need your expert brains for a moment. Is there a way to assign a different audio file to a custom indicator? I have an EA running and a moving average cross over with audio alert all running at the same time. They both have the same audio alert. So, if I can change one to a different sound, it will make it much clearer when I should run back into the room. Does that make sense?

I asked a MT4 friend about this in a chat room, and he said that MT4 uses the same audio file for all alerts. Is this true?

Thanks!
You may look inside the code and if it is mentioned some audio file (usually it names inside the code) so you may change the name inside the code to your name and also upload this file in audio alert folder in Metatrader C:\Program Files\MetaTrader 4\sounds
But i am not sure exactly.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 08-23-2007, 05:09 AM
Willis11of12's Avatar
Senior Member
 
Join Date: Dec 2005
Posts: 105
Willis11of12 is on a distinguished road
I made a .wav file of a bunch of Napolean Dynomite quotes and saved it in the sounds folder and then had the playsound function look at that file instead of the usual alert.wav file. If you want, I can something like this in your code. Just send me a private message.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 08-23-2007, 04:59 PM
jhernandez's Avatar
Member
 
Join Date: Mar 2006
Posts: 35
jhernandez is on a distinguished road
You can modify the 'global' alert sound by going to the Tools -> Options -> Events menu in Metatrader. Here you can change what the sounds are for every event in metatrader.

You can also play a sound from anywhere in your code using the following snippet:

PlaySound("mysound.wav");

Like newdigital mentioned, the .wav file needs to be in your "C:\Program Files\MetaTrader 4\sounds" folder in order to be accessible via your code.

-Juan
__________________
Pippin' ain't easy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Indicator changing on reload Jin Indicators - Metatrader 4 2 06-22-2007 07:52 AM
can anyone pls help me code this stepMA stoch to give an audio alert when it crosses? areeq69 Indicators - Metatrader 4 2 02-13-2007 07:30 AM
Changing Times Pervaz General Discussion 3 08-29-2006 11:03 PM
Changing Time in MT4 RJames5541 Metatrader 4 3 07-30-2006 03:02 PM
Changing Time in MT4 fthomas Metatrader 4 3 04-09-2006 04:15 AM


All times are GMT. The time now is 03:34 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.