| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #1 | ||
![]() | Adding Sound to Your Indicator (EasyLanguage) syntax: PlaySound Plays the specified wave (.wav) sound file. Usage PlaySound("PathFilename") Where: PathFilename - a string expression specifying the path and filename of the wave file to be played Example Play ding.wav sound file located in the root directory of the C: hard drive: PlaySound("C: \ding.wav"); source: EasyLanguage manual | ||
| |
|
| | #2 | ||
![]() | Re: Adding Sound to Your Indicator (EasyLanguage) If it is intrabar and works in signal , that's very interesting ![]() Because alert plays at the end of the bar... sometimes that's too late. And repeat is quite boring. | ||
| |
|
| | #3 | ||
![]() | Re: Adding Sound to Your Indicator (EasyLanguage) pls see attached. . | ||
| |
|
| The Following User Says Thank You to Tams For This Useful Post: | ||
aaa (05-06-2009) | ||
| | #4 | ||
![]() | Re: Adding Sound to Your Indicator (EasyLanguage) ![]() Stressing, specially now with a terribly bullish market (2.60 % and NY opens in 1 hour) This alert should be better if it starts only once in intrabar I will test your solution | ||
| |
|
| | #5 | ||
![]() | Re: Adding Sound to Your Indicator (EasyLanguage) ![]() The chart shows the end run of a huge wave Question = Could it be possible to cross the higher trendline ? The regression channel has the answer ? Market is like a donkey trying to reach the carot line | ||
| |
|
| | #6 | ||
![]() | Re: Adding Sound to Your Indicator (EasyLanguage) Quote:
I think there are already a few threads on that. but you can always start a new thread. ;-) | ||
| |
|
| | #7 | ||
![]() | Re: Adding Sound to Your Indicator (EasyLanguage) Code: // Alert
if Value1 > Value1[1] then
PlaySound("D:\MyPath\Audio\support 1 mn.wav");
// Alert( " Support" ); Quote:
support 1 mn support 1 mn support 1 mn support 1 mn support 1 mn support 1 mn support 1 mn support 1 mn support 1 mn support 1 mn support 1 mn support 1 mn support 1 mn support 1 mn support 1 mn support 1 mn support 1 mn support 1 mn support 1 mn support 1 mn... | ||
| |
|
| | #8 | ||
![]() | Re: Adding Sound to Your Indicator (EasyLanguage) because every time a tick came through, the conditional statement is evaluated. if the condition is true... then the Playsound statement is executed. to make the sound play once only, you have to add a few things... Code: input:
soundon(true);
var:
play.once(0);
if Value1 > Value1[1]
and soundon and play.once <> currentbar then
begin
playsound("C:\soundfiles\support 1 mn.wav");
play.once = currentbar;
end; | ||
| |
|
![]() |
| Tags |
| alert, easylanguage, playsound, sound, warning |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| EasyLanguage Indicator -- How Long (in Min) 1500 Tick Bar Took to Complete | Frank | Coding Forum | 3 | 03-16-2010 10:47 AM |
| [Site Update] Adding Images in Post - New Function | Soultrader | Announcements | 0 | 04-20-2009 05:05 AM |
| ADX Level Sound Alert Indicator for MT4 | snoman | Trading Indicators | 0 | 02-11-2009 05:04 AM |
| Hate to sound like a broken record | Don4 | Support Center | 24 | 06-26-2007 11:02 PM |