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

RE: [amibroker] Re: An interesting Buy signal



PureBytes Links

Trading Reference Links

right, I'd say, at the point in the loop where x is 10 anyway. S2 is true if
all of the last x bars closed below the close of 3 days before.

it tries all x's from 5 to 20. a buy is issued when this signal transitions
from having been true to being false.

seems to catch a lot of nice short-term buys. misses some that look "bigger"
than ones it catches though. to put it differently, I might want to be long
if it was in a buy, but I wouldn't want to be short if it wasn't (:-).

we need the mathcing exit strategy!

dave


> Could you please paraphrase the following so I could understand it.
>
> S2=Sum(C<Ref(C,-3),10)==10
>
> I'm reading it as:  Lookback 10 bars and total all closes today that
> are less than the closes 3 days ago that are = to 10???
>
> TIA,
>
> Dominick
>
> > Here is a variation of
> > http://www.linnsoft.com/scans/tdSequentialSetup.htm
> > method.
> > The small hollow circles are used as warnings of the upcoming Buy
> signal, which comes as soon as the sequence is interrupted.
> > It seems interesting.
> >
> >
> > Plot(C,"C",colorBlack,64);Title=Name();
> > for(x=5;x<20;x++)
> > {
> > S2=Sum(C<Ref(C,-3),x)==x;
> > Buy=s2==0 AND Ref(s2,-1);
> > PlotShapes((shapeHollowSmallCircle+shapePositionAbove)*s2,x);
> > PlotShapes(shapeUpArrow*Buy,colorBrightGreen);
> > Title=Title+WriteIf(s2,"["+WriteVal(x,1.0)+"]","");
> > }


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/