PureBytes Links
Trading Reference Links
|
Bryan, check the Settings (right hand side of the Automatic Analysis
window). The second box from the top on the left side can be set for
Long, Short, Long and Short. I think you want the last.
Have a good look at the settings window. There's a lot there to
digest.
b
--- In amibroker@xxxx, "Bryan Johnson" <bryan1@xxxx> wrote:
> Tomasz:
>
> I placed cover = buy;
> and short = sell;
> following the buy and sell lines and it gave me long results.
Where
> did I go wrong?
>
> Bryan
>
>
>
> --- In amibroker@xxxx, "Tomasz Janeczko" <amibroker@xxxx> wrote:
> > Hello,
> >
> > If you want to detect n-day trend in MACD() and Stoch
> > you might try something like this:
> >
> > n = 10; // you may change this as you want
> > buy = roc( macd(), n ) > 0 AND roc( stochd(), n ) > 0;
> > sell = roc( macd(), n ) < 0 AND roc( stochd(), n ) < 0;
> >
> > (for simplicity it is long only, for short add
> > cover = buy;
> > short = sell;
> > )
> >
> > Best regards,
> > Tomasz Janeczko
> > ===============
> > AmiBroker - the comprehensive share manager.
> > http://www.amibroker.com
> >
> >
> > ----- Original Message -----
> > From: "Bryan Johnson" <bryan1@xxxx>
> > To: <amibroker@xxxx>
> > Sent: Sunday, September 30, 2001 5:17 AM
> > Subject: [amibroker] Newbie
> >
> >
> > > Hi
> > >
> > > I'm new to Amibroker and have the demo version. I'd like to
know
> if
> > > there is a shortcut to testing out the scenario:
> > >
> > > When both the daily Macd and daily slow stochastic are going in
> the
> > > same direction, to trade in that direction.
> > >
> > > I'm not at all familiar with AFL. Any response is welcome.
> > >
> > > Bryan
> > >
> > >
> > >
> > >
> > >
> > > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> > >
> > >
> > >
|