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

Re: [amibroker]explorations



PureBytes Links

Trading Reference Links

Anthony,

One way might be to use the following

buy = ref (c,1) > c > ref(c,-1);
sell = buy;

The quick report will list the number of trades which also equals the number
of occurences of the condition. An advantage to doing it this way is that
you can also use the arrows to point to the occurrences.

regards
Richard





----- Original Message -----
From: <ajf1111@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, July 27, 2001 9:30 AM
Subject: [amibroker]explorations


> Dear Dimitris;
>
> Several days ago you pointed me to several previous lists pertaing to
> doing an exploration.
>
> As I am new to amibroker and AFL coding, could you please help.
>
> My example is this: ( if today's close is ( higher or lower ) than
> yesterday's close, how many times has tomorrow's close been ( higher
> or lower ). This could also be expanded upon using points or
> percentage of previous close.
>
> Also, the Close could be expanded upon using ( open, high, low.)
>
>
> Could you please submit a sample code to perform the above task. and
> send a .gif attachement for viewing.
>
> Your help would be greatly appreciated. I am sure other members could
> benefit.
>
> Thank you
> Anthony
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>