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

Re: [amibroker] Intraday entries



PureBytes Links

Trading Reference Links

Mark,

No - to close short trade you are using "Cover" variable.
Ted is right: Sell = Low<Ref(Low,-1) ;

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Mark Allen" <mpa@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, April 19, 2002 4:43 AM
Subject: RE: [amibroker] Intraday entries


> Ted,
> 
> I initially thought the same, but isn't it correct for closing out a "short"
> trade?
> 
> Regards,
> 
> Mark
> 
> 
> > -----Original Message-----
> > From: Ted Chmilar [mailto:tchmilar@x...]
> > Sent: Friday, 19 April 2002 10:28 AM
> > To: amibroker@xxxxxxxxxxxxxxx
> > Subject: Re: [amibroker] Intraday entries
> >
> >
> > I would think that the sell statement should be... Sell =
> > Low<Ref(Low,-1) ;
> > Ted
> >
> > ----- Original Message -----
> > From: "Yarroll" <komin@xxxx>
> > To: <amibroker@xxxxxxxxxxxxxxx>
> > Sent: Thursday, April 18, 2002 5:15 PM
> > Subject: RE: [amibroker] Intraday entries
> >
> >
> > > Thanks Tomasz for the answer.
> > >
> > > I re-wrote the rules as you suggested... Unfortunately, the problem gets
> > even weirder :-((
> > > The formula now was:
> > > Buy = High > Ref(High,-1);
> > > Sell = Ref(Low,-1) < Low;
> > > Short = Sell;
> > > Cover = Buy;
> > >
> 
> <snip>
> 
> 
> 
> 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
>