PureBytes Links
Trading Reference Links
|
Thanks Paul
I knew it had to be simple.
--- In amibroker@xxxxxxxxxxxxxxx, "Paul Ho" <paultsho@xxx> wrote:
>
> E20 = ema(c, 20);
> E30 = ema(c, 30);
> E10 = ema(c, 10));
> buy = E10 > E20 and E20 > E30;
> sell = E10< E20 and E20 < E30;
>
>
> _____
>
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]
On Behalf
> Of booker_1324
> Sent: Friday, 17 November 2006 2:56 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: help for a simple formula
>
>
>
> Hi
> Can anyone write a buy and sell using 3 ema's....
> buy when 10 ema is above 20 ema and 20 ema is above 30 ema.
> sell when 10 ema is below 20 ema and 20 ema is below 30 ema.
> Thx
>
> --- In amibroker@xxxxxxxxx <mailto:amibroker%40yahoogroups.com>
ps.com,
> mohany1@ wrote:
> >
> > x = EMA(Close,20);
> > y = EMA(Close,50);
> >
> > Buy=Cross(x,y);
> > PlotShapes(shapeUpArrow*Buy,colorGreen);
> > Sell=Cross(y,x);
> > PlotShapes(shapeDownArrow*Sell,colorRed);
> > Plot(C,"Close",colorBlack, styleCandle);
> > -------------- Original message --------------
> > From: "mravie7" <mravie7@>
> > hi,
> > can anyone help me to write a simple formula.....
> > BUY WHEN 20 DAYS EMA LINE CROSSES OVER THE 50 DAYS EMA LINE AND
> > SELL WHEN 50 DAYS EMA CROSSES OVER THE 20 DAYS EMA LINE.
> >
> > thanks a lot
> >
>
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.11/542 - Release Date: 11/20/2006
|