Page 1 of 1
tick sounds
Posted: 07 Aug 2006
by guest
Is there a way to cause the tick volume to make a sound? A click or something that would give volume flow info might be really annoying or useful to catch attention when volume picks up.
Thanks
Posted: 07 Aug 2006
by Stanley Miller
Just create a custom indicator and use Alert function for sounds. Something like:
plot1(volume);
if volume > 100 then
Alert( "Volume Picks Up" ) ;
Posted: 07 Aug 2006
by Guest
Just create a custom indicator and use Alert function for sounds. Something like:
plot1(volume);
if volume > 100 then
Alert( "Volume Picks Up" ) ;
Stanly,
Thanks. I don't know how to apply code like that. I was thinking more along the lines of every tick makes a click, the rate would give the aural volume flow. Does the alert show up on the screen? I would prefer not to have that.
guest
Posted: 07 Aug 2006
by Alex Kramer
You'll need to create an indicator - activate the PowerLanguage Editor (the button with a green F in the toolbar), create a new indicator in it, select a name for it, paste the code into the text field and press the F3 button to complile.
The code
plot1(volume);
if volume > 100 then
Alert( "Volume Picks Up" ) ;
does the following - if the value of the data series surpasses 100, an alert is triggered.
After this the new indicator will be accessible through the Add Study menu - add it to your chart, then right-click the chart background and select Format Studies. In the Alerts tab check Enable Alerts, select and assign a .wav file you'd like to use - find a "click" sound somewhere, and uncheck Visual Alert so the text message is not shown.
Posted: 07 Aug 2006
by Guest
Alex,
Thanks for the directions, it's "beeping" and as I predicted it is annoying, but it is information.
Is it possible to get a seperate sound for up and down volume? A high and low beep or click? What would a script for that look like, now that I know how to paste into the editor...
thanks so much for your response
Posted: 08 Aug 2006
by Alex Kramer
You can simply create two separate indicators, i.e. add another one that would read:
plot1(volume);
if volume < 50 then
Alert( "Volume Drops" ) ;
Create a study just as before (substitute 50 with a value that is meaningful for your case), save it under a different name and apply to the chart the same way; in the alert settings assign a different .wav file to it.