Re: [amibroker] Simple Question : How do I specify the previous day's price

2006-04-05 Thread Tomas
>> > >> Buy = Ref(condition,-1); BuyPrice = O; > >> > >> SetChartOptions(0, chartShowDates); > >> Plot(C,"C",1,64); > >> PlotShapes(IIf(Buy,shapeUpArrow,0),colorWhite, layer = 0, yposition = > >> BuyPrice, offset = 0 );

Re: [amibroker] Simple Question : How do I specify the previous day's price

2006-04-05 Thread emp62
ot;C",1,64); PlotShapes(IIf(Buy,shapeUpArrow,0),colorWhite, layer = 0, yposition = BuyPrice, offset = 0 );           - Original Message - From: "Tomas" <[EMAIL PROTECTED]> To: <amibroker@yahoogroups.com> Sent: Wednesday, April 05, 2006 5:41 AM Subject: R

Re: [amibroker] Simple Question : How do I specify the previous day's price

2006-04-04 Thread Tomas
t;,1,64); > PlotShapes(IIf(Buy,shapeUpArrow,0),colorWhite, layer = 0, yposition = > BuyPrice, offset = 0 ); > > > rgds, Ed > > > - Original Message - > From: "Tomas" <[EMAIL PROTECTED]> > To: > Sent: Monday, April 03, 2006 1:43 AM >

Re: [amibroker] Simple Question : How do I specify the previous day's price

2006-04-04 Thread Tomasz Janeczko
, April 04, 2006 12:48 PM Subject: Re: [amibroker] Simple Question : How do I specify the previous day's price On Tuesday 04 April 2006 05:31 am, emp62 wrote:> you can code that like:>> condition = BarsSince( C > Ref(C,-1)) == 3 AND MA(V,3) < MA(V,50);>>

Re: [amibroker] Simple Question : How do I specify the previous day's price

2006-04-04 Thread Daniel LaLiberte
On Tuesday 04 April 2006 05:31 am, emp62 wrote: > you can code that like: > > condition = BarsSince( C > Ref(C,-1)) == 3 AND MA(V,3) < MA(V,50); > > Buy = Ref(condition,-1); BuyPrice = O; Ah ha! This is the proper way to buy at the Open price (O). This is what you want to do to simulate putti

Re: [amibroker] Simple Question : How do I specify the previous day's price

2006-04-04 Thread emp62
0 );     rgds, Ed     - Original Message - From: "Tomas" <[EMAIL PROTECTED]> To: <amibroker@yahoogroups.com> Sent: Monday, April 03, 2006 1:43 AM Subject: [amibroker] Simple Question : How do I specify the previous day's price > Hi,> > I just reg

[amibroker] Simple Question : How do I specify the previous day's price

2006-04-04 Thread Tomas
Hi, I just registered Amibroker a week ago, and in the process of testing out some of the features. I spent the last few hours trying to figure this issue out, but have no luck. This is a simple thing, but the array concept of AFL is a little confusing to me. My issue is that I want to write