Your reading the old help file. New(er) syntax includes the chartID re = Study("RE", GetChartID() );
--- In amibroker@yahoogroups.com, "Mohammed" <[EMAIL PROTECTED]> wrote: > > Hi All, > > I draw my trend lien over the chart and assigned study ID "RE" for it. > then I wrote this code: > > buy = cross( close ,study( "RE" )); > > with bar reply I do some scan to see the formula result when the price > cross the trend line, but I didn't get any result for the scan? > > Any Suggestion Please. > > Regards. >