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

Re: [amibroker] more on AlertIf . . .



PureBytes Links

Trading Reference Links

Hi Graham,

I finally got this to scan, but nothing plays, and two signals have
been triggered.  No sound output.

This brings up another unanswered question that I asked yesterday:
Does RealPlayer need to be open as well?  On my system, .wav files
are associated with RP.

Code as is now:

Cond1 = Sum( Cross(C, 1810) AND Name()=="8604-TSE",
BarsSince(DateNum() != Ref(DateNum(),-1)+1 )==1);

Cond2 = Sum( Cross(C, 3090) AND Name()=="8848-TSE",
BarsSince(DateNum() != Ref(DateNum(),-1)+1 )==1);

Cond3 = Sum( Cross(C, 6700) AND Name()=="9984-TSE",
BarsSince(DateNum() != Ref(DateNum(),-1)+1 )==1);

Cond4 = Sum( Cross(C, 2460) AND Name()=="9766-TSE",
BarsSince(DateNum() != Ref(DateNum(),-1)+1 )==1);

Cond5 = Sum( Cross(C, 1520) AND Name()=="7731-TSE",
BarsSince(DateNum() != Ref(DateNum(),-1)+1 )==1);

Cond6 = Sum( Cross(C, 4240) AND Name()=="6460-TSE",
BarsSince(DateNum() != Ref(DateNum(),-1)+1 )==1);

Cond7 = Sum( Cross(C, 865) AND Name()=="5016-TSE",
BarsSince(DateNum() != Ref(DateNum(),-1)+1 )==1);

Cond8 = Sum( Cross(C, 3025) AND Name()=="8263-TSE",
BarsSince(DateNum() != Ref(DateNum(),-1)+1 )==1);

Buy = ( Cond1 OR
Cond2 OR
Cond3 OR
Cond4 OR
Cond5 OR
Cond6 OR
Cond7 OR
Cond8);

AlertIf(Buy, "SOUND C:\\Windows\\Media\\Space SysStart.wav", "Audio alert", 1);



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.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/