PureBytes Links
Trading Reference Links
|
you might get some help if you posted your attempts at what you want
On 6/29/05, Qitrader <yiupang91@xxxxxxxxx> wrote:
> BUMP
>
> --- In amibroker@xxxxxxxxxxxxxxx, "Qitrader" <yiupang91@xxxx> wrote:
> > HI all,
> >
> > I'm new here and I would like to program a scan based on linear
> > regression channels posted at
> > http://www.amibroker.com/library/detail.php?id=438
> >
> > My scan is based on the following criteria.
> > LRL=linear regression line
> > LRC=linear regression channel
> >
> > For LONG scan:
> > 1) filter average volume (30 days) > 500000 (custom)
> > 2) ATR (15 days) > $.5 (custom)
> > 3) Week chart: slope of 23 week linear regression channel > 0
> >
> > day chart:
> > 4) 3-day linear regression line <= -1 standard deviations
> > 5) 3-day linear regression line turned up (current > previous bar)
> > 6) The slope of the 23-day linear regression channel > 0
> > 7) Width of the channel (from -1 s.d to +1 s.d) > $1
> >
> > The opposite for shorts
> >
> > I don't have a very strong background in programming and would like
> > some of you to help me out when you have a chance. I'm concentrating
> > on the long side part of the code. I think I can do the short side on
> > my own because it will just be the opposite.
> >
> > this is what i have so far:
> > Trend = IIf(SDU > Ref(SDU,-1);,"Up","Dn") ; // Determine if the 1st
> > Dev is up OR down by comparing the current point with one point ago,
> >
> > Buy = (Trend="Up") AND (Close < SDL) ; // Buy if trend is up and the
> > Close is less than the bottom line.
> >
> > THanks
> >
> > Qitrader
>
>
>
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
--
Cheers
Graham
http://e-wire.net.au/~eb_kavan/
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|