PureBytes Links
Trading Reference Links
|
Since the "nine" or the "thirteen" TomDeMark rules are rare
the last year, I modified the system to detect sequences from 5 to
25.
Since in the shapeDigitX series we have X from 0 to 9, I
transferred the sequence counter on the title, b[X] for the buy
sequence
[small cycles below the chart] and s[X] for the sell
sequence [small cycles above the chart].
Buy/Sell signals are produced as soon as the sequence is
interrupted.
// Generalised Sequential buy/sell signals
<FONT
size=2>Plot(C,"C",colorBlack,64);Title=Name()+",";for(x=5;x<25;x++){
b2=Sum(C<Ref(C,-3),x)==x;Buy=b2==0 AND
Ref(b2,-1);PlotShapes((shapeHollowSmallCircle)*b2,x);PlotShapes(shapeUpArrow*Buy,colorBrightGreen);Title=Title+WriteIf(b2,"b["+WriteVal(x,1.0)+"]","");}for(x=5;x<25;x++){
S2=Sum(C>Ref(C,-3),x)==x;Sell=s2==0 AND
Ref(s2,-1);PlotShapes((shapeHollowSmallCircle+shapePositionAbove)*s2,x);PlotShapes(shapeDownArrow*Sell,colorRed);Title=Title+WriteIf(s2,"s["+WriteVal(x,1.0)+"]","");}GraphXSpace=2;
Starting x values below 5 will give more signals and should be
handled with care.
As mentioned in some previous message,
<A
href="">http://groups.yahoo.com/group/amibroker/message/46735 ,
Buy/Sell sequential signals can not give a stand alone trading
system, uniformly
profitable for extended [bullish and bearish] periods. They
can be used as low-risk entry/exit points in combination with
other technical informations.
Dimitris Tsokakis
Yahoo! Groups Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
Attachment:
Seq1.gif
Attachment:
Description: "Description: GIF image"
|