Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 05-10-2009, 06:21 AM   #33
aaa

aaa's Avatar

Join Date: Jun 2008
Location: Switzerland
Posts: 443
Ignore this user

Thanks: 240
Thanked 283 Times in 136 Posts

Re: Adding Sound to Your Indicator (EasyLanguage)

ThanX Tams

Am I on the right way like this or is there an other solution?

Should I create a // indicator which simulate my strategy with audio ?

Quote:
I'm wondering if a flag could be a solution
Am on the right way ?
flag = 0
if my.condition1 and flag = 0 and soundon <> 0 and play.once <> currentbar AND order.filled = false then
begin
Sell ("L1") 1 contracts this Bar ;
Vocal.S1 ;
play.once = currentbar;
flag = 1 ;
end;
if my.condition2 and flag=1 then
Sell ("L2") 1 contracts this Bar ;
flag = 2 ;
aaa is offline  
Reply With Quote
Old 05-10-2009, 07:58 AM   #34

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,474 Times in 912 Posts

Re: Adding Sound to Your Indicator (EasyLanguage)

Quote:
Originally Posted by aaa »
ThanX Tams
Am I on the right way like this or is there an other solution?
Should I create a // indicator which simulate my strategy with audio ?

you can always give it a try.
your computer should have plenty of power to handle this.
Tams is offline  
Reply With Quote

Reply

Tags
alert, easylanguage, playsound, sound, warning

Thread Tools
Display Modes Help Others By Rating This Thread
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

All times are GMT -4. The time now is 01:05 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.