PureBytes Links
Trading Reference Links
|
Dimitri;
a. As I am a commodity trader, my market would be which ever I am
currently interested in.
my history would equal how many days I have in the data, or how
many days of past history I am testing.
b. if today is ( monday,tuesday,wednesday,thursday,friday), and the
(open,high,low,close) is (less than, equal to, greater than ),
yesterdays (open,high,low,close),or 2 days ago, 3 days ago,etc.
how many times has the following days close been (less than, equal
to, greater than )
example:
Market: Dec.2001 Cotton
History: 300 days of data ( could be any
number of days of
data I am
testing, example
30,60,90 etc.)
today is: Friday (could be any day)
yesterday: Thursday ( could be any day
previous, or number
of days previous)
Day for Observation: Monday ( could be any day after
today)
thank you
anthony
--- In amibroker@xxxx, "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxx> wrote:
> Anthony,
> There are two things arising from your question:
> a. The question for one stock and its past history.
> b. the question for one trading day and the whole market.
> Is it possible to explain which one you want to calculate?
>
> Dimitris Tsokakis
>
> --- In amibroker@xxxx, ajf1111@xxxx wrote:
> > 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
|