--- In amibroker@xxxxxxxxxxxxxxx,
"Maurice Petterlin" <mozpet2001@xxx> wrote:
>
> --- In amibroker@xxxxxxxxxxxxxxx,
"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??