PureBytes Links
Trading Reference Links
|
I wasn't aware of the "Next" keyword. That looks like it has
potential. I'll play around with it a bit.
Thanks,
Cash
Send reply to: <dave@xxxxxxxxxxx>
From: "Dave Nadeau" <dave_nadeau@xxxxxxxxx>
To: <cash@xxxxxxxxxxx>, <omega-list@xxxxxxxxxx>
Subject: RE: Buy this bar on OPEN?
Date sent: Sun, 12 Aug 2001 20:20:54 -0400
> Cash,
>
> Just move your perspective back one bar for your backtesting
> simulations:
>
> If Open of Next Bar < Close of Data2 then Buy("Long Open") at Open of
> Next Bar;
>
>
> ================
> Dave Nadeau
> Fort Collins, CO
>
> > > ----- Original Message -----
> > > From: <cash@xxxxxxxxxxx>
> > > To: <omega-list@xxxxxxxxxx>
> > > Sent: Sunday, August 12, 2001 6:40 PM
> > > Subject: Buy this bar on OPEN?
> > >
> > >
> > > : On a 1 minute chart, I need to be able to be on the
> > first bar of the day
> > > and if the opening price meets my criteria, I need to
> > place a buy order for
> > > the stock at that price.
> > > :
> > > : On this same chart, I also have the daily data of the
> > same symbol as data2
> > > :
> > > : If date <> date(1) then { it's start of the day }
> > > : begin
> > > : If (Open < Close(1) of Data2 - 1) then buy("Long Open")
> > at open of this
> > > bar;
> > > : end;
> > > :
> > > : But I don't think that works. The problem is that I
> > need to base my
> > > decision to buy on the opening on data that I won't know
> > until the opening.
> > > In the real world, my strategy for doing this would
> > obviously be different,
> > > but what I'm trying to do would
> > > : work for backtesting. Can anyone tell me what do I need to do to
> > > accomplish this objective?
> > > :
> > > : Thanks,
> > > :
> > > : Cash
> > > :
> > > :
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
"Buy Low, Sell High"
(If this statment is used for financial gain, I am entitled to 10% of all profits. ;) )
|