View Single Post
  #505 (permalink)  
Old 04-11-2007, 05:33 PM
traden4x traden4x is offline
Member
 
Join Date: Dec 2005
Posts: 63
traden4x is on a distinguished road
Quote:
Originally Posted by traden4x
This price alert indicator I found somewhere here. Is it possible to make the alert.wav be setup like this? If you have say 6 different currency pairs with the alert attached to that the audible alert looks to the pair and a wav file is recorded for each pair. Then another wav file is recorded for say like "price breaking high". This would mean that when the alert is placed on gbpusd and the price is say exceeded then 2 or 3 wav files would play in sequential order sounding something like this, "GBPUSD" + "5min" + "price breaking high" this would then mean you would have to look at the alert and would know what chart to pull up. This may sound a little to much but I run 5 monitors and 30 charts that I am constantly trying to monitor.

One step further would be if it is possible to simply click on the line on the chart and drag it to update where the alert would sound. Don't know if that is possible or not.

Thanks for your help.
Traden
Hello,
In trying to make a multiple sound wav file or string, can I set up something like this?


if Symbol()="GBPUSD" PairWav="gbpusd.wav";
else if Symbol()="GBPJPY" PairWav="gbpjpy.wav";
else if Symbol()="USDJPY" PairWav="usdjpy.wav";
else PairWav="unknownpair.wav";

if Period()="1" PeriodWav="1min.wav";
else if Period()="5" PeriodWav="5min.wav";
else if Period()="15" PeriodWav="15min.wav";
else if Period()="30" PeriodWav="30min.wav";
else if Period()="60" PeriodWav="60min.wav";
else PeriodWav="unknownperiod.wav";

if Direction>0 DirectionWav="up.wav";
else if Direction<0 DirectionWav="down.wav";
else DirectionWav="flat.wav";

if (UseSoundAlert){
PlaySound(PairWav+PeriodWav+DirectionWav);
}

Would something like this work? If it won't, could someone point me in the correct direction in how to properly link together multiple wav files for one alert.

Thanks,
Traden
Reply With Quote