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

[amibroker] Re: Alert Help



PureBytes Links

Trading Reference Links

Hi Graham,

Thanks, that did the trick. I figured out that each pane has a
different chart ID and should I draw a trendline on any of those
charts on different sheets, I will need to modify my scan to look for
them.

Dave
--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxxx> wrote:
>
> In running an AA scan using trend line study you need to add the
> chartID to the study function so that AB knows which chart ot look for
> The chart ID appears in the param window - axes&grid - last row
> 
> study( STUDYID,  1024 )
> 
> 
> --
> Cheers
> Graham
> AB-Write >< Professional AFL Writing Service
> Yes, I write AFL code to your requirements
> http://e-wire.net.au/~eb_kavan/ab_write.htm
> 
> 
> On 1/29/06, marketmonk777 <dlittner@xxxx> wrote:
> > Hi folks,
> >
> > I must be doing something wrong and so simple to fix, but for the life
> > of me can't find where my error is.
> >
> > I have AB 4.76.0 and a TC2005 EOD DB.  I would like to run a scan
> > looking for trendline breaks against my watchlist #1 consisting of
> > 1000 or so Nasdaq stocks.
> >
> > What I did was to draw a few trendlines where the previous day's close
> > was below and this Friday's close was above.
> >
> > I then created the following test code:
> >
> > // Trendline Alerts
> > Buy = Cross( Close, Study( "MT" ));
> > Filter = Buy;
> > AlertIf( Buy, "", "TL BO", 1 );
> >
> > I have two trendlines drawn so far:
> > ABAX TL at $18.75 and
> > ADEX TL at $32.92
> > Both with "MT" labeled as the study ID
> >
> > My scan is set up in the filter to run against this watchlist and the
> > range is set to run against the last 1 days.
> >
> > From all that I have read in the help file as well as the old archive
> > of messages it appears that I am doing everything correctly.
> >
> > Dave
> >
> >
> > This
> >
> >
> >
> >
> >
> >
> > 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
> >
> >
> >
> >
> >
> >
> >
> >
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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/