• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 10:06pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 10:06pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

A Different Kind Of Challenge - From 1000 to >1000 0 replies

A Different Kind of Journal (EURUSD) 29 replies

Sounds - turn off 7 replies

VTTrader: Turning Sounds Off / On 2 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe

Different sounds for different kind of alerts

  • Post #1
  • Quote
  • First Post: Dec 27, 2006 2:14am Dec 27, 2006 2:14am
  •  jtcash
  • | Joined Oct 2006 | Status: Member | 10 Posts
I use 2 different custom indicators in Metatrader. I would like different sounds for every indicator. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o></o>

If I program:<o></o>

PlaySound("alert.wav") for one and<o></o>

PlaySound("alert2.wav") for the other<o></o>

The program plays the same sound (the one I choose in Options/Events/Alert)<o></o>

Someone knows how to do it?<o></o>

Thank you,<o></o>
  • Post #2
  • Quote
  • Dec 27, 2006 2:35am Dec 27, 2006 2:35am
  •  Zeuzere
  • | Joined Oct 2006 | Status: Hum! I like trend | 217 Posts
Ps.: I dont know whats the problem...

Maybe the program, when is unable to find the wav, use the one by default... Also did you check the Terminal->Expert tab to make sure you have no error message...
Also maybe it will sound stupid, but did you try both sound (I mean, do they work and sound differrent lets say in other app.Corrupted file!)
;) Sorry for my bad english translation :)
  • Post #3
  • Quote
  • Dec 27, 2006 2:51am Dec 27, 2006 2:51am
  •  jtcash
  • | Joined Oct 2006 | Status: Member | 10 Posts
changing to:
PlaySound("sounds\alert2.wav")

same results
  • Post #4
  • Quote
  • Dec 27, 2006 2:57am Dec 27, 2006 2:57am
  •  Zeuzere
  • | Joined Oct 2006 | Status: Hum! I like trend | 217 Posts
If you see i did remove the : replace with fulll path
In the Doc they say : "The file must be located in the terminal_dir\sounds directory or in its subdirectory"

Look in it, and try using other file name.
It they all do the same, its not the Alert2 the problem....

Quoting jtcash
Disliked
changing to:
PlaySound("sounds\alert2.wav")

same results
Ignored
;) Sorry for my bad english translation :)
  • Post #5
  • Quote
  • Dec 27, 2006 3:30am Dec 27, 2006 3:30am
  •  jtcash
  • | Joined Oct 2006 | Status: Member | 10 Posts
I have opened a new folder<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o></o>

<o> </o>

sounds\CustomSounds<o></o>

<o> </o>

and programmed:<o></o>

<o> </o>

PlaySound("CustomSounds\alert2.wav")<o></o>

<o> </o>

Same results<o></o>
  • Post #6
  • Quote
  • Dec 27, 2006 3:39am Dec 27, 2006 3:39am
  •  Zeuzere
  • | Joined Oct 2006 | Status: Hum! I like trend | 217 Posts
Did you try "connect.wav"?
;) Sorry for my bad english translation :)
  • Post #7
  • Quote
  • Dec 27, 2006 3:42am Dec 27, 2006 3:42am
  •  trendlinesense
  • | Joined Oct 2006 | Status: happy member | 20 Posts
sounds like same misunderstanding i had,
after double clicking and opening fall down window-check choose other and browse for the sound wave file u want and than click ok, hope this it
Quoting jtcash
Disliked
I use 2 different custom indicators in Metatrader. I would like different sounds for every indicator. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o></o>

If I program:<o></o>

PlaySound("alert.wav") for one and<o></o>

PlaySound("alert2.wav") for the other<o></o>

The program plays the same sound (the one I choose in Options/Events/Alert)<o></o>

Someone knows how to do it?<o></o>

Thank you,<o></o>
Ignored
He who can does-He who cannot teaches George Bernard Shaw
  • Post #8
  • Quote
  • Dec 27, 2006 3:46am Dec 27, 2006 3:46am
  •  Zeuzere
  • | Joined Oct 2006 | Status: Hum! I like trend | 217 Posts
in the Options/Events/Alert
the alert.wav is for the Alert pop-up, its not use for the programming side...

;) Sorry for my bad english translation :)
  • Post #9
  • Quote
  • Dec 27, 2006 3:51am Dec 27, 2006 3:51am
  •  jtcash
  • | Joined Oct 2006 | Status: Member | 10 Posts
Thank you trendlinesense<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o></o>

I know what you mean. I had the same problem, but i know how to choose the default sound.<o></o>

<o></o>

But, what i am trying to do is to program different sounds for different indicators.<o></o>
  • Post #10
  • Quote
  • Dec 27, 2006 3:55am Dec 27, 2006 3:55am
  •  jtcash
  • | Joined Oct 2006 | Status: Member | 10 Posts
Changed:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o></o>

<o> </o>

PlaySound("connect.wav")<o></o>

<o> </o>

It plays the sound I choose in Options/Events/Alert<o></o>
  • Post #11
  • Quote
  • Dec 27, 2006 4:22am Dec 27, 2006 4:22am
  •  Zeuzere
  • | Joined Oct 2006 | Status: Hum! I like trend | 217 Posts
So changed to PlaySound("connect.wav") and it play the same alert sound (the one in alert) ....

Hum....
Did you check if you have Error in the Terminal -> Expert tab ?
;) Sorry for my bad english translation :)
  • Post #12
  • Quote
  • Dec 27, 2006 4:27am Dec 27, 2006 4:27am
  •  Zeuzere
  • | Joined Oct 2006 | Status: Hum! I like trend | 217 Posts
By the way wich version you use of MT4? the most recent
;) Sorry for my bad english translation :)
  • Post #13
  • Quote
  • Dec 27, 2006 4:45am Dec 27, 2006 4:45am
  •  jtcash
  • | Joined Oct 2006 | Status: Member | 10 Posts
No errorsVersion 201
  • Post #14
  • Quote
  • Dec 27, 2006 4:52am Dec 27, 2006 4:52am
  •  Zeuzere
  • | Joined Oct 2006 | Status: Hum! I like trend | 217 Posts
- If you play "connect.wav" and it sound like "alert.wav"
- No error
- Most recent version of MT4
- You use PlaySound("xxx");


Then i really dont know...
Maybe try to install a second MT4(New install) and try the indicator on it.
If it work, you have a problem with your first install...
if not, then is a windows problem ;-) <- Probably not, just kidding

Ps.: I have one install that is unable to upgrade...The other can upgrade....
;) Sorry for my bad english translation :)
  • Post #15
  • Quote
  • Last Post: Jan 6, 2007 9:52pm Jan 6, 2007 9:52pm
  •  Bolt
  • | Joined Feb 2006 | Status: Member | 59 Posts
im sure alert1 and alert2 are system defaults you have to name to something else.

PlaySound("sell.wav"); is one of mine and the sound file MUST go in the sounds directory it wont work anywhere else nor a subdirectory. It works in all builds from about 196 to 201.

BTW rather the ding dong sounds you can record text to speech files so that the wav actually says something useful like "selling now" "stop hit" "buying now" etc rather then a chime.
  • Platform Tech
  • /
  • Different sounds for different kind of alerts
  • Reply to Thread
0 traders viewing now
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2021