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

Re: [amibroker] TrendLine Scanning: Far from satisfactory



PureBytes Links

Trading Reference Links

You do not give the studyID name to more than one line
Name them differently

I also assume that the lines existed across the bar you were scanning on.

-- 
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com

On 18/10/06, RajeevM <rajeevmundra@xxxxxxxxx> wrote:
>
> Further to previous email today I found one more issue.
>
>
> Setup 1.
> In a stock price chart (say ranbaxy) I drew a upper channel and gave STUDY
> ID as RE.
> Scan for trendline crack and I got the alert... (the name ranbaxy came
> up).
>
>
> Set Up 2.
> Draw any random line on the chart which doesnot cuts the price anywhere
> and give it studyID as RE.
> Next draw a upper channel (as in setup1) and gave STUDY ID as RE.
> Scan for trendline crack and I DONT get the result. (the name doesnot
> comes up)
>
> Does it means I would get result only with the frist drawn Trendline which
> is amrked as RE?
>
> Thomas or anyone who can guide on this?
> How can I get an alert for any trendline (amrked as RE) cross.. not just
> the one I drew first.
>
> Anyone faced this issue earlier?
>
> my afl for trendline scanning is this
> ===================
> ret = Study("RE", 1002);
>
> Buy   = Cross(C, ret);
> Sell  = Cross(ret,C);
>
> AlertIf(Buy,   "", "",1,1 );
> AlertIf(Sell,  "", "",2,1 );
>
> AlertIf( Buy , "SOUND C:\\Windows\\Media\\Ding.wav", "Audio alert", 1 );
> AlertIf( Sell, "SOUND C:\\WINDOWS\\Media\\ir_inter.wav", "Audio alert",
> 2);
> =====================
>
> regards
> Rajeev
>
> ---------- Forwarded message ----------
> From: RajeevM < rajeevmundra@xxxxxxxxx>
> Date: Oct 15, 2006 11:11 PM
> Subject: Re: TrendLine Scanning: Far from satisfactory
> To: amibroker@xxxxxxxxxxxxxxx
>
> One more thing I saw while scanning..
>
> when i select favorites only in filter I get my result..
> and when i select a watch list in the filter->inlude I get fewer
> results..(seems the result come only from the watch list)
>
> image attached.
> Is this some known issue which is resolved in latest versions?
>
> regards
> rajeev
>
> On 10/15/06, RajeevM < rajeevmundra@xxxxxxxxx> wrote:
> >
> > Anyone in this group uses Trendline scanning for real time alerts during
> > trading hours or after mkt hours?
> >
> > I face a lot of issues and inconsistent behaviour with TrendLine
> > scanning.
> >
> > Some issues:
> > 1. I have drawn trendlines across 75-100 charts, even then i get results
> > for only 1-2 stocks while I cna visually see 10-20 of then getting crossed.
> >
> > 2. To test what mistake i am making, I pick up one chart.. draw a line
> > which is cutting lastest 3-4 price candles .. mark as RE and then scan..
> > Gives No result.... and then I delete this line... draw one more line
> > and scan again.. I get the result or sometimes I dont get.
> > This is a little wierd..
> >
> > 3. Sometiems I get results even when I Dont visually see any lines on a
> > chart...!! Seems some previous drawn lines which are hidden now..??
> >
> > How can I make trendline working smoothly.
> > Anyone faced similar issues.. kindly share your experience.
> >
> >
> > my afl for Trendline scan is
> >
> > ===================
> > ret = Study("RE", 1002);
> >
> > Buy   = Cross(C, ret);
> > Sell  = Cross(ret,C);
> >
> > AlertIf(Buy,   "", "",1,1 );
> > AlertIf(Sell,  "", "",2,1 );
> >
> > AlertIf( Buy , "SOUND C:\\Windows\\Media\\Ding.wav", "Audio alert", 1 );
> > AlertIf( Sell, "SOUND C:\\WINDOWS\\Media\\ir_inter.wav", "Audio alert",
> > 2);
> > =====================
> >
> 
>
>

Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.27/517 - Release Date: 11/3/2006