PureBytes Links
Trading Reference Links
|
You may try this one:
Cond = Cross( MA (Close, 10), MA(Close, 20) );
Cond1 = Cross( MA (Close, 20), MA(Close, 10) );
MA10 = MA( Close, 10 );
MA20 = MA( Close, 20 );
Crosses = Cross( MA10, MA20 ) OR Cross( MA20, MA10 ) ;
Buy = Cond;
Sell = Cond1;
Buy=ExRemSpan(Buy, 5);
Sell=ExRemSpan(Sell, 5);
AlertIf( Buy, "SOUND C:\\Windows\\Media\\Ding.wav", "Audio alert",
1 );
AlertIf( Sell, "SOUND C:\\Windows\\Media\\Ding.wav", "Audio alert",
2 );
Good luck,
Frank
--- In amibroker@xxxxxxxxxxxxxxx, "mravie7" <mravie7@xxx> wrote:
>
> Hi,
> I am using a simple formula of a moving average cross over for a 5
min
> chart. Now I have to physically look at the selected charts for the
day
> (max 5 in number)every now and then to see if signals have been
> generated for buy or sell.
> Request all to please help me and guide, as to how can an ALERT be
set
> which could scan all these scrips, which I put in watchlist for the
> day, and give an alert in the alert window with a little sound
effect.
> I tried reading the text for alerts in the users guide, but was
unable
> to perform the same.
> Can someone make it even simpler in describing it to me.
>
> Appreciate your help and time.
>
> Cheers
>
------------------------------------
**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
*********************
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
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/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|