switch( Name() )
{
case "BBI": Buy = Cross( C, 0.62 ); break;
case "CEY": Buy = Cross( C, 2.0 ); break;
case "COU": Buy = Cross( C, 1.06 ); break;
}
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "Chris" <[email protected]>
To: <[email protected]>
Sent: Thursday, April 02, 2009 1:00 PM
Subject: [amibroker] Formula Based Alerts
> Hi everyone I am totally illiterate when it comes to putting formula
> together. So can someone help me.
> I have put this together but I am only receiving an alert for the last line ,
> AMP. Can someone help please And is there a better
> and easer way of doing this
>
> Buy = Cross(C,062)AND Name ()=="BBI";
>
> Buy = Cross(C,2.00)AND Name ()=="CEY";
>
> Buy = Cross(C,1.06)AND Name ()=="COU";
>
> Buy = Cross(C,8.90)AND Name ()=="CTX";
>
> Buy = Cross(C,5.19)AND Name ()=="RMD";
>
> Buy=Cross(C,1.70)AND Name ()=="MAP";
>
> Buy = Cross(C,4.67)AND Name ()=="AMP";
>
> Thanks Chris
>
>
>
>
> ------------------------------------
>
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
>
> TO GET TECHNICAL SUPPORT send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> Yahoo! Groups Links
>
>
>