[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] using AlertIf() inside function



PureBytes Links

Trading Reference Links

Something like:

procedure SayBuy()
    {
    AlertIF( 1, "SOUND C:\\Windows\\Media\\SayBuy.wav", "Audio alert", 2 );
    }

So that i can call such voice commands with simple code, like SayBuy();

herman

  -----Original Message-----
  From: dingo [mailto:dingo@xxxxxxxxxxx]
  Sent: Friday, October 01, 2004 12:28 PM
  To: amibroker@xxxxxxxxxxxxxxx
  Subject: RE: [amibroker] using AlertIf() inside function


  I'm not understanding what you're after in your paragraph that begins
with:
  "Basically..." ??

  I've done a little work with Ara Kaloustian with a script he runs using
the
  Alertif.

  d


    _____

  From: Herman van den Bergen [mailto:psytek@xxxxxxxx]
  Sent: Friday, October 01, 2004 12:19 PM
  To: AmiBroker YahooGroups
  Subject: [amibroker] using AlertIf() inside function


  Can the AlertIf() be called from inside a function?  ...I can't seem to
get
  it going.

  The purpose is that i want to create a number of simple functions, like:

  Beep()        // sound a simple beep
  SayBuy()    // sound the word "Buy"
  SaySell()    // sound the word "Sell"
  etc.

  Basically i want to use the alert function as an external code launcher.
  There may be a simpler way, also execution of external code was covered on
  the list probably a number of times... just can't seem to find what i
want.

  any help would be appreciated!
  herman.


  [Non-text portions of this message have been removed]



  Check AmiBroker web page at:
  http://www.amibroker.com/

  Check group FAQ at:
  http://groups.yahoo.com/group/amibroker/files/groupfaq.html



  Yahoo! Groups Sponsor

  ADVERTISEMENT

  <http://us.ard.yahoo.com/SIG=12988ta27/M=295196.4901138.6071305.3001176/D=
gr
  oups/S=1705632198:HM/EXP=1096734051/A=2128215/R=0/SIG=10se96mf6/*http://co
mp
  anion.yahoo.com> click here

  <http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/
S=
  :HM/A=2128215/rand=978714442>


    _____

  Yahoo! Groups Links


  *      To visit your group on the web, go to:
  http://groups.yahoo.com/group/amibroker/


  *      To unsubscribe from this group, send an email to:
  amibroker-unsubscribe@xxxxxxxxxxxxxxx
  <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>


  *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
  <http://docs.yahoo.com/info/terms/> .




  [Non-text portions of this message have been removed]



  Check AmiBroker web page at:
  http://www.amibroker.com/

  Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html


        Yahoo! Groups Sponsor
              ADVERTISEMENT





----------------------------------------------------------------------------
--
  Yahoo! Groups Links

    a.. To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

    b.. To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/