I found this in the Amibroker knowledge base ( Ihaven't tried it)

 

http://www.amibroker.com/kb/index.php?s=trendline

 


Half way down the page look for heading  How to detect the study crossover
for multiple symbols with use of SCAN


Good luck,

 

Bruce

 

From: amibroker@yahoogroups.com [mailto:amibro...@yahoogroups.com] On Behalf
Of Maurice Petterlin
Sent: Friday, May 01, 2009 5:34 PM
To: amibroker@yahoogroups.com
Subject: [amibroker] Re: I'm give up with Study ID code, Please help..

 






--- In amibroker@yahoogroups.com <mailto:amibroker%40yahoogroups.com> ,
"Maurice Petterlin" <mozpet2...@...> wrote:
>
> --- In amibroker@yahoogroups.com <mailto:amibroker%40yahoogroups.com> ,
"Mohammed" <softnews2003@> wrote:
> >
> > Hi all,
> > 
> > I'm give up with this to code.
> > I'm trying to use Study ID with my chart, I have plot a trend lien over 
> > the chart and assign RE for it , after that I do scan for the breakout 
> > but it is not give any result. 
> > 
> > Yes I have some of my trend lines broken and It should be showing in my 
> > scan.
> > 
> > I'm using the following formula for my scan.
> > 
> > Buy = Cross( Close, Study( "RE" ) );
> > 
> > Please any one can help.
> > 
> > Regards
> >
> I was just wondering if you had your question answered as I'm having the
same problem. How do you scan for trendline breaks in Amibroker?
>
Unfortunately the example in the help file doesn't seem to work
(taken from the help file)
In this example we will detect if the closing price drops BELOW support
trend line. This is actually very simple:

sell = cross( study( "SU" ), close, GetChartID() );

So does the code work??



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.287 / Virus Database: 270.12.12/2090 - Release Date: 05/01/09
06:17:00

Reply via email to